Home
last modified time | relevance | path

Searched refs:cmpnt (Results 1 – 25 of 40) sorted by relevance

12

/linux/sound/soc/codecs/
H A Dmt6351.c199 static void set_hp_gain_zero(struct snd_soc_component *cmpnt) in set_hp_gain_zero() argument
201 regmap_update_bits(cmpnt->regmap, MT6351_ZCD_CON2, in set_hp_gain_zero()
203 regmap_update_bits(cmpnt->regmap, MT6351_ZCD_CON2, in set_hp_gain_zero()
207 static unsigned int get_cap_reg_val(struct snd_soc_component *cmpnt, in get_cap_reg_val() argument
224 dev_warn(cmpnt->dev, "%s(), error rate %d, return 3", in get_cap_reg_val()
230 static unsigned int get_play_reg_val(struct snd_soc_component *cmpnt, in get_play_reg_val() argument
255 dev_warn(cmpnt->dev, "%s(), error rate %d, return 8", in get_play_reg_val()
265 struct snd_soc_component *cmpnt = dai->component; in mt6351_codec_dai_hw_params() local
266 struct mt6351_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6351_codec_dai_hw_params()
321 static void hp_gain_ramp_set(struct snd_soc_component *cmpnt, int hp_gain_ctl) in hp_gain_ramp_set() argument
[all …]
H A Dmt6358.c101 int mt6358_set_mtkaif_protocol(struct snd_soc_component *cmpnt, in mt6358_set_mtkaif_protocol() argument
104 struct mt6358_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6358_set_mtkaif_protocol()
793 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_clksq_event() local
794 struct mt6358_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_clksq_event()
816 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_sgen_event() local
817 struct mt6358_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_sgen_event()
855 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_aif_in_event() local
856 struct mt6358_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_aif_in_event()
1287 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_hp_event() local
1288 struct mt6358_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_hp_event()
[all …]
H A Dmt6357.c532 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_aif_out_event() local
533 struct mt6357_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_aif_out_event()
553 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_adc_supply_event() local
554 struct mt6357_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_adc_supply_event()
598 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_mic_type_event() local
599 struct mt6357_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_mic_type_event()
646 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_pga_left_event() local
647 struct mt6357_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_pga_left_event()
699 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_pga_right_event() local
700 struct mt6357_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_pga_right_event()
746 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); adc_enable_event() local
911 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); mt_audio_in_event() local
1010 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); lo_mux_event() local
1077 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); hs_mux_event() local
1135 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); hp_main_mux_event() local
1346 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); right_dac_event() local
1385 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); left_dac_event() local
[all...]
H A Dfs210x.c909 struct snd_soc_component *cmpnt; in fs210x_get_drvdata_from_kctrl() local
916 cmpnt = snd_kcontrol_chip(kctrl); in fs210x_get_drvdata_from_kctrl()
917 if (!cmpnt) { in fs210x_get_drvdata_from_kctrl()
922 *fs210x = snd_soc_component_get_drvdata(cmpnt); in fs210x_get_drvdata_from_kctrl()
1043 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in fs210x_playback_event() local
1044 struct fs210x_priv *fs210x = snd_soc_component_get_drvdata(cmpnt); in fs210x_playback_event()
1147 struct snd_soc_component *cmpnt) in fs210x_add_mixer_controls() argument
1153 if (!fs210x || !cmpnt) in fs210x_add_mixer_controls()
1164 ret = snd_soc_add_component_controls(cmpnt, kctrl, count); in fs210x_add_mixer_controls()
1178 return snd_soc_add_component_controls(cmpnt, kctrl, count); in fs210x_add_mixer_controls()
[all …]
/linux/sound/soc/sunxi/
H A Dsun8i-codec-analog.c391 static int sun8i_codec_add_headphone(struct snd_soc_component *cmpnt) in sun8i_codec_add_headphone() argument
393 struct snd_soc_dapm_context *dapm = snd_soc_component_to_dapm(cmpnt); in sun8i_codec_add_headphone()
394 struct device *dev = cmpnt->dev; in sun8i_codec_add_headphone()
397 ret = snd_soc_add_component_controls(cmpnt, in sun8i_codec_add_headphone()
429 static int sun8i_codec_add_mbias(struct snd_soc_component *cmpnt) in sun8i_codec_add_mbias() argument
431 struct snd_soc_dapm_context *dapm = snd_soc_component_to_dapm(cmpnt); in sun8i_codec_add_mbias()
432 struct device *dev = cmpnt->dev; in sun8i_codec_add_mbias()
450 static int sun8i_codec_add_hmic(struct snd_soc_component *cmpnt) in sun8i_codec_add_hmic() argument
452 struct snd_soc_dapm_context *dapm = snd_soc_component_to_dapm(cmpnt); in sun8i_codec_add_hmic()
453 struct device *dev = cmpnt in sun8i_codec_add_hmic()
487 sun8i_codec_add_linein(struct snd_soc_component * cmpnt) sun8i_codec_add_linein() argument
568 sun8i_codec_add_lineout(struct snd_soc_component * cmpnt) sun8i_codec_add_lineout() argument
633 sun8i_codec_add_mic2(struct snd_soc_component * cmpnt) sun8i_codec_add_mic2() argument
688 sun8i_codec_analog_add_mixer(struct snd_soc_component * cmpnt,const struct sun8i_codec_analog_quirks * quirks) sun8i_codec_analog_add_mixer() argument
735 sun8i_codec_analog_cmpnt_probe(struct snd_soc_component * cmpnt) sun8i_codec_analog_cmpnt_probe() argument
[all...]
/linux/sound/soc/tegra/
H A Dtegra210_peq.c103 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); in tegra210_peq_get() local
104 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_peq_get()
126 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); in tegra210_peq_put() local
127 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_peq_put()
149 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); in tegra210_peq_ram_get() local
150 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_peq_ram_get()
151 int val_bytes = snd_soc_component_regmap_val_bytes(cmpnt); in tegra210_peq_ram_get()
156 pm_runtime_get_sync(cmpnt->dev); in tegra210_peq_ram_get()
161 pm_runtime_put_sync(cmpnt->dev); in tegra210_peq_ram_get()
173 struct snd_soc_component *cmpnt in tegra210_peq_ram_put()
172 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); tegra210_peq_ram_put() local
356 tegra210_peq_component_init(struct snd_soc_component * cmpnt) tegra210_peq_component_init() argument
[all...]
H A Dtegra210_mbdrc.c238 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); in tegra210_mbdrc_get() local
239 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_mbdrc_get()
254 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); in tegra210_mbdrc_put() local
255 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_mbdrc_put()
270 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); in tegra210_mbdrc_get_enum() local
271 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_mbdrc_get_enum()
285 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); in tegra210_mbdrc_put_enum() local
286 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_mbdrc_put_enum()
308 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); in tegra210_mbdrc_band_params_get() local
309 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_mbdrc_band_params_get()
329 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); tegra210_mbdrc_band_params_put() local
354 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); tegra210_mbdrc_threshold_get() local
382 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); tegra210_mbdrc_threshold_put() local
415 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); tegra210_mbdrc_biquad_coeffs_get() local
427 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); tegra210_mbdrc_biquad_coeffs_put() local
455 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); tegra210_mbdrc_vol_get() local
472 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); tegra210_mbdrc_vol_put() local
769 tegra210_mbdrc_hw_params(struct snd_soc_component * cmpnt) tegra210_mbdrc_hw_params() argument
798 tegra210_mbdrc_component_init(struct snd_soc_component * cmpnt) tegra210_mbdrc_component_init() argument
[all...]
H A Dtegra210_mixer.c130 static int tegra210_mixer_configure_gain(struct snd_soc_component *cmpnt, in tegra210_mixer_configure_gain()
133 struct tegra210_mixer *mixer = snd_soc_component_get_drvdata(cmpnt); in tegra210_mixer_configure_gain()
137 pm_runtime_get_sync(cmpnt->dev); in tegra210_mixer_configure_gain()
182 pm_runtime_put(cmpnt->dev);
203 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); in tegra210_mixer_get_fade_duration()
204 struct tegra210_mixer *mixer = snd_soc_component_get_drvdata(cmpnt); in tegra210_mixer_get_fade_duration()
216 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); in tegra210_mixer_put_fade_duration()
217 struct tegra210_mixer *mixer = snd_soc_component_get_drvdata(cmpnt); in tegra210_mixer_put_fade_duration()
239 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); in tegra210_mixer_get_fade_gain()
240 struct tegra210_mixer *mixer = snd_soc_component_get_drvdata(cmpnt); in tegra210_mixer_get_fade_gain()
126 tegra210_mixer_configure_gain(struct snd_soc_component * cmpnt,unsigned int id,bool instant_gain) tegra210_mixer_configure_gain() argument
199 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); tegra210_mixer_get_fade_duration() local
212 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); tegra210_mixer_put_fade_duration() local
235 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); tegra210_mixer_get_fade_gain() local
248 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); tegra210_mixer_put_fade_gain() local
276 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); tegra210_mixer_put_fade_switch() local
363 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); tegra210_mixer_get_fade_status() local
398 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); tegra210_mixer_get_gain() local
417 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); tegra210_mixer_apply_gain() local
[all...]
H A Dtegra210_mvc.c111 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); in tegra210_mvc_get_ctrl_reg() local
112 struct tegra210_mvc *mvc = snd_soc_component_get_drvdata(cmpnt); in tegra210_mvc_get_ctrl_reg()
115 pm_runtime_get_sync(cmpnt->dev); in tegra210_mvc_get_ctrl_reg()
117 pm_runtime_put(cmpnt->dev); in tegra210_mvc_get_ctrl_reg()
175 static int tegra210_mvc_volume_switch_timeout(struct snd_soc_component *cmpnt) in tegra210_mvc_volume_switch_timeout() argument
177 struct tegra210_mvc *mvc = snd_soc_component_get_drvdata(cmpnt); in tegra210_mvc_volume_switch_timeout()
185 dev_err(cmpnt->dev, in tegra210_mvc_volume_switch_timeout()
196 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); in tegra210_mvc_update_mute() local
197 struct tegra210_mvc *mvc = snd_soc_component_get_drvdata(cmpnt); in tegra210_mvc_update_mute()
203 pm_runtime_get_sync(cmpnt->dev); in tegra210_mvc_update_mute()
[all …]
H A Dtegra186_asrc.c243 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); in tegra186_asrc_get_ratio_source() local
244 struct tegra186_asrc *asrc = snd_soc_component_get_drvdata(cmpnt); in tegra186_asrc_get_ratio_source()
257 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); in tegra186_asrc_put_ratio_source() local
258 struct tegra186_asrc *asrc = snd_soc_component_get_drvdata(cmpnt); in tegra186_asrc_put_ratio_source()
277 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); in tegra186_asrc_get_ratio_int() local
278 struct tegra186_asrc *asrc = snd_soc_component_get_drvdata(cmpnt); in tegra186_asrc_get_ratio_int()
295 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); in tegra186_asrc_put_ratio_int() local
296 struct tegra186_asrc *asrc = snd_soc_component_get_drvdata(cmpnt); in tegra186_asrc_put_ratio_int()
301 dev_err(cmpnt->dev, in tegra186_asrc_put_ratio_int()
325 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); in tegra186_asrc_get_ratio_frac() local
[all …]
H A Dtegra210_ope.c95 static int tegra210_ope_component_probe(struct snd_soc_component *cmpnt) in tegra210_ope_component_probe() argument
97 struct tegra210_ope *ope = dev_get_drvdata(cmpnt->dev); in tegra210_ope_component_probe()
99 tegra210_peq_component_init(cmpnt); in tegra210_ope_component_probe()
100 tegra210_mbdrc_component_init(cmpnt); in tegra210_ope_component_probe()
113 snd_soc_component_init_regmap(cmpnt, ope->regmap); in tegra210_ope_component_probe()
204 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); in tegra210_ope_get_data_dir() local
205 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_ope_get_data_dir()
215 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); in tegra210_ope_put_data_dir() local
216 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_ope_put_data_dir()
H A Dtegra210_admaif.c571 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); in tegra210_admaif_pput_stereo_to_mono()
572 struct tegra_admaif *admaif = snd_soc_component_get_drvdata(cmpnt); in tegra210_admaif_pput_stereo_to_mono()
584 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); in tegra210_admaif_cget_stereo_to_mono()
585 struct tegra_admaif *admaif = snd_soc_component_get_drvdata(cmpnt); in tegra210_admaif_cget_stereo_to_mono()
600 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); in tegra210_admaif_cput_stereo_to_mono()
601 struct tegra_admaif *admaif = snd_soc_component_get_drvdata(cmpnt); in tegra210_admaif_cput_stereo_to_mono()
613 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); in tegra_admaif_dai_probe()
614 struct tegra_admaif *admaif = snd_soc_component_get_drvdata(cmpnt); in tegra_admaif_dai_probe()
629 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol);
630 struct tegra_admaif *admaif = snd_soc_component_get_drvdata(cmpnt);
496 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); tegra210_admaif_pget_mono_to_stereo() local
509 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); tegra210_admaif_pput_mono_to_stereo() local
525 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); tegra210_admaif_cget_mono_to_stereo() local
538 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); tegra210_admaif_cput_mono_to_stereo() local
554 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); tegra210_admaif_pget_stereo_to_mono() local
567 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); tegra210_admaif_pput_stereo_to_mono() local
583 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); tegra210_admaif_cget_stereo_to_mono() local
596 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); tegra210_admaif_cput_stereo_to_mono() local
[all...]
/linux/sound/soc/mediatek/mt8186/
H A Dmt8186-misc-control.c77 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); in mt8186_sgen_get() local
78 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8186_sgen_get()
89 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); in mt8186_sgen_set() local
90 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8186_sgen_set()
131 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); in mt8186_sgen_rate_get() local
132 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8186_sgen_rate_get()
143 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); in mt8186_sgen_rate_set() local
144 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8186_sgen_rate_set()
175 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); in mt8186_sgen_amplitude_get() local
176 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8186_sgen_amplitude_get()
186 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); mt8186_sgen_amplitude_set() local
[all...]
H A Dmt8186-dai-tdm.c103 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_tdm_en_event() local
104 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_tdm_en_event()
109 dev_dbg(cmpnt->dev, "%s(), name %s, event 0x%x\n", in mtk_tdm_en_event()
130 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_tdm_mck_en_event() local
131 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_tdm_mck_en_event()
136 dev_dbg(cmpnt->dev, "%s(), name %s, event 0x%x, dai_id %d\n", in mtk_tdm_mck_en_event()
202 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_afe_tdm_mclk_connect() local
203 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_tdm_mclk_connect()
215 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_afe_tdm_mclk_apll_connect() local
216 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_tdm_mclk_apll_connect()
232 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); mtk_afe_tdm_hd_connect() local
245 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); mtk_afe_tdm_apll_connect() local
275 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); mt8186_tdm_hd_get() local
289 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); mt8186_tdm_hd_set() local
[all...]
H A Dmt8186-dai-adda.c159 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_ul_event() local
160 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_ul_event()
200 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_pad_top_event() local
201 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_pad_top_event()
222 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_mtkaif_cfg_event() local
223 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_mtkaif_cfg_event()
302 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_dl_event() local
303 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_dl_event()
327 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); in mt8186_adda_dmic_get() local
328 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8186_adda_dmic_get()
339 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); mt8186_adda_dmic_set() local
455 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); mtk_afe_dac_hires_connect() local
473 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); mtk_afe_adc_hires_connect() local
[all...]
H A Dmt8186-dai-i2s.c116 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); in mt8186_i2s_hd_get() local
117 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8186_i2s_hd_get()
129 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); in mt8186_i2s_hd_set() local
130 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8186_i2s_hd_set()
361 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_i2s_en_event() local
362 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_i2s_en_event()
367 dev_dbg(cmpnt->dev, "%s(), name %s, event 0x%x\n", in mtk_i2s_en_event()
388 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_apll_event() local
389 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_apll_event()
391 dev_dbg(cmpnt in mtk_apll_event()
418 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); mtk_mclk_en_event() local
541 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); mtk_afe_i2s_share_connect() local
556 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); mtk_afe_i2s_hd_connect() local
579 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); mtk_afe_i2s_apll_connect() local
598 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); mtk_afe_i2s_mclk_connect() local
621 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); mtk_afe_mclk_apll_connect() local
[all...]
/linux/sound/soc/mediatek/mt8195/
H A Dmt8195-dai-adda.c112 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_mtkaif_cfg_event() local
113 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_mtkaif_cfg_event()
133 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_dl_event() local
134 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_dl_event()
183 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_ul_event() local
184 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_ul_event()
210 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda6_ul_event() local
211 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda6_ul_event()
246 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_audio_hires_event() local
247 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_audio_hires_event()
292 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); mtk_afe_adda_hires_connect() local
487 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); mt8195_adda6_only_get() local
499 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); mt8195_adda6_only_set() local
518 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); mt8195_adda_dmic_get() local
530 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); mt8195_adda_dmic_set() local
[all...]
/linux/sound/soc/mediatek/mt8192/
H A Dmt8192-dai-adda.c217 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_ul_event() local
218 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_ul_event()
255 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_ch34_ul_event() local
256 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_ch34_ul_event()
317 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_pad_top_event() local
318 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_pad_top_event()
339 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_mtkaif_cfg_event() local
340 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_mtkaif_cfg_event()
447 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_dl_event() local
448 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_dl_event()
470 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); mtk_adda_ch34_dl_event() local
495 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); stf_positive_gain_get() local
506 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); stf_positive_gain_set() local
530 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); mt8192_adda_dmic_get() local
541 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); mt8192_adda_dmic_set() local
561 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); mt8192_adda6_only_get() local
572 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); mt8192_adda6_only_set() local
635 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); mtk_stf_event() local
[all...]
H A Dmt8192-dai-tdm.c248 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_tdm_en_event() local
249 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_tdm_en_event()
259 dev_dbg(cmpnt->dev, "%s(), name %s, event 0x%x\n", in mtk_tdm_en_event()
280 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_tdm_bck_en_event() local
281 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_tdm_bck_en_event()
291 dev_dbg(cmpnt->dev, "%s(), name %s, event 0x%x, dai_id %d\n", in mtk_tdm_bck_en_event()
312 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_tdm_mck_en_event() local
313 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_tdm_mck_en_event()
323 dev_dbg(cmpnt->dev, "%s(), name %s, event 0x%x, dai_id %d\n", in mtk_tdm_mck_en_event()
381 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_afe_tdm_apll_connect() local
[all …]
H A Dmt8192-dai-i2s.c138 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); in mt8192_i2s_hd_get() local
139 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8192_i2s_hd_get()
157 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); in mt8192_i2s_hd_set() local
158 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8192_i2s_hd_set()
586 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_i2s_en_event() local
587 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_i2s_en_event()
597 dev_dbg(cmpnt->dev, "%s(), name %s, event 0x%x\n", in mtk_i2s_en_event()
618 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_apll_event() local
619 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_apll_event()
621 dev_dbg(cmpnt in mtk_apll_event()
648 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); i2s_out_tinyconn_event() local
704 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); mtk_mclk_en_event() local
922 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); mtk_afe_i2s_share_connect() local
942 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); mtk_afe_i2s_hd_connect() local
970 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); mtk_afe_i2s_apll_connect() local
998 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); mtk_afe_i2s_mclk_connect() local
1026 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); mtk_afe_mclk_apll_connect() local
[all...]
/linux/drivers/media/pci/intel/ipu6/
H A Dipu6-cpd.c87 const struct ipu6_cpd_metadata_cmpnt_hdr *cmpnt; in ipu6_cpd_metadata_cmpnt_version() local
89 cmpnt = ipu6_cpd_metadata_get_cmpnt(isp, metadata, metadata_size, idx); in ipu6_cpd_metadata_cmpnt_version()
90 if (IS_ERR(cmpnt)) in ipu6_cpd_metadata_cmpnt_version()
91 return PTR_ERR(cmpnt); in ipu6_cpd_metadata_cmpnt_version()
93 return cmpnt->ver; in ipu6_cpd_metadata_cmpnt_version()
100 const struct ipu6_cpd_metadata_cmpnt_hdr *cmpnt; in ipu6_cpd_metadata_get_cmpnt_id() local
102 cmpnt = ipu6_cpd_metadata_get_cmpnt(isp, metadata, metadata_size, idx); in ipu6_cpd_metadata_get_cmpnt_id()
103 if (IS_ERR(cmpnt)) in ipu6_cpd_metadata_get_cmpnt_id()
104 return PTR_ERR(cmpnt); in ipu6_cpd_metadata_get_cmpnt_id()
106 return cmpnt->id; in ipu6_cpd_metadata_get_cmpnt_id()
/linux/sound/soc/mediatek/common/
H A Dmtk-btcvsd.c1038 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol);
1039 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(cmpnt);
1048 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); in btcvsd_band_get()
1049 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(cmpnt); in btcvsd_band_get() local
1063 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); in btcvsd_band_set()
1064 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(cmpnt); in btcvsd_band_set()
1074 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); in btcvsd_loopback_get() local
1075 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(cmpnt); in btcvsd_loopback_get()
1090 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); in btcvsd_loopback_set()
1091 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(cmpnt); in btcvsd_loopback_set()
1059 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); btcvsd_band_set() local
1085 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); btcvsd_loopback_set() local
1101 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); btcvsd_tx_mute_get() local
1116 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); btcvsd_tx_mute_set() local
1129 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); btcvsd_rx_irq_received_get() local
1142 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); btcvsd_rx_timeout_get() local
1156 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); btcvsd_rx_timestamp_get() local
1183 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); btcvsd_tx_irq_received_get() local
1196 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); btcvsd_tx_timeout_get() local
1206 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); btcvsd_tx_timestamp_get() local
[all...]
/linux/sound/soc/mediatek/mt8183/
H A Dmt8183-dai-adda.c62 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_ul_event() local
63 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_ul_event()
116 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); in mt8183_adda_dmic_get() local
117 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8183_adda_dmic_get()
128 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); in mt8183_adda_dmic_set() local
129 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8183_adda_dmic_set()
H A Dmt8183-dai-tdm.c250 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_tdm_bck_en_event() local
251 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_tdm_bck_en_event()
255 dev_info(cmpnt->dev, "%s(), name %s, event 0x%x\n", in mtk_tdm_bck_en_event()
276 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_tdm_mck_en_event() local
277 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_tdm_mck_en_event()
281 dev_info(cmpnt->dev, "%s(), name %s, event 0x%x\n", in mtk_tdm_mck_en_event()
334 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_afe_tdm_apll_connect() local
335 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_tdm_apll_connect()
/linux/sound/soc/intel/atom/
H A Dsst-atom-controls.c346 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); in sst_algo_control_get()
347 struct sst_data *drv = snd_soc_component_get_drvdata(cmpnt);
350 dev_dbg(cmpnt->dev, "control_name=%s\n", kcontrol->id.name); in sst_algo_control_set()
357 dev_err(cmpnt->dev, "Invalid Input- algo type:%d\n", in sst_algo_control_set()
465 struct snd_soc_component *cmpnt = snd_kcontrol_chip(kcontrol); in sst_gain_get()
466 struct sst_data *drv = snd_soc_component_get_drvdata(cmpnt); in sst_gain_get()
476 dev_dbg(cmpnt->dev, "%s: Volume %d, %d\n", in sst_gain_put()
482 dev_dbg(cmpnt->dev, "%s: Mute %d\n", mc->pname, gv->mute); in sst_gain_put()
487 dev_dbg(cmpnt->dev, "%s: Ramp Delay%d\n", in sst_gain_put()
492 dev_err(cmpnt in sst_gain_put()
352 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); sst_algo_control_set() local
473 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); sst_gain_put() local
567 fill_swm_input(struct snd_soc_component * cmpnt,struct swm_input_ids * swm_input,unsigned int reg) fill_swm_input() argument
626 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); sst_swm_mixer_event() local
[all...]

12