Home
last modified time | relevance | path

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

/linux/sound/soc/mediatek/mt8186/
H A 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/drivers/gpu/drm/sti/
H A 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/sound/soc/codecs/
H A Drt1011.c1120 unsigned int i, mode_idx = 0; in rt1011_bq_drc_coeff_get() local
1123 mode_idx = RT1011_ADVMODE_INITIAL_SET; in rt1011_bq_drc_coeff_get()
1125 mode_idx = RT1011_ADVMODE_SEP_BQ_COEFF; in rt1011_bq_drc_coeff_get()
1127 mode_idx = RT1011_ADVMODE_EQ_BQ_COEFF; in rt1011_bq_drc_coeff_get()
1129 mode_idx = RT1011_ADVMODE_BQ_UI_COEFF; in rt1011_bq_drc_coeff_get()
1131 mode_idx = RT1011_ADVMODE_SMARTBOOST_COEFF; in rt1011_bq_drc_coeff_get()
1136 ucontrol->id.name, mode_idx); in rt1011_bq_drc_coeff_get()
1137 bq_drc_info = rt1011->bq_drc_params[mode_idx]; in rt1011_bq_drc_coeff_get()
1157 unsigned int i, mode_idx = 0; in rt1011_bq_drc_coeff_put() local
1160 mode_idx = RT1011_ADVMODE_INITIAL_SET; in rt1011_bq_drc_coeff_put()
[all …]
/linux/drivers/cpufreq/
H A Damd-pstate.c1202 static int amd_pstate_set_driver(int mode_idx) in amd_pstate_set_driver() argument
1204 if (mode_idx >= AMD_PSTATE_DISABLE && mode_idx < AMD_PSTATE_MAX) { in amd_pstate_set_driver()
1205 cppc_state = mode_idx; in amd_pstate_set_driver()
1323 int mode_idx; in amd_pstate_update_status() local
1328 mode_idx = get_mode_idx_from_str(buf, size); in amd_pstate_update_status()
1330 if (mode_idx < 0 || mode_idx >= AMD_PSTATE_MAX) in amd_pstate_update_status()
1333 if (mode_state_machine[cppc_state][mode_idx]) in amd_pstate_update_status()
1334 return mode_state_machine[cppc_state][mode_idx](mode_idx); in amd_pstate_update_status()
1908 int mode_idx; in amd_pstate_param() local
1914 mode_idx = get_mode_idx_from_str(str, size); in amd_pstate_param()
[all …]
/linux/drivers/gpu/drm/i915/display/
H A 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/drivers/video/fbdev/omap2/omapfb/
H A 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/include/video/
H A Duvesafb.h134 int mode_idx; member
/linux/include/uapi/linux/
H A Domapfb.h191 __u8 mode_idx; member
/linux/drivers/video/fbdev/sis/
H A Dsis_main.c564 int mode_idx, int rate_idx, int rate) in sisfb_verify_rate() argument
572 if(mode_idx < 0) in sisfb_verify_rate()
576 switch(sisbios_mode[mode_idx].mode_no[ivideo->mni]) { in sisfb_verify_rate()
600 sisbios_mode[mode_idx].mode_no[ivideo->mni], in sisfb_verify_rate()
687 sisfb_search_refresh_rate(struct sis_video_info *ivideo, unsigned int rate, int mode_idx) in sisfb_search_refresh_rate() argument
690 u16 xres = sisbios_mode[mode_idx].xres; in sisfb_search_refresh_rate()
691 u16 yres = sisbios_mode[mode_idx].yres; in sisfb_search_refresh_rate()
/linux/drivers/video/fbdev/
H A Duvesafb.c930 int i = par->mode_idx; in uvesafb_setpalette()
1300 par->mode_idx = i; in uvesafb_set_par()