Lines Matching defs:hdl_this_data
113 dmdata_t *hdl_this_data;
1248 hdl_this_data = &hires_dlace_mode_data;
1250 memset(hdl_this_data, 0, sizeof(dmdata_t));
1255 hdl_this_data->max_size.width = 724;
1256 hdl_this_data->max_size.height = 800;
1257 hdl_this_data->min_size.width = 320;
1258 hdl_this_data->min_size.height = 400;
1259 hdl_this_data->min_depth = 1;
1260 hdl_this_data->max_depth = 2;
1261 hdl_this->data = hdl_this_data;
1267 hdl_this_data->use_colormap = cc_a2024_use_colormap;
1268 hdl_this_data->get_colormap = cc_a2024_get_colormap;
1269 hdl_this_data->alloc_colormap = cc_a2024_alloc_colormap;
1270 hdl_this_data->display_view = display_hires_dlace_view;
1271 hdl_this_data->monitor = cc_monitor;
1273 hdl_this_data->flags |= DMF_INTERLACE;
1275 hdl_this_data->frames = hires_dlace_frames;
1276 hdl_this_data->frames[F_LACE_LONG] =
1278 if (!hdl_this_data->frames[F_LACE_LONG]) {
1281 hdl_this_data->frames[F_LACE_SHORT] =
1282 &hdl_this_data->frames[F_LACE_LONG][len];
1283 hdl_this_data->frames[F_LACE_STORE_LONG] =
1284 &hdl_this_data->frames[F_LACE_SHORT][len];
1285 hdl_this_data->frames[F_LACE_STORE_SHORT] =
1286 &hdl_this_data->frames[F_LACE_STORE_LONG][len];
1289 hdl_this_data->frames[F_LACE_STORE_LONG],
1292 hdl_this_data->frames[F_LACE_STORE_SHORT],
1295 hdl_this_data->frames[F_LACE_LONG],
1298 hdl_this_data->frames[F_LACE_SHORT],
1301 hdl_this_data->bplcon0 = 0x8204 | USE_CON3; /* hires, color
1304 hdl_this_data->std_start_x = STANDARD_VIEW_X;
1305 hdl_this_data->std_start_y = STANDARD_VIEW_Y;
1306 hdl_this_data->vbl_handler =
1309 hdl_this_data->beamcon0 = STANDARD_NTSC_BEAMCON;
1319 if (hdl_this_data->current_view != v) {
1321 cop_t *cp = hdl_this_data->frames[F_LACE_STORE_LONG], *tmp;
1337 x = v->display.x + hdl_this_data->std_start_x - ((w - 640) >> 2);
1338 y = v->display.y + hdl_this_data->std_start_y - ((h - 800) >> 3);
1375 if (hdl_this_data->current_view) {
1376 VDATA(hdl_this_data->current_view)->flags &=
1379 hdl_this_data->current_view = v;
1381 cp = hdl_this_data->frames[F_LACE_STORE_LONG];
1390 tmp->cp.inst.operand = hdl_this_data->beamcon0;
1396 hdl_this_data->bplcon0 | ((depth & 0x7) << 13); /* times two. */
1440 HIADDR(PREP_DMA_MEM(hdl_this_data->frames[F_LACE_STORE_SHORT]));
1442 LOADDR(PREP_DMA_MEM(hdl_this_data->frames[F_LACE_STORE_SHORT]));
1444 bcopy(hdl_this_data->frames[F_LACE_STORE_LONG],
1445 hdl_this_data->frames[F_LACE_STORE_SHORT],
1449 cp = hdl_this_data->frames[F_LACE_STORE_SHORT];
1473 HIADDR(PREP_DMA_MEM(hdl_this_data->frames[F_LACE_STORE_LONG]));
1475 LOADDR(PREP_DMA_MEM(hdl_this_data->frames[F_LACE_STORE_LONG]));
1477 cp = hdl_this_data->frames[F_LACE_LONG];
1478 hdl_this_data->frames[F_LACE_LONG] =
1479 hdl_this_data->frames[F_LACE_STORE_LONG];
1480 hdl_this_data->frames[F_LACE_STORE_LONG] = cp;
1482 cp = hdl_this_data->frames[F_LACE_SHORT];
1483 hdl_this_data->frames[F_LACE_SHORT] =
1484 hdl_this_data->frames[F_LACE_STORE_SHORT];
1485 hdl_this_data->frames[F_LACE_STORE_SHORT] = cp;