Lines Matching defs:comp
110 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm);
114 snd_soc_component_write(comp, RT9120_REG_ERRRPT, 0);
159 static int rt9120_codec_probe(struct snd_soc_component *comp)
161 struct rt9120_data *data = snd_soc_component_get_drvdata(comp);
163 snd_soc_component_init_regmap(comp, data->regmap);
165 pm_runtime_get_sync(comp->dev);
169 snd_soc_component_write(comp, RT9120_REG_INTERCFG, 0xde);
170 snd_soc_component_write(comp, RT9120_REG_INTERNAL0, 0x66);
172 snd_soc_component_write(comp, RT9120_REG_INTERNAL0, 0x04);
174 pm_runtime_mark_last_busy(comp->dev);
175 pm_runtime_put(comp->dev);
180 static int rt9120_codec_suspend(struct snd_soc_component *comp)
182 return pm_runtime_force_suspend(comp->dev);
185 static int rt9120_codec_resume(struct snd_soc_component *comp)
187 return pm_runtime_force_resume(comp->dev);
205 struct snd_soc_component *comp = dai->component;
229 snd_soc_component_update_bits(comp, RT9120_REG_I2SFMT,
239 struct snd_soc_component *comp = dai->component;
259 snd_soc_component_update_bits(comp, RT9120_REG_I2SFMT,
277 snd_soc_component_update_bits(comp, RT9120_REG_I2SWL,
287 snd_soc_component_update_bits(comp, RT9120_REG_DIGCFG,