Home
last modified time | relevance | path

Searched refs:mode_idx (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/drivers/staging/xgifb/
DXGI_main_26.c267 xgifb_info->mode_idx = i; in XGIfb_search_mode()
287 xgifb_info->mode_idx = i; in XGIfb_search_vesamode()
543 xres = XGIbios_mode[xgifb_info->mode_idx].xres; in XGIfb_search_refresh_rate()
544 yres = XGIbios_mode[xgifb_info->mode_idx].yres; in XGIfb_search_refresh_rate()
942 old_mode = xgifb_info->mode_idx; in XGIfb_do_set_var()
943 xgifb_info->mode_idx = 0; in XGIfb_do_set_var()
945 while ((XGIbios_mode[xgifb_info->mode_idx].mode_no != 0) && in XGIfb_do_set_var()
946 (XGIbios_mode[xgifb_info->mode_idx].xres <= var->xres)) { in XGIfb_do_set_var()
947 if ((XGIbios_mode[xgifb_info->mode_idx].xres == var->xres) && in XGIfb_do_set_var()
948 (XGIbios_mode[xgifb_info->mode_idx].yres == var->yres) && in XGIfb_do_set_var()
[all …]
DXGIfb.h58 int mode_idx; member
/Linux-v4.19/drivers/gpu/drm/sti/
Dsti_hda.c424 u32 val, i, mode_idx; in sti_hda_pre_enable() local
440 if (!hda_get_mode_idx(hda->mode, &mode_idx)) { in sti_hda_pre_enable()
445 switch (hda_supported_modes[mode_idx].vid_cat) { in sti_hda_pre_enable()
472 DRM_DEBUG_DRIVER("Using HDA mode #%d\n", mode_idx); in sti_hda_pre_enable()
499 sti_hda_configure_awg(hda, hda_supported_modes[mode_idx].awg_instr, in sti_hda_pre_enable()
500 hda_supported_modes[mode_idx].nb_instr); in sti_hda_pre_enable()
515 u32 mode_idx; in sti_hda_set_mode() local
523 if (!hda_get_mode_idx(hda->mode, &mode_idx)) { in sti_hda_set_mode()
528 switch (hda_supported_modes[mode_idx].vid_cat) { in sti_hda_set_mode()
/Linux-v4.19/drivers/gpu/drm/i915/
Ddvo_ns2501.c554 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()
/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/
Domapfb-ioctl.c528 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()
/Linux-v4.19/include/video/
Duvesafb.h136 int mode_idx; member
/Linux-v4.19/include/uapi/linux/
Domapfb.h191 __u8 mode_idx; member
/Linux-v4.19/drivers/video/fbdev/sis/
Dsis_main.c608 int mode_idx, int rate_idx, int rate) in sisfb_verify_rate() argument
616 if(mode_idx < 0) in sisfb_verify_rate()
620 switch(sisbios_mode[mode_idx].mode_no[ivideo->mni]) { in sisfb_verify_rate()
644 sisbios_mode[mode_idx].mode_no[ivideo->mni], in sisfb_verify_rate()
731 sisfb_search_refresh_rate(struct sis_video_info *ivideo, unsigned int rate, int mode_idx) in sisfb_search_refresh_rate() argument
734 u16 xres = sisbios_mode[mode_idx].xres; in sisfb_search_refresh_rate()
735 u16 yres = sisbios_mode[mode_idx].yres; in sisfb_search_refresh_rate()
/Linux-v4.19/drivers/video/fbdev/
Duvesafb.c927 int i = par->mode_idx; in uvesafb_setpalette()
1297 par->mode_idx = i; in uvesafb_set_par()