Searched refs:mode_idx (Results 1 – 8 of 8) sorted by relevance
/drivers/staging/xgifb/ |
D | XGI_main_26.c | 269 xgifb_info->mode_idx = i; in XGIfb_search_mode() 289 xgifb_info->mode_idx = i; in XGIfb_search_vesamode() 549 xres = XGIbios_mode[xgifb_info->mode_idx].xres; in XGIfb_search_refresh_rate() 550 yres = XGIbios_mode[xgifb_info->mode_idx].yres; in XGIfb_search_refresh_rate() 967 old_mode = xgifb_info->mode_idx; in XGIfb_do_set_var() 968 xgifb_info->mode_idx = 0; in XGIfb_do_set_var() 970 while ((XGIbios_mode[xgifb_info->mode_idx].mode_no != 0) && in XGIfb_do_set_var() 971 (XGIbios_mode[xgifb_info->mode_idx].xres <= var->xres)) { in XGIfb_do_set_var() 972 if ((XGIbios_mode[xgifb_info->mode_idx].xres == var->xres) && in XGIfb_do_set_var() 973 (XGIbios_mode[xgifb_info->mode_idx].yres == var->yres) && in XGIfb_do_set_var() [all …]
|
D | XGIfb.h | 57 int mode_idx; member
|
/drivers/gpu/drm/sti/ |
D | sti_hda.c | 376 u32 val, i, mode_idx; in sti_hda_pre_enable() local 392 if (!hda_get_mode_idx(hda->mode, &mode_idx)) { in sti_hda_pre_enable() 397 switch (hda_supported_modes[mode_idx].vid_cat) { in sti_hda_pre_enable() 424 DRM_DEBUG_DRIVER("Using HDA mode #%d\n", mode_idx); in sti_hda_pre_enable() 451 sti_hda_configure_awg(hda, hda_supported_modes[mode_idx].awg_instr, in sti_hda_pre_enable() 452 hda_supported_modes[mode_idx].nb_instr); in sti_hda_pre_enable() 467 u32 mode_idx; in sti_hda_set_mode() local 475 if (!hda_get_mode_idx(hda->mode, &mode_idx)) { in sti_hda_set_mode() 480 switch (hda_supported_modes[mode_idx].vid_cat) { in sti_hda_set_mode()
|
/drivers/gpu/drm/i915/ |
D | dvo_ns2501.c | 554 int mode_idx, i; in ns2501_mode_set() local 591 mode_idx = MODE_640x480; in ns2501_mode_set() 593 mode_idx = MODE_800x600; in ns2501_mode_set() 595 mode_idx = MODE_1024x768; in ns2501_mode_set() 609 conf = ns2501_modes + mode_idx; in ns2501_mode_set()
|
/drivers/video/fbdev/omap2/omapfb/ |
D | omapfb-ioctl.c | 528 int mode_idx = mode->mode_idx; in omapfb_get_ovl_colormode() local 539 mode_idx = mode->mode_idx; in omapfb_get_ovl_colormode() 552 mode_idx--; in omapfb_get_ovl_colormode() 553 if (mode_idx < 0) in omapfb_get_ovl_colormode()
|
/drivers/gpu/drm/ |
D | drm_edid.c | 2681 u8 mode_idx = drm_match_cea_mode(mode) - 1; in add_alternate_cea_modes() local 2684 if (mode_idx < ARRAY_SIZE(edid_cea_modes)) { in add_alternate_cea_modes() 2685 cea_mode = &edid_cea_modes[mode_idx]; in add_alternate_cea_modes() 2688 mode_idx = drm_match_hdmi_mode(mode) - 1; in add_alternate_cea_modes() 2689 if (mode_idx < ARRAY_SIZE(edid_4k_modes)) { in add_alternate_cea_modes() 2690 cea_mode = &edid_4k_modes[mode_idx]; in add_alternate_cea_modes() 3138 u8 mode_idx; in fixup_detailed_cea_mode_clock() local 3141 mode_idx = drm_match_cea_mode(mode) - 1; in fixup_detailed_cea_mode_clock() 3142 if (mode_idx < ARRAY_SIZE(edid_cea_modes)) { in fixup_detailed_cea_mode_clock() 3144 cea_mode = &edid_cea_modes[mode_idx]; in fixup_detailed_cea_mode_clock() [all …]
|
/drivers/video/fbdev/sis/ |
D | sis_main.c | 557 int mode_idx, int rate_idx, int rate) in sisfb_verify_rate() argument 565 if(mode_idx < 0) in sisfb_verify_rate() 569 switch(sisbios_mode[mode_idx].mode_no[ivideo->mni]) { in sisfb_verify_rate() 593 sisbios_mode[mode_idx].mode_no[ivideo->mni], in sisfb_verify_rate() 680 sisfb_search_refresh_rate(struct sis_video_info *ivideo, unsigned int rate, int mode_idx) in sisfb_search_refresh_rate() argument 683 u16 xres = sisbios_mode[mode_idx].xres; in sisfb_search_refresh_rate() 684 u16 yres = sisbios_mode[mode_idx].yres; in sisfb_search_refresh_rate()
|
/drivers/video/fbdev/ |
D | uvesafb.c | 941 int i = par->mode_idx; in uvesafb_setpalette() 1312 par->mode_idx = i; in uvesafb_set_par()
|