Lines Matching defs:component

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