Lines Matching refs:comp
86 static int fsl_audmix_state_trans(struct snd_soc_component *comp, in fsl_audmix_state_trans() argument
90 struct fsl_audmix *priv = snd_soc_component_get_drvdata(comp); in fsl_audmix_state_trans()
93 dev_dbg(comp->dev, "%s", prm.msg); in fsl_audmix_state_trans()
114 struct snd_soc_component *comp = snd_kcontrol_chip(kcontrol); in fsl_audmix_put_mix_clk_src() local
115 struct fsl_audmix *priv = snd_soc_component_get_drvdata(comp); in fsl_audmix_put_mix_clk_src()
121 reg_val = snd_soc_component_read(comp, FSL_AUDMIX_CTR); in fsl_audmix_put_mix_clk_src()
126 dev_dbg(comp->dev, "TDMs=x%08x, val=x%08x\n", priv->tdms, val); in fsl_audmix_put_mix_clk_src()
133 dev_err(comp->dev, in fsl_audmix_put_mix_clk_src()
140 dev_err(comp->dev, in fsl_audmix_put_mix_clk_src()
152 struct snd_soc_component *comp = snd_kcontrol_chip(kcontrol); in fsl_audmix_put_out_src() local
153 struct fsl_audmix *priv = snd_soc_component_get_drvdata(comp); in fsl_audmix_put_out_src()
161 reg_val = snd_soc_component_read(comp, FSL_AUDMIX_CTR); in fsl_audmix_put_out_src()
172 dev_dbg(comp->dev, "TDMs=x%08x, val=x%08x\n", priv->tdms, val); in fsl_audmix_put_out_src()
182 dev_err(comp->dev, in fsl_audmix_put_out_src()
189 ret = fsl_audmix_state_trans(comp, &mask, &ctr, prms[out_src][val]); in fsl_audmix_put_out_src()
197 return snd_soc_component_update_bits(comp, FSL_AUDMIX_CTR, mask, ctr); in fsl_audmix_put_out_src()
241 struct snd_soc_component *comp = dai->component; in fsl_audmix_dai_set_fmt() local
276 return snd_soc_component_update_bits(comp, FSL_AUDMIX_CTR, mask, ctr); in fsl_audmix_dai_set_fmt()