Searched refs:mode_idx (Results 1 – 8 of 8) sorted by relevance
| /linux/sound/soc/mediatek/mt8186/ |
| H A D | mt8186-misc-control.c | 94 int mode_idx; in mt8186_sgen_set() local 100 mode_idx = mt8186_sgen_mode_idx[mode]; in mt8186_sgen_set() 102 dev_dbg(afe->dev, "%s(), mode %d, mode_idx %d\n", 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 D | sti_hda.c | 437 u32 val, i, mode_idx; in sti_hda_pre_enable() local 453 if (!hda_get_mode_idx(&hda->mode, &mode_idx)) { in sti_hda_pre_enable() 458 switch (hda_supported_modes[mode_idx].vid_cat) { in sti_hda_pre_enable() 485 DRM_DEBUG_DRIVER("Using HDA mode #%d\n", mode_idx); in sti_hda_pre_enable() 512 sti_hda_configure_awg(hda, hda_supported_modes[mode_idx].awg_instr, in sti_hda_pre_enable() 513 hda_supported_modes[mode_idx].nb_instr); in sti_hda_pre_enable() 528 u32 mode_idx; in sti_hda_set_mode() local 536 if (!hda_get_mode_idx(&hda->mode, &mode_idx)) { in sti_hda_set_mode() 541 switch (hda_supported_modes[mode_idx].vid_cat) { in sti_hda_set_mode()
|
| /linux/drivers/net/wireless/ath/ath12k/ |
| H A D | debugfs.c | 156 enum wmi_tpc_pream_bw pream_bw, int *mode_idx) in ath12k_get_tpc_ctl_mode_idx() argument 169 *mode_idx = ATH12K_TPC_STATS_CTL_MODE_HT_VHT20_5GHZ_6GHZ; in ath12k_get_tpc_ctl_mode_idx() 173 *mode_idx = ATH12K_TPC_STATS_CTL_MODE_HE_EHT20_5GHZ_6GHZ; in ath12k_get_tpc_ctl_mode_idx() 177 *mode_idx = ATH12K_TPC_STATS_CTL_MODE_HT_VHT40_5GHZ_6GHZ; in ath12k_get_tpc_ctl_mode_idx() 181 *mode_idx = ATH12K_TPC_STATS_CTL_MODE_HE_EHT40_5GHZ_6GHZ; in ath12k_get_tpc_ctl_mode_idx() 184 *mode_idx = ATH12K_TPC_STATS_CTL_MODE_VHT80_5GHZ_6GHZ; in ath12k_get_tpc_ctl_mode_idx() 187 *mode_idx = ATH12K_TPC_STATS_CTL_MODE_EHT80_SU_PUNC20; in ath12k_get_tpc_ctl_mode_idx() 191 *mode_idx = ATH12K_TPC_STATS_CTL_MODE_HE_EHT80_5GHZ_6GHZ; in ath12k_get_tpc_ctl_mode_idx() 194 *mode_idx = ATH12K_TPC_STATS_CTL_MODE_VHT160_5GHZ_6GHZ; in ath12k_get_tpc_ctl_mode_idx() 198 *mode_idx = ATH12K_TPC_STATS_CTL_MODE_EHT160_SU_PUNC20; in ath12k_get_tpc_ctl_mode_idx() [all …]
|
| /linux/sound/soc/codecs/ |
| H A D | rt1011.c | 1118 unsigned int i, mode_idx = 0; in rt1011_bq_drc_coeff_get() local 1121 mode_idx = RT1011_ADVMODE_INITIAL_SET; in rt1011_bq_drc_coeff_get() 1123 mode_idx = RT1011_ADVMODE_SEP_BQ_COEFF; in rt1011_bq_drc_coeff_get() 1125 mode_idx = RT1011_ADVMODE_EQ_BQ_COEFF; in rt1011_bq_drc_coeff_get() 1127 mode_idx = RT1011_ADVMODE_BQ_UI_COEFF; in rt1011_bq_drc_coeff_get() 1129 mode_idx = RT1011_ADVMODE_SMARTBOOST_COEFF; in rt1011_bq_drc_coeff_get() 1133 pr_info("%s, id.name=%s, mode_idx=%d\n", __func__, in rt1011_bq_drc_coeff_get() 1134 ucontrol->id.name, mode_idx); in rt1011_bq_drc_coeff_get() 1135 bq_drc_info = rt1011->bq_drc_params[mode_idx]; in rt1011_bq_drc_coeff_get() 1154 unsigned int i, mode_idx in rt1011_bq_drc_coeff_put() local [all...] |
| /linux/drivers/gpu/drm/i915/display/ |
| H A 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/drivers/cpufreq/ |
| H A D | amd-pstate.c | 1652 static int amd_pstate_set_driver(int mode_idx) in amd_pstate_set_driver() argument 1654 if (mode_idx >= AMD_PSTATE_DISABLE && mode_idx < AMD_PSTATE_MAX) { in amd_pstate_set_driver() 1655 cppc_state = mode_idx; in amd_pstate_set_driver() 1797 int mode_idx; in amd_pstate_update_status() local 1802 mode_idx = get_mode_idx_from_str(buf, size); in amd_pstate_update_status() 1803 if (mode_idx < 0) in amd_pstate_update_status() 1804 return mode_idx; in amd_pstate_update_status() 1806 if (mode_state_machine[cppc_state][mode_idx]) { in amd_pstate_update_status() 1808 return mode_state_machine[cppc_state][mode_idx](mode_idx); in amd_pstate_update_status() 2345 int mode_idx; in amd_pstate_param() local [all …]
|
| /linux/include/video/ |
| H A D | uvesafb.h | 134 int mode_idx; member
|
| /linux/include/uapi/linux/ |
| H A D | omapfb.h | 191 __u8 mode_idx; member
|