sisfb_vrate 724 drivers/video/fbdev/sis/sis_main.c while((sisfb_vrate[i].idx != 0) && (sisfb_vrate[i].xres <= xres)) { sisfb_vrate 725 drivers/video/fbdev/sis/sis_main.c if((sisfb_vrate[i].xres == xres) && (sisfb_vrate[i].yres == yres)) { sisfb_vrate 726 drivers/video/fbdev/sis/sis_main.c if(sisfb_vrate[i].refresh == rate) { sisfb_vrate 727 drivers/video/fbdev/sis/sis_main.c ivideo->rate_idx = sisfb_vrate[i].idx; sisfb_vrate 729 drivers/video/fbdev/sis/sis_main.c } else if(sisfb_vrate[i].refresh > rate) { sisfb_vrate 730 drivers/video/fbdev/sis/sis_main.c if((sisfb_vrate[i].refresh - rate) <= 3) { sisfb_vrate 732 drivers/video/fbdev/sis/sis_main.c rate, sisfb_vrate[i].refresh); sisfb_vrate 733 drivers/video/fbdev/sis/sis_main.c ivideo->rate_idx = sisfb_vrate[i].idx; sisfb_vrate 734 drivers/video/fbdev/sis/sis_main.c ivideo->refresh_rate = sisfb_vrate[i].refresh; sisfb_vrate 735 drivers/video/fbdev/sis/sis_main.c } else if((sisfb_vrate[i].idx != 1) && sisfb_vrate 736 drivers/video/fbdev/sis/sis_main.c ((rate - sisfb_vrate[i-1].refresh) <= 2)) { sisfb_vrate 738 drivers/video/fbdev/sis/sis_main.c rate, sisfb_vrate[i-1].refresh); sisfb_vrate 739 drivers/video/fbdev/sis/sis_main.c ivideo->rate_idx = sisfb_vrate[i-1].idx; sisfb_vrate 740 drivers/video/fbdev/sis/sis_main.c ivideo->refresh_rate = sisfb_vrate[i-1].refresh; sisfb_vrate 743 drivers/video/fbdev/sis/sis_main.c } else if((rate - sisfb_vrate[i].refresh) <= 2) { sisfb_vrate 745 drivers/video/fbdev/sis/sis_main.c rate, sisfb_vrate[i].refresh); sisfb_vrate 746 drivers/video/fbdev/sis/sis_main.c ivideo->rate_idx = sisfb_vrate[i].idx; sisfb_vrate 402 drivers/video/fbdev/sis/sis_main.h } sisfb_vrate[] = {