Home
last modified time | relevance | path

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

/linux-6.1.9/sound/soc/mediatek/mt8186/
Dmt8186-misc-control.c94 int mode_idx; in mt8186_sgen_set() local
100 mode_idx = mt8186_sgen_mode_idx[mode]; in mt8186_sgen_set()
103 __func__, mode, mode_idx); in mt8186_sgen_set()
108 if (mode_idx >= 0) { in mt8186_sgen_set()
111 mode_idx << INNER_LOOP_BACK_MODE_SFT); in mt8186_sgen_set()
/linux-6.1.9/drivers/gpu/drm/sti/
Dsti_hda.c430 u32 val, i, mode_idx; in sti_hda_pre_enable() local
446 if (!hda_get_mode_idx(hda->mode, &mode_idx)) { in sti_hda_pre_enable()
451 switch (hda_supported_modes[mode_idx].vid_cat) { in sti_hda_pre_enable()
478 DRM_DEBUG_DRIVER("Using HDA mode #%d\n", mode_idx); in sti_hda_pre_enable()
505 sti_hda_configure_awg(hda, hda_supported_modes[mode_idx].awg_instr, in sti_hda_pre_enable()
506 hda_supported_modes[mode_idx].nb_instr); in sti_hda_pre_enable()
521 u32 mode_idx; in sti_hda_set_mode() local
529 if (!hda_get_mode_idx(hda->mode, &mode_idx)) { in sti_hda_set_mode()
534 switch (hda_supported_modes[mode_idx].vid_cat) { in sti_hda_set_mode()
/linux-6.1.9/sound/soc/codecs/
Drt1011.c1122 unsigned int i, mode_idx = 0; in rt1011_bq_drc_coeff_get() local
1125 mode_idx = RT1011_ADVMODE_INITIAL_SET; in rt1011_bq_drc_coeff_get()
1127 mode_idx = RT1011_ADVMODE_SEP_BQ_COEFF; in rt1011_bq_drc_coeff_get()
1129 mode_idx = RT1011_ADVMODE_EQ_BQ_COEFF; in rt1011_bq_drc_coeff_get()
1131 mode_idx = RT1011_ADVMODE_BQ_UI_COEFF; in rt1011_bq_drc_coeff_get()
1133 mode_idx = RT1011_ADVMODE_SMARTBOOST_COEFF; in rt1011_bq_drc_coeff_get()
1138 ucontrol->id.name, mode_idx); in rt1011_bq_drc_coeff_get()
1139 bq_drc_info = rt1011->bq_drc_params[mode_idx]; in rt1011_bq_drc_coeff_get()
1159 unsigned int i, mode_idx = 0; in rt1011_bq_drc_coeff_put() local
1162 mode_idx = RT1011_ADVMODE_INITIAL_SET; in rt1011_bq_drc_coeff_put()
[all …]
/linux-6.1.9/drivers/gpu/drm/i915/display/
Ddvo_ns2501.c555 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-6.1.9/drivers/video/fbdev/omap2/omapfb/
Domapfb-ioctl.c514 int mode_idx = mode->mode_idx; in omapfb_get_ovl_colormode() local
525 mode_idx = mode->mode_idx; in omapfb_get_ovl_colormode()
538 mode_idx--; in omapfb_get_ovl_colormode()
539 if (mode_idx < 0) in omapfb_get_ovl_colormode()
/linux-6.1.9/include/video/
Duvesafb.h136 int mode_idx; member
/linux-6.1.9/include/uapi/linux/
Domapfb.h191 __u8 mode_idx; member
/linux-6.1.9/drivers/video/fbdev/sis/
Dsis_main.c595 int mode_idx, int rate_idx, int rate) in sisfb_verify_rate() argument
603 if(mode_idx < 0) in sisfb_verify_rate()
607 switch(sisbios_mode[mode_idx].mode_no[ivideo->mni]) { in sisfb_verify_rate()
631 sisbios_mode[mode_idx].mode_no[ivideo->mni], in sisfb_verify_rate()
718 sisfb_search_refresh_rate(struct sis_video_info *ivideo, unsigned int rate, int mode_idx) in sisfb_search_refresh_rate() argument
721 u16 xres = sisbios_mode[mode_idx].xres; in sisfb_search_refresh_rate()
722 u16 yres = sisbios_mode[mode_idx].yres; in sisfb_search_refresh_rate()
/linux-6.1.9/drivers/video/fbdev/
Duvesafb.c930 int i = par->mode_idx; in uvesafb_setpalette()
1300 par->mode_idx = i; in uvesafb_set_par()