Lines Matching refs:component

29 	struct snd_soc_component *component;  member
71 latched[i] = snd_soc_component_read(tas2764->component, in tas2764_irq()
85 snd_soc_component_update_bits(tas2764->component, in tas2764_irq()
103 snd_soc_component_write(tas2764->component, TAS2764_SW_RST, in tas2764_reset()
110 struct snd_soc_component *component = tas2764->component; in tas2764_update_pwr_ctrl() local
120 ret = snd_soc_component_update_bits(component, TAS2764_PWR_CTRL, in tas2764_update_pwr_ctrl()
129 static int tas2764_codec_suspend(struct snd_soc_component *component) in tas2764_codec_suspend() argument
131 struct tas2764_priv *tas2764 = snd_soc_component_get_drvdata(component); in tas2764_codec_suspend()
134 ret = snd_soc_component_update_bits(component, TAS2764_PWR_CTRL, in tas2764_codec_suspend()
150 static int tas2764_codec_resume(struct snd_soc_component *component) in tas2764_codec_resume() argument
152 struct tas2764_priv *tas2764 = snd_soc_component_get_drvdata(component); in tas2764_codec_resume()
188 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in tas2764_dac_event() local
189 struct tas2764_priv *tas2764 = snd_soc_component_get_drvdata(component); in tas2764_dac_event()
245 snd_soc_component_get_drvdata(dai->component); in tas2764_mute()
253 struct snd_soc_component *component = tas2764->component; in tas2764_set_bitwidth() local
260 ret = snd_soc_component_update_bits(component, in tas2764_set_bitwidth()
266 ret = snd_soc_component_update_bits(component, in tas2764_set_bitwidth()
272 ret = snd_soc_component_update_bits(component, in tas2764_set_bitwidth()
285 val = snd_soc_component_read(tas2764->component, TAS2764_PWR_CTRL); in tas2764_set_bitwidth()
294 ret = snd_soc_component_update_bits(tas2764->component, TAS2764_TDM_CFG5, in tas2764_set_bitwidth()
305 ret = snd_soc_component_update_bits(tas2764->component, TAS2764_TDM_CFG6, in tas2764_set_bitwidth()
316 struct snd_soc_component *component = tas2764->component; in tas2764_set_samplerate() local
341 ret = snd_soc_component_update_bits(component, TAS2764_TDM_CFG0, in tas2764_set_samplerate()
355 struct snd_soc_component *component = dai->component; in tas2764_hw_params() local
356 struct tas2764_priv *tas2764 = snd_soc_component_get_drvdata(component); in tas2764_hw_params()
368 struct snd_soc_component *component = dai->component; in tas2764_set_fmt() local
369 struct tas2764_priv *tas2764 = snd_soc_component_get_drvdata(component); in tas2764_set_fmt()
388 ret = snd_soc_component_update_bits(component, TAS2764_TDM_CFG1, in tas2764_set_fmt()
411 ret = snd_soc_component_update_bits(component, TAS2764_TDM_CFG0, in tas2764_set_fmt()
417 ret = snd_soc_component_update_bits(component, TAS2764_TDM_CFG1, in tas2764_set_fmt()
431 struct snd_soc_component *component = dai->component; in tas2764_set_dai_tdm_slot() local
432 struct tas2764_priv *tas2764 = snd_soc_component_get_drvdata(component); in tas2764_set_dai_tdm_slot()
455 ret = snd_soc_component_write(component, TAS2764_TDM_CFG3, slots_cfg); in tas2764_set_dai_tdm_slot()
473 ret = snd_soc_component_update_bits(component, TAS2764_TDM_CFG2, in tas2764_set_dai_tdm_slot()
479 ret = snd_soc_component_update_bits(component, TAS2764_TDM_CFG5, in tas2764_set_dai_tdm_slot()
485 ret = snd_soc_component_update_bits(component, TAS2764_TDM_CFG6, in tas2764_set_dai_tdm_slot()
531 static int tas2764_codec_probe(struct snd_soc_component *component) in tas2764_codec_probe() argument
533 struct tas2764_priv *tas2764 = snd_soc_component_get_drvdata(component); in tas2764_codec_probe()
536 tas2764->component = component; in tas2764_codec_probe()
546 ret = snd_soc_component_write(tas2764->component, TAS2764_INT_MASK0, 0xff); in tas2764_codec_probe()
550 ret = snd_soc_component_write(tas2764->component, TAS2764_INT_MASK1, 0xff); in tas2764_codec_probe()
554 ret = snd_soc_component_write(tas2764->component, TAS2764_INT_MASK2, 0xff); in tas2764_codec_probe()
558 ret = snd_soc_component_write(tas2764->component, TAS2764_INT_MASK3, 0xff); in tas2764_codec_probe()
562 ret = snd_soc_component_write(tas2764->component, TAS2764_INT_MASK4, 0xff); in tas2764_codec_probe()
573 ret = snd_soc_component_update_bits(tas2764->component, TAS2764_TDM_CFG5, in tas2764_codec_probe()
578 ret = snd_soc_component_update_bits(tas2764->component, TAS2764_TDM_CFG6, in tas2764_codec_probe()