Home
last modified time | relevance | path

Searched refs:rt722 (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/sound/soc/codecs/
Drt722-sdca.c28 int rt722_sdca_index_write(struct rt722_sdca_priv *rt722, in rt722_sdca_index_write() argument
31 struct regmap *regmap = rt722->mbq_regmap; in rt722_sdca_index_write()
37 dev_err(&rt722->slave->dev, in rt722_sdca_index_write()
44 int rt722_sdca_index_read(struct rt722_sdca_priv *rt722, in rt722_sdca_index_read() argument
48 struct regmap *regmap = rt722->mbq_regmap; in rt722_sdca_index_read()
53 dev_err(&rt722->slave->dev, in rt722_sdca_index_read()
60 static int rt722_sdca_index_update_bits(struct rt722_sdca_priv *rt722, in rt722_sdca_index_update_bits() argument
66 ret = rt722_sdca_index_read(rt722, nid, reg, &tmp); in rt722_sdca_index_update_bits()
71 return rt722_sdca_index_write(rt722, nid, reg, tmp); in rt722_sdca_index_update_bits()
92 static unsigned int rt722_sdca_button_detect(struct rt722_sdca_priv *rt722) in rt722_sdca_button_detect() argument
[all …]
Drt722-sdca-sdw.c166 struct rt722_sdca_priv *rt722 = dev_get_drvdata(&slave->dev); in rt722_sdca_update_status() local
169 rt722->hw_init = false; in rt722_sdca_update_status()
172 if (rt722->hs_jack) { in rt722_sdca_update_status()
179 sdw_write_no_pm(rt722->slave, SDW_SCP_SDCA_INTMASK1, in rt722_sdca_update_status()
181 sdw_write_no_pm(rt722->slave, SDW_SCP_SDCA_INTMASK2, in rt722_sdca_update_status()
190 if (rt722->hw_init || status != SDW_SLAVE_ATTACHED) in rt722_sdca_update_status()
270 struct rt722_sdca_priv *rt722 = dev_get_drvdata(&slave->dev); in rt722_sdca_interrupt_callback() local
275 if (cancel_delayed_work_sync(&rt722->jack_detect_work)) { in rt722_sdca_interrupt_callback()
278 if (rt722->scp_sdca_stat2) in rt722_sdca_interrupt_callback()
279 scp_sdca_stat2 = rt722->scp_sdca_stat2; in rt722_sdca_interrupt_callback()
[all …]
Drt722-sdca.h234 int rt722_sdca_index_write(struct rt722_sdca_priv *rt722,
236 int rt722_sdca_index_read(struct rt722_sdca_priv *rt722,
239 int rt722_sdca_jack_detect(struct rt722_sdca_priv *rt722, bool *hp, bool *mic);
DMakefile262 snd-soc-rt722-sdca-y := rt722-sdca.o rt722-sdca-sdw.o
665 obj-$(CONFIG_SND_SOC_RT722_SDCA_SDW) += snd-soc-rt722-sdca.o