Home
last modified time | relevance | path

Searched refs:tas2764 (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/sound/soc/codecs/
H A Dtas2764.c26 #include "tas2764.h"
42 static void tas2764_reset(struct tas2764_priv *tas2764) in tas2764_reset() argument
44 if (tas2764->reset_gpio) { in tas2764_reset()
45 gpiod_set_value_cansleep(tas2764->reset_gpio, 0); in tas2764_reset()
47 gpiod_set_value_cansleep(tas2764->reset_gpio, 1); in tas2764_reset()
51 snd_soc_component_write(tas2764->component, TAS2764_SW_RST, in tas2764_reset()
56 static int tas2764_update_pwr_ctrl(struct tas2764_priv *tas2764) in tas2764_update_pwr_ctrl() argument
58 struct snd_soc_component *component = tas2764->component; in tas2764_update_pwr_ctrl()
62 if (tas2764->dac_powered) in tas2764_update_pwr_ctrl()
63 val = tas2764 in tas2764_update_pwr_ctrl()
79 struct tas2764_priv *tas2764 = snd_soc_component_get_drvdata(component); tas2764_codec_suspend() local
100 struct tas2764_priv *tas2764 = snd_soc_component_get_drvdata(component); tas2764_codec_resume() local
137 struct tas2764_priv *tas2764 = snd_soc_component_get_drvdata(component); tas2764_dac_event() local
192 struct tas2764_priv *tas2764 = tas2764_mute() local
199 tas2764_set_bitwidth(struct tas2764_priv *tas2764, int bitwidth) tas2764_set_bitwidth() argument
262 tas2764_set_samplerate(struct tas2764_priv *tas2764, int samplerate) tas2764_set_samplerate() argument
304 struct tas2764_priv *tas2764 = snd_soc_component_get_drvdata(component); tas2764_hw_params() local
317 struct tas2764_priv *tas2764 = snd_soc_component_get_drvdata(component); tas2764_set_fmt() local
380 struct tas2764_priv *tas2764 = snd_soc_component_get_drvdata(component); tas2764_set_dai_tdm_slot() local
481 struct tas2764_priv *tas2764 = snd_soc_component_get_drvdata(component); tas2764_codec_probe() local
567 tas2764_parse_dt(struct device *dev, struct tas2764_priv *tas2764) tas2764_parse_dt() argument
604 struct tas2764_priv *tas2764; tas2764_i2c_probe() local
[all...]
H A DMakefile307 snd-soc-tas2764-objs := tas2764.o
521 obj-$(CONFIG_SND_SOC_TAS2764) += snd-soc-tas2764.o
/kernel/linux/linux-6.6/sound/soc/codecs/
H A Dtas2764.c26 #include "tas2764.h"
65 struct tas2764_priv *tas2764 = data; in tas2764_irq() local
71 latched[i] = snd_soc_component_read(tas2764->component, in tas2764_irq()
76 dev_crit_ratelimited(tas2764->dev, "%s\n", in tas2764_irq()
83 dev_err_ratelimited(tas2764->dev, "other context to the fault: %02x,%02x,%02x,%02x,%02x", in tas2764_irq()
85 snd_soc_component_update_bits(tas2764->component, in tas2764_irq()
94 static void tas2764_reset(struct tas2764_priv *tas2764) in tas2764_reset() argument
96 if (tas2764->reset_gpio) { in tas2764_reset()
97 gpiod_set_value_cansleep(tas2764->reset_gpio, 0); in tas2764_reset()
99 gpiod_set_value_cansleep(tas2764 in tas2764_reset()
108 tas2764_update_pwr_ctrl(struct tas2764_priv *tas2764) tas2764_update_pwr_ctrl() argument
131 struct tas2764_priv *tas2764 = snd_soc_component_get_drvdata(component); tas2764_codec_suspend() local
152 struct tas2764_priv *tas2764 = snd_soc_component_get_drvdata(component); tas2764_codec_resume() local
189 struct tas2764_priv *tas2764 = snd_soc_component_get_drvdata(component); tas2764_dac_event() local
244 struct tas2764_priv *tas2764 = tas2764_mute() local
251 tas2764_set_bitwidth(struct tas2764_priv *tas2764, int bitwidth) tas2764_set_bitwidth() argument
314 tas2764_set_samplerate(struct tas2764_priv *tas2764, int samplerate) tas2764_set_samplerate() argument
356 struct tas2764_priv *tas2764 = snd_soc_component_get_drvdata(component); tas2764_hw_params() local
369 struct tas2764_priv *tas2764 = snd_soc_component_get_drvdata(component); tas2764_set_fmt() local
432 struct tas2764_priv *tas2764 = snd_soc_component_get_drvdata(component); tas2764_set_dai_tdm_slot() local
533 struct tas2764_priv *tas2764 = snd_soc_component_get_drvdata(component); tas2764_codec_probe() local
668 tas2764_parse_dt(struct device *dev, struct tas2764_priv *tas2764) tas2764_parse_dt() argument
704 struct tas2764_priv *tas2764; tas2764_i2c_probe() local
[all...]
H A DMakefile382 snd-soc-tas2764-objs := tas2764.o
654 obj-$(CONFIG_SND_SOC_TAS2764) += snd-soc-tas2764.o

Completed in 10 milliseconds