Lines Matching refs:sisfb_mode_idx

117 	sisfb_mode_idx		= -1;  in sisfb_setdefaultparms()
153 sisfb_mode_idx = DEFAULT_MODE; in sisfb_search_vesamode()
173 sisfb_mode_idx = i - 1; in sisfb_search_vesamode()
195 sisfb_mode_idx = DEFAULT_MODE; in sisfb_search_mode()
203 sisfb_mode_idx = DEFAULT_MODE; in sisfb_search_mode()
249 sisfb_mode_idx = i - 1; in sisfb_search_mode()
1226 old_mode = ivideo->sisfb_mode_idx; in sisfb_do_set_var()
1227 ivideo->sisfb_mode_idx = 0; in sisfb_do_set_var()
1229 while( (sisbios_mode[ivideo->sisfb_mode_idx].mode_no[0] != 0) && in sisfb_do_set_var()
1230 (sisbios_mode[ivideo->sisfb_mode_idx].xres <= var->xres) ) { in sisfb_do_set_var()
1231 if( (sisbios_mode[ivideo->sisfb_mode_idx].xres == var->xres) && in sisfb_do_set_var()
1232 (sisbios_mode[ivideo->sisfb_mode_idx].yres == var->yres) && in sisfb_do_set_var()
1233 (sisbios_mode[ivideo->sisfb_mode_idx].bpp == var->bits_per_pixel)) { in sisfb_do_set_var()
1234 ivideo->mode_no = sisbios_mode[ivideo->sisfb_mode_idx].mode_no[ivideo->mni]; in sisfb_do_set_var()
1238 ivideo->sisfb_mode_idx++; in sisfb_do_set_var()
1242 ivideo->sisfb_mode_idx = sisfb_validate_mode(ivideo, in sisfb_do_set_var()
1243 ivideo->sisfb_mode_idx, ivideo->currentvbflags); in sisfb_do_set_var()
1245 ivideo->sisfb_mode_idx = -1; in sisfb_do_set_var()
1248 if(ivideo->sisfb_mode_idx < 0) { in sisfb_do_set_var()
1251 ivideo->sisfb_mode_idx = old_mode; in sisfb_do_set_var()
1255 ivideo->mode_no = sisbios_mode[ivideo->sisfb_mode_idx].mode_no[ivideo->mni]; in sisfb_do_set_var()
1257 if(sisfb_search_refresh_rate(ivideo, ivideo->refresh_rate, ivideo->sisfb_mode_idx) == 0) { in sisfb_do_set_var()
1258 ivideo->rate_idx = sisbios_mode[ivideo->sisfb_mode_idx].rate_idx; in sisfb_do_set_var()
1284 ivideo->video_bpp = sisbios_mode[ivideo->sisfb_mode_idx].bpp; in sisfb_do_set_var()
1285 ivideo->video_width = sisbios_mode[ivideo->sisfb_mode_idx].xres; in sisfb_do_set_var()
1286 ivideo->video_height = sisbios_mode[ivideo->sisfb_mode_idx].yres; in sisfb_do_set_var()
3633 cr33 |= (sisbios_mode[ivideo->sisfb_mode_idx].rate_idx << 4); in sisfb_pre_setmode()
5911 ivideo->sisfb_mode_idx = sisfb_mode_idx; in sisfb_probe()
6170 if((ivideo->sisfb_mode_idx < 0) || in sisfb_probe()
6171 ((sisbios_mode[ivideo->sisfb_mode_idx].mode_no[ivideo->mni]) != 0xFF)) { in sisfb_probe()
6286 if((ivideo->sisfb_mode_idx < 0) || in sisfb_probe()
6287 ((sisbios_mode[ivideo->sisfb_mode_idx].mode_no[ivideo->mni]) != 0xFF)) { in sisfb_probe()
6346 if(ivideo->sisfb_mode_idx >= 0) { in sisfb_probe()
6347 int bu = ivideo->sisfb_mode_idx; in sisfb_probe()
6348 ivideo->sisfb_mode_idx = sisfb_validate_mode(ivideo, in sisfb_probe()
6349 ivideo->sisfb_mode_idx, ivideo->currentvbflags); in sisfb_probe()
6350 if(bu != ivideo->sisfb_mode_idx) { in sisfb_probe()
6358 if(ivideo->sisfb_mode_idx < 0) { in sisfb_probe()
6361 ivideo->sisfb_mode_idx = ivideo->lcddefmodeidx; in sisfb_probe()
6364 ivideo->sisfb_mode_idx = ivideo->tvdefmodeidx; in sisfb_probe()
6367 ivideo->sisfb_mode_idx = ivideo->defmodeidx; in sisfb_probe()
6372 ivideo->mode_no = sisbios_mode[ivideo->sisfb_mode_idx].mode_no[ivideo->mni]; in sisfb_probe()
6376 ivideo->sisfb_mode_idx); in sisfb_probe()
6380 ivideo->rate_idx = sisbios_mode[ivideo->sisfb_mode_idx].rate_idx; in sisfb_probe()
6386 ivideo->sisfb_mode_idx, in sisfb_probe()
6394 ivideo->video_bpp = sisbios_mode[ivideo->sisfb_mode_idx].bpp; in sisfb_probe()
6395 ivideo->video_width = sisbios_mode[ivideo->sisfb_mode_idx].xres; in sisfb_probe()
6396 ivideo->video_height = sisbios_mode[ivideo->sisfb_mode_idx].yres; in sisfb_probe()