Home
last modified time | relevance | path

Searched refs:rt712 (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/sound/soc/codecs/
Drt712-sdca.c27 static int rt712_sdca_index_write(struct rt712_sdca_priv *rt712, in rt712_sdca_index_write() argument
31 struct regmap *regmap = rt712->mbq_regmap; in rt712_sdca_index_write()
36 dev_err(&rt712->slave->dev, in rt712_sdca_index_write()
43 static int rt712_sdca_index_read(struct rt712_sdca_priv *rt712, in rt712_sdca_index_read() argument
47 struct regmap *regmap = rt712->mbq_regmap; in rt712_sdca_index_read()
52 dev_err(&rt712->slave->dev, in rt712_sdca_index_read()
59 static int rt712_sdca_index_update_bits(struct rt712_sdca_priv *rt712, in rt712_sdca_index_update_bits() argument
65 ret = rt712_sdca_index_read(rt712, nid, reg, &tmp); in rt712_sdca_index_update_bits()
70 return rt712_sdca_index_write(rt712, nid, reg, tmp); in rt712_sdca_index_update_bits()
73 static int rt712_sdca_calibration(struct rt712_sdca_priv *rt712) in rt712_sdca_calibration() argument
[all …]
Drt712-sdca-dmic.c132 static int rt712_sdca_dmic_index_write(struct rt712_sdca_dmic_priv *rt712, in rt712_sdca_dmic_index_write() argument
136 struct regmap *regmap = rt712->mbq_regmap; in rt712_sdca_dmic_index_write()
141 dev_err(&rt712->slave->dev, in rt712_sdca_dmic_index_write()
148 static int rt712_sdca_dmic_index_read(struct rt712_sdca_dmic_priv *rt712, in rt712_sdca_dmic_index_read() argument
152 struct regmap *regmap = rt712->mbq_regmap; in rt712_sdca_dmic_index_read()
157 dev_err(&rt712->slave->dev, in rt712_sdca_dmic_index_read()
164 static int rt712_sdca_dmic_index_update_bits(struct rt712_sdca_dmic_priv *rt712, in rt712_sdca_dmic_index_update_bits() argument
170 ret = rt712_sdca_dmic_index_read(rt712, nid, reg, &tmp); in rt712_sdca_dmic_index_update_bits()
175 return rt712_sdca_dmic_index_write(rt712, nid, reg, tmp); in rt712_sdca_dmic_index_update_bits()
180 struct rt712_sdca_dmic_priv *rt712 = dev_get_drvdata(dev); in rt712_sdca_dmic_io_init() local
[all …]
Drt712-sdca-sdw.c159 struct rt712_sdca_priv *rt712 = dev_get_drvdata(&slave->dev); in rt712_sdca_update_status() local
162 rt712->hw_init = false; in rt712_sdca_update_status()
165 if (rt712->hs_jack) { in rt712_sdca_update_status()
172 sdw_write_no_pm(rt712->slave, SDW_SCP_SDCA_INTMASK1, in rt712_sdca_update_status()
174 sdw_write_no_pm(rt712->slave, SDW_SCP_SDCA_INTMASK2, in rt712_sdca_update_status()
183 if (rt712->hw_init || status != SDW_SLAVE_ATTACHED) in rt712_sdca_update_status()
257 struct rt712_sdca_priv *rt712 = dev_get_drvdata(&slave->dev); in rt712_sdca_interrupt_callback() local
266 if (cancel_delayed_work_sync(&rt712->jack_detect_work)) { in rt712_sdca_interrupt_callback()
269 if (rt712->scp_sdca_stat2) in rt712_sdca_interrupt_callback()
270 scp_sdca_stat2 = rt712->scp_sdca_stat2; in rt712_sdca_interrupt_callback()
[all …]
Drt712-sdca.h256 int rt712_sdca_jack_detect(struct rt712_sdca_priv *rt712, bool *hp, bool *mic);
DMakefile258 snd-soc-rt712-sdca-y := rt712-sdca.o rt712-sdca-sdw.o
259 snd-soc-rt712-sdca-dmic-y := rt712-sdca-dmic.o
661 obj-$(CONFIG_SND_SOC_RT712_SDCA_SDW) += snd-soc-rt712-sdca.o
662 obj-$(CONFIG_SND_SOC_RT712_SDCA_DMIC_SDW) += snd-soc-rt712-sdca-dmic.o