Lines Matching refs:comp
289 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm);
293 dev_dbg(comp->dev, "%s: %s event %d\n", __func__, w->name, event);
307 ret = snd_soc_component_write_field(comp, RTQ9128_REG_STATE_CTRL, mask,
388 static int rtq9128_component_probe(struct snd_soc_component *comp)
395 ret = pm_runtime_resume_and_get(comp->dev);
397 dev_err(comp->dev, "Failed to resume device (%d)\n", ret);
401 val = snd_soc_component_read(comp, RTQ9128_REG_EFUSE_DATA);
419 ret = snd_soc_component_write(comp, curr->reg, curr->val);
424 pm_runtime_mark_last_busy(comp->dev);
425 pm_runtime_put(comp->dev);
465 struct snd_soc_component *comp = dai->component;
495 ret = snd_soc_component_write(comp, RTQ9128_REG_TDM_TX_CH1 + i, start_loc);
506 ret = snd_soc_component_write(comp, RTQ9128_REG_TDM_RX_CH1 + i, start_loc);
514 ret = snd_soc_component_update_bits(comp, RTQ9128_REG_SDO_SEL, RTQ9128_TDMSRCIN_MASK,
532 struct snd_soc_component *comp = dai->component;
619 ret = snd_soc_component_write_field(comp, RTQ9128_REG_I2S_OPT, RTQ9128_AUDFMT_MASK, audfmt);
623 ret = snd_soc_component_write_field(comp, RTQ9128_REG_I2S_OPT, RTQ9128_AUDBIT_MASK, audbit);
627 ret = snd_soc_component_write_field(comp, RTQ9128_REG_SDO_SEL, RTQ9128_DOLEN_MASK, dolen);
633 struct snd_soc_component *comp = dai->component;
639 ret = snd_soc_component_write_field(comp, RTQ9128_REG_DSP_EN, RTQ9128_MSMUTE_MASK,