search_idx       1469 drivers/video/fbdev/sis/sis_main.c 	int refresh_rate, search_idx, tidx;
search_idx       1495 drivers/video/fbdev/sis/sis_main.c 	search_idx = 0;
search_idx       1496 drivers/video/fbdev/sis/sis_main.c 	while( (sisbios_mode[search_idx].mode_no[0] != 0) &&
search_idx       1497 drivers/video/fbdev/sis/sis_main.c 	       (sisbios_mode[search_idx].xres <= var->xres) ) {
search_idx       1498 drivers/video/fbdev/sis/sis_main.c 		if( (sisbios_mode[search_idx].xres == var->xres) &&
search_idx       1499 drivers/video/fbdev/sis/sis_main.c 		    (sisbios_mode[search_idx].yres == var->yres) &&
search_idx       1500 drivers/video/fbdev/sis/sis_main.c 		    (sisbios_mode[search_idx].bpp == var->bits_per_pixel)) {
search_idx       1501 drivers/video/fbdev/sis/sis_main.c 			if((tidx = sisfb_validate_mode(ivideo, search_idx,
search_idx       1504 drivers/video/fbdev/sis/sis_main.c 				search_idx = tidx;
search_idx       1508 drivers/video/fbdev/sis/sis_main.c 		search_idx++;
search_idx       1512 drivers/video/fbdev/sis/sis_main.c 		search_idx = 0;
search_idx       1513 drivers/video/fbdev/sis/sis_main.c 		while(sisbios_mode[search_idx].mode_no[0] != 0) {
search_idx       1514 drivers/video/fbdev/sis/sis_main.c 		   if( (var->xres <= sisbios_mode[search_idx].xres) &&
search_idx       1515 drivers/video/fbdev/sis/sis_main.c 		       (var->yres <= sisbios_mode[search_idx].yres) &&
search_idx       1516 drivers/video/fbdev/sis/sis_main.c 		       (var->bits_per_pixel == sisbios_mode[search_idx].bpp) ) {
search_idx       1517 drivers/video/fbdev/sis/sis_main.c 			if((tidx = sisfb_validate_mode(ivideo,search_idx,
search_idx       1520 drivers/video/fbdev/sis/sis_main.c 				search_idx = tidx;
search_idx       1524 drivers/video/fbdev/sis/sis_main.c 		   search_idx++;
search_idx       1530 drivers/video/fbdev/sis/sis_main.c 				sisbios_mode[search_idx].xres,
search_idx       1531 drivers/video/fbdev/sis/sis_main.c 				sisbios_mode[search_idx].yres,
search_idx       1533 drivers/video/fbdev/sis/sis_main.c 			var->xres = sisbios_mode[search_idx].xres;
search_idx       1534 drivers/video/fbdev/sis/sis_main.c 			var->yres = sisbios_mode[search_idx].yres;
search_idx       1560 drivers/video/fbdev/sis/sis_main.c 		if(ivideo->sisfb_lastrates[sisbios_mode[search_idx].mode_no[ivideo->mni]]) {
search_idx       1562 drivers/video/fbdev/sis/sis_main.c 				ivideo->sisfb_lastrates[sisbios_mode[search_idx].mode_no[ivideo->mni]];
search_idx       1582 drivers/video/fbdev/sis/sis_main.c 	myrateindex = sisfb_search_refresh_rate(ivideo, refresh_rate, search_idx);
search_idx       1586 drivers/video/fbdev/sis/sis_main.c 		if(!myrateindex) myrateindex = sisbios_mode[search_idx].rate_idx;
search_idx       1588 drivers/video/fbdev/sis/sis_main.c 						sisbios_mode[search_idx].mode_no[ivideo->mni],
search_idx       1591 drivers/video/fbdev/sis/sis_main.c 					sisbios_mode[search_idx].mode_no[ivideo->mni],
search_idx       1599 drivers/video/fbdev/sis/sis_main.c 		if(!sisfb_verify_rate(ivideo, &ivideo->sisfb_thismonitor, search_idx,