/sound/soc/codecs/ |
D | mt6351.c | 200 static void set_hp_gain_zero(struct snd_soc_component *cmpnt) in set_hp_gain_zero() argument 202 regmap_update_bits(cmpnt->regmap, MT6351_ZCD_CON2, in set_hp_gain_zero() 204 regmap_update_bits(cmpnt->regmap, MT6351_ZCD_CON2, in set_hp_gain_zero() 208 static unsigned int get_cap_reg_val(struct snd_soc_component *cmpnt, in get_cap_reg_val() argument 225 dev_warn(cmpnt->dev, "%s(), error rate %d, return 3", in get_cap_reg_val() 231 static unsigned int get_play_reg_val(struct snd_soc_component *cmpnt, in get_play_reg_val() argument 256 dev_warn(cmpnt->dev, "%s(), error rate %d, return 8", in get_play_reg_val() 266 struct snd_soc_component *cmpnt = dai->component; in mt6351_codec_dai_hw_params() local 267 struct mt6351_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6351_codec_dai_hw_params() 325 static void hp_gain_ramp_set(struct snd_soc_component *cmpnt, int hp_gain_ctl) in hp_gain_ramp_set() argument [all …]
|
D | mt6358.c | 98 int mt6358_set_mtkaif_protocol(struct snd_soc_component *cmpnt, in mt6358_set_mtkaif_protocol() argument 101 struct mt6358_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6358_set_mtkaif_protocol() 251 int mt6358_mtkaif_calibration_enable(struct snd_soc_component *cmpnt) in mt6358_mtkaif_calibration_enable() argument 253 struct mt6358_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6358_mtkaif_calibration_enable() 275 int mt6358_mtkaif_calibration_disable(struct snd_soc_component *cmpnt) in mt6358_mtkaif_calibration_disable() argument 277 struct mt6358_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6358_mtkaif_calibration_disable() 299 int mt6358_set_mtkaif_calibration_phase(struct snd_soc_component *cmpnt, in mt6358_set_mtkaif_calibration_phase() argument 302 struct mt6358_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6358_set_mtkaif_calibration_phase() 757 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_clksq_event() local 758 struct mt6358_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_clksq_event() [all …]
|
D | mt6358.h | 2308 int mt6358_set_mtkaif_protocol(struct snd_soc_component *cmpnt, 2310 int mt6358_mtkaif_calibration_enable(struct snd_soc_component *cmpnt); 2311 int mt6358_mtkaif_calibration_disable(struct snd_soc_component *cmpnt); 2312 int mt6358_set_mtkaif_calibration_phase(struct snd_soc_component *cmpnt,
|
/sound/soc/sunxi/ |
D | sun8i-codec-analog.c | 392 static int sun8i_codec_add_headphone(struct snd_soc_component *cmpnt) in sun8i_codec_add_headphone() argument 394 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(cmpnt); in sun8i_codec_add_headphone() 395 struct device *dev = cmpnt->dev; in sun8i_codec_add_headphone() 398 ret = snd_soc_add_component_controls(cmpnt, in sun8i_codec_add_headphone() 430 static int sun8i_codec_add_mbias(struct snd_soc_component *cmpnt) in sun8i_codec_add_mbias() argument 432 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(cmpnt); in sun8i_codec_add_mbias() 433 struct device *dev = cmpnt->dev; in sun8i_codec_add_mbias() 451 static int sun8i_codec_add_hmic(struct snd_soc_component *cmpnt) in sun8i_codec_add_hmic() argument 453 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(cmpnt); in sun8i_codec_add_hmic() 454 struct device *dev = cmpnt->dev; in sun8i_codec_add_hmic() [all …]
|
/sound/soc/mediatek/mt8183/ |
D | mt8183-dai-i2s.c | 120 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in mt8183_i2s_hd_get() local 121 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8183_i2s_hd_get() 139 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in mt8183_i2s_hd_set() local 140 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8183_i2s_hd_set() 275 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_apll_event() local 276 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_apll_event() 278 dev_info(cmpnt->dev, "%s(), name %s, event 0x%x\n", in mtk_apll_event() 305 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_mclk_en_event() local 306 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_mclk_en_event() 309 dev_info(cmpnt->dev, "%s(), name %s, event 0x%x\n", in mtk_mclk_en_event() [all …]
|
D | mt8183-dai-adda.c | 146 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_ul_event() local 147 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_ul_event() 200 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in mt8183_adda_dmic_get() local 201 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8183_adda_dmic_get() 212 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in mt8183_adda_dmic_set() local 213 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8183_adda_dmic_set()
|
D | mt8183-dai-tdm.c | 250 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()
|
/sound/soc/mediatek/common/ |
D | mtk-btcvsd.c | 1084 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in btcvsd_band_get() local 1085 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(cmpnt); in btcvsd_band_get() 1094 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in btcvsd_band_set() local 1095 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(cmpnt); in btcvsd_band_set() 1109 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in btcvsd_loopback_get() local 1110 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(cmpnt); in btcvsd_loopback_get() 1120 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in btcvsd_loopback_set() local 1121 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(cmpnt); in btcvsd_loopback_set() 1136 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in btcvsd_tx_mute_get() local 1137 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(cmpnt); in btcvsd_tx_mute_get() [all …]
|
/sound/soc/intel/atom/ |
D | sst-atom-controls.c | 341 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in sst_algo_control_set() local 342 struct sst_data *drv = snd_soc_component_get_drvdata(cmpnt); in sst_algo_control_set() 345 dev_dbg(cmpnt->dev, "control_name=%s\n", kcontrol->id.name); in sst_algo_control_set() 353 dev_err(cmpnt->dev, "Invalid Input- algo type:%d\n", in sst_algo_control_set() 458 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in sst_gain_put() local 459 struct sst_data *drv = snd_soc_component_get_drvdata(cmpnt); in sst_gain_put() 469 dev_dbg(cmpnt->dev, "%s: Volume %d, %d\n", in sst_gain_put() 475 dev_dbg(cmpnt->dev, "%s: Mute %d\n", mc->pname, gv->mute); in sst_gain_put() 480 dev_dbg(cmpnt->dev, "%s: Ramp Delay%d\n", in sst_gain_put() 486 dev_err(cmpnt->dev, "Invalid Input- gain type:%d\n", in sst_gain_put() [all …]
|
/sound/soc/mediatek/mt6797/ |
D | mt6797-dai-adda.c | 134 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_ul_event() local 135 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_ul_event()
|
/sound/soc/intel/skylake/ |
D | skl-topology.c | 2993 static int skl_tplg_widget_load(struct snd_soc_component *cmpnt, int index, in skl_tplg_widget_load() argument 2998 struct hdac_bus *bus = snd_soc_component_get_drvdata(cmpnt); in skl_tplg_widget_load() 3098 static int skl_tplg_control_load(struct snd_soc_component *cmpnt, in skl_tplg_control_load() argument 3106 struct hdac_bus *bus = snd_soc_component_get_drvdata(cmpnt); in skl_tplg_control_load() 3587 static int skl_manifest_load(struct snd_soc_component *cmpnt, int index, in skl_manifest_load() argument 3590 struct hdac_bus *bus = snd_soc_component_get_drvdata(cmpnt); in skl_manifest_load()
|
/sound/soc/ |
D | soc-dapm.c | 2377 static ssize_t dapm_widget_show_component(struct snd_soc_component *cmpnt, in dapm_widget_show_component() argument 2380 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(cmpnt); in dapm_widget_show_component() 2389 if (!cmpnt->card) in dapm_widget_show_component() 2392 list_for_each_entry(w, &cmpnt->card->widgets, list) { in dapm_widget_show_component() 2453 struct snd_soc_component *cmpnt = codec_dai->component; in dapm_widget_show() local 2455 count += dapm_widget_show_component(cmpnt, buf + count); in dapm_widget_show()
|