Home
last modified time | relevance | path

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

/Linux-v6.6/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.c141 struct rt712_sdca_priv *rt712 = dev_get_drvdata(&slave->dev); in rt712_sdca_update_status() local
144 rt712->hw_init = false; in rt712_sdca_update_status()
147 if (rt712->hs_jack) { in rt712_sdca_update_status()
154 sdw_write_no_pm(rt712->slave, SDW_SCP_SDCA_INTMASK1, in rt712_sdca_update_status()
156 sdw_write_no_pm(rt712->slave, SDW_SCP_SDCA_INTMASK2, in rt712_sdca_update_status()
165 if (rt712->hw_init || status != SDW_SLAVE_ATTACHED) in rt712_sdca_update_status()
237 struct rt712_sdca_priv *rt712 = dev_get_drvdata(&slave->dev); in rt712_sdca_interrupt_callback() local
246 if (cancel_delayed_work_sync(&rt712->jack_detect_work)) { in rt712_sdca_interrupt_callback()
249 if (rt712->scp_sdca_stat2) in rt712_sdca_interrupt_callback()
250 scp_sdca_stat2 = rt712->scp_sdca_stat2; in rt712_sdca_interrupt_callback()
[all …]
Drt712-sdca.h214 int rt712_sdca_jack_detect(struct rt712_sdca_priv *rt712, bool *hp, bool *mic);
DMakefile242 snd-soc-rt712-sdca-objs := rt712-sdca.o rt712-sdca-sdw.o
243 snd-soc-rt712-sdca-dmic-objs := rt712-sdca-dmic.o
624 obj-$(CONFIG_SND_SOC_RT712_SDCA_SDW) += snd-soc-rt712-sdca.o
625 obj-$(CONFIG_SND_SOC_RT712_SDCA_DMIC_SDW) += snd-soc-rt712-sdca-dmic.o