Searched refs:tas2764 (Results 1 – 2 of 2) sorted by relevance
| /linux/sound/soc/codecs/ |
| H A D | tas2764.c | 73 struct tas2764_priv *tas2764 = data; in tas2764_irq() local 79 latched[i] = snd_soc_component_read(tas2764->component, in tas2764_irq() 84 dev_crit_ratelimited(tas2764->dev, "%s\n", in tas2764_irq() 91 dev_err_ratelimited(tas2764->dev, "other context to the fault: %02x,%02x,%02x,%02x,%02x", in tas2764_irq() 93 snd_soc_component_update_bits(tas2764->component, in tas2764_irq() 102 static void tas2764_reset(struct tas2764_priv *tas2764) in tas2764_reset() argument 104 if (tas2764->reset_gpio) { in tas2764_reset() 105 gpiod_set_value_cansleep(tas2764->reset_gpio, 0); in tas2764_reset() 107 gpiod_set_value_cansleep(tas2764->reset_gpio, 1); in tas2764_reset() 111 snd_soc_component_write(tas2764->component, TAS2764_SW_RST, in tas2764_reset() [all …]
|
| H A D | tas2764-quirks.h | 119 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()
|