Searched refs:mode_idx (Results 1 – 8 of 8) sorted by relevance
| /Linux-v5.4/drivers/gpu/drm/sti/ |
| D | sti_hda.c | 428 u32 val, i, mode_idx; in sti_hda_pre_enable() local 444 if (!hda_get_mode_idx(hda->mode, &mode_idx)) { in sti_hda_pre_enable() 449 switch (hda_supported_modes[mode_idx].vid_cat) { in sti_hda_pre_enable() 476 DRM_DEBUG_DRIVER("Using HDA mode #%d\n", mode_idx); in sti_hda_pre_enable() 503 sti_hda_configure_awg(hda, hda_supported_modes[mode_idx].awg_instr, in sti_hda_pre_enable() 504 hda_supported_modes[mode_idx].nb_instr); in sti_hda_pre_enable() 519 u32 mode_idx; in sti_hda_set_mode() local 527 if (!hda_get_mode_idx(hda->mode, &mode_idx)) { in sti_hda_set_mode() 532 switch (hda_supported_modes[mode_idx].vid_cat) { in sti_hda_set_mode()
|
| /Linux-v5.4/sound/soc/codecs/ |
| D | rt1011.c | 1127 unsigned int i, mode_idx = 0; in rt1011_bq_drc_coeff_get() local 1130 mode_idx = RT1011_ADVMODE_INITIAL_SET; in rt1011_bq_drc_coeff_get() 1132 mode_idx = RT1011_ADVMODE_SEP_BQ_COEFF; in rt1011_bq_drc_coeff_get() 1134 mode_idx = RT1011_ADVMODE_EQ_BQ_COEFF; in rt1011_bq_drc_coeff_get() 1136 mode_idx = RT1011_ADVMODE_BQ_UI_COEFF; in rt1011_bq_drc_coeff_get() 1138 mode_idx = RT1011_ADVMODE_SMARTBOOST_COEFF; in rt1011_bq_drc_coeff_get() 1143 ucontrol->id.name, mode_idx); in rt1011_bq_drc_coeff_get() 1144 bq_drc_info = rt1011->bq_drc_params[mode_idx]; in rt1011_bq_drc_coeff_get() 1164 unsigned int i, mode_idx = 0; in rt1011_bq_drc_coeff_put() local 1170 mode_idx = RT1011_ADVMODE_INITIAL_SET; in rt1011_bq_drc_coeff_put() [all …]
|
| /Linux-v5.4/drivers/gpu/drm/i915/display/ |
| D | dvo_ns2501.c | 555 int mode_idx, i; in ns2501_mode_set() local 592 mode_idx = MODE_640x480; in ns2501_mode_set() 594 mode_idx = MODE_800x600; in ns2501_mode_set() 596 mode_idx = MODE_1024x768; in ns2501_mode_set() 610 conf = ns2501_modes + mode_idx; in ns2501_mode_set()
|
| /Linux-v5.4/drivers/video/fbdev/omap2/omapfb/ |
| D | omapfb-ioctl.c | 517 int mode_idx = mode->mode_idx; in omapfb_get_ovl_colormode() local 528 mode_idx = mode->mode_idx; in omapfb_get_ovl_colormode() 541 mode_idx--; in omapfb_get_ovl_colormode() 542 if (mode_idx < 0) in omapfb_get_ovl_colormode()
|
| /Linux-v5.4/include/video/ |
| D | uvesafb.h | 136 int mode_idx; member
|
| /Linux-v5.4/include/uapi/linux/ |
| D | omapfb.h | 191 __u8 mode_idx; member
|
| /Linux-v5.4/drivers/video/fbdev/sis/ |
| D | sis_main.c | 594 int mode_idx, int rate_idx, int rate) in sisfb_verify_rate() argument 602 if(mode_idx < 0) in sisfb_verify_rate() 606 switch(sisbios_mode[mode_idx].mode_no[ivideo->mni]) { in sisfb_verify_rate() 630 sisbios_mode[mode_idx].mode_no[ivideo->mni], in sisfb_verify_rate() 717 sisfb_search_refresh_rate(struct sis_video_info *ivideo, unsigned int rate, int mode_idx) in sisfb_search_refresh_rate() argument 720 u16 xres = sisbios_mode[mode_idx].xres; in sisfb_search_refresh_rate() 721 u16 yres = sisbios_mode[mode_idx].yres; in sisfb_search_refresh_rate()
|
| /Linux-v5.4/drivers/video/fbdev/ |
| D | uvesafb.c | 928 int i = par->mode_idx; in uvesafb_setpalette() 1298 par->mode_idx = i; in uvesafb_set_par()
|