Lines Matching refs:mode_table
168 vbios_mode * mode_table;
304 if (map->mode_table[i].resolution <= r1) {
305 r1 = map->mode_table[i].resolution;
306 } else if (map->mode_table[i].resolution <= r2) {
307 r2 = map->mode_table[i].resolution;
395 while (p < limit && map->mode_table == 0) {
401 map->mode_table = mode_ptr;
407 if (map->mode_table == 0) {
420 vbios_mode * mode_ptr = map->mode_table;
446 debug("Mode Table Offset: $C0000 + $%x\r\n", ((unsigned int)map->mode_table) - ((unsigned int)map->bios_ptr));
541 vbios_resolution_type1 * res = map_type1_resolution(map, map->mode_table[i].resolution);
547 debug("Mode %02x : %dx%d, %d bits/pixel\r\n", map->mode_table[i].mode, x, y, map->mode_table[i].bits_per_pixel);
552 debug("Mode %02x (raw) :\r\n\t%02x %02x\r\n\t%02x\r\n\t%02x\r\n\t%02x\r\n\t%02x\r\n\t%02x\r\n\t%02x\r\n", map->mode_table[i].mode, res->unknow1[0],res->unknow1[1], res->x1,res->x_total,res->x2,res->y1,res->y_total,res->y2);
559 vbios_resolution_type2 * res = map_type2_resolution(map, map->mode_table[i].resolution);
565 debug("Mode %02x : %dx%d, %d bits/pixel\r\n", map->mode_table[i].mode, x, y, map->mode_table[i].bits_per_pixel);
571 vbios_resolution_type3 * res = map_type3_resolution(map, map->mode_table[i].resolution);
577 debug("Mode %02x : %dx%d, %d bits/pixel\r\n", map->mode_table[i].mode, x, y, map->mode_table[i].bits_per_pixel);
617 if (map->mode_table[i].mode == mode) {
621 vbios_resolution_type1 * res = map_type1_resolution(map, map->mode_table[i].resolution);
627 map->mode_table[i].bits_per_pixel = bp;
659 vbios_resolution_type2 * res = map_type2_resolution(map, map->mode_table[i].resolution);
695 vbios_resolution_type3 * res = map_type3_resolution(map, map->mode_table[i].resolution);
750 ((unsigned int)map->mode_table) - ((unsigned int)map->bios_ptr));