Home
last modified time | relevance | path

Searched refs:tas2764 (Results 1 – 2 of 2) sorted by relevance

/linux/sound/soc/codecs/
H A Dtas2764.c78 struct tas2764_priv *tas2764 = data; in tas2764_irq() local
84 latched[i] = snd_soc_component_read(tas2764->component, in tas2764_irq()
89 dev_crit_ratelimited(tas2764->dev, "%s\n", in tas2764_irq()
96 dev_err_ratelimited(tas2764->dev, "other context to the fault: %02x,%02x,%02x,%02x,%02x", in tas2764_irq()
98 snd_soc_component_update_bits(tas2764->component, in tas2764_irq()
107 static void tas2764_reset(struct tas2764_priv *tas2764) in tas2764_reset() argument
109 if (tas2764->reset_gpio) { in tas2764_reset()
110 gpiod_set_value_cansleep(tas2764->reset_gpio, 0); in tas2764_reset()
112 gpiod_set_value_cansleep(tas2764->reset_gpio, 1); in tas2764_reset()
116 snd_soc_component_write(tas2764->component, TAS2764_SW_RST, in tas2764_reset()
[all …]
H A Dtas2764-quirks.h119 static int tas2764_do_quirky_pwr_ctrl_change(struct tas2764_priv *tas2764, in tas2764_do_quirky_pwr_ctrl_change() argument
125 curr = snd_soc_component_read_field(tas2764->component, in tas2764_do_quirky_pwr_ctrl_change()
135 ret = regmap_multi_reg_write(tas2764->regmap, tas2764_pre_shutdown_seq, in tas2764_do_quirky_pwr_ctrl_change()
138 ret = snd_soc_component_update_bits(tas2764->component, in tas2764_do_quirky_pwr_ctrl_change()
143 ret = regmap_multi_reg_write(tas2764->regmap, in tas2764_do_quirky_pwr_ctrl_change()
148 ret = snd_soc_component_update_bits(tas2764->component, TAS2764_PWR_CTRL, in tas2764_do_quirky_pwr_ctrl_change()