Lines Matching refs:component
50 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in rk3036_codec_antipop_get() local
53 regval = snd_soc_component_read(component, INNO_R09); in rk3036_codec_antipop_get()
68 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in rk3036_codec_antipop_put() local
81 ret = snd_soc_component_update_bits(component, INNO_R09, in rk3036_codec_antipop_put()
198 struct snd_soc_component *component = dai->component; in rk3036_codec_dai_set_fmt() local
201 dev_dbg(component->dev, "rk3036_codec dai set fmt : %08x\n", fmt); in rk3036_codec_dai_set_fmt()
213 dev_err(component->dev, "invalid fmt\n"); in rk3036_codec_dai_set_fmt()
231 dev_err(component->dev, "set dai format failed\n"); in rk3036_codec_dai_set_fmt()
253 dev_err(component->dev, "set dai format failed\n"); in rk3036_codec_dai_set_fmt()
257 snd_soc_component_update_bits(component, INNO_R01, INNO_R01_I2SMODE_MSK | in rk3036_codec_dai_set_fmt()
259 snd_soc_component_update_bits(component, INNO_R02, INNO_R02_LRCP_MSK | in rk3036_codec_dai_set_fmt()
261 snd_soc_component_update_bits(component, INNO_R03, INNO_R03_BCP_MSK, reg03_val); in rk3036_codec_dai_set_fmt()
270 struct snd_soc_component *component = dai->component; in rk3036_codec_dai_hw_params() local
293 snd_soc_component_update_bits(component, INNO_R02, INNO_R02_LRCP_MSK | in rk3036_codec_dai_hw_params()
295 snd_soc_component_update_bits(component, INNO_R03, INNO_R03_DACR_MSK | in rk3036_codec_dai_hw_params()
332 static void rk3036_codec_reset(struct snd_soc_component *component) in rk3036_codec_reset() argument
334 snd_soc_component_write(component, INNO_R00, in rk3036_codec_reset()
336 snd_soc_component_write(component, INNO_R00, in rk3036_codec_reset()
340 static int rk3036_codec_probe(struct snd_soc_component *component) in rk3036_codec_probe() argument
342 rk3036_codec_reset(component); in rk3036_codec_probe()
346 static void rk3036_codec_remove(struct snd_soc_component *component) in rk3036_codec_remove() argument
348 rk3036_codec_reset(component); in rk3036_codec_remove()
351 static int rk3036_codec_set_bias_level(struct snd_soc_component *component, in rk3036_codec_set_bias_level() argument
357 snd_soc_component_write(component, INNO_R10, INNO_R10_MAX_CUR); in rk3036_codec_set_bias_level()
359 snd_soc_component_write(component, INNO_R06, INNO_R06_DAC_PRECHARGE); in rk3036_codec_set_bias_level()
365 snd_soc_component_write(component, INNO_R10, INNO_R10_MAX_CUR); in rk3036_codec_set_bias_level()
367 snd_soc_component_write(component, INNO_R06, INNO_R06_DAC_DISCHARGE); in rk3036_codec_set_bias_level()