Searched refs:rt700 (Results 1 – 4 of 4) sorted by relevance
/linux-5.19.10/sound/soc/codecs/ |
D | rt700.c | 60 static unsigned int rt700_button_detect(struct rt700_priv *rt700) in rt700_button_detect() argument 65 ret = rt700_index_read(rt700->regmap, RT700_IRQ_FLAG_TABLE1, &val80); in rt700_button_detect() 68 ret = rt700_index_read(rt700->regmap, RT700_IRQ_FLAG_TABLE2, &val81); in rt700_button_detect() 105 static int rt700_headset_detect(struct rt700_priv *rt700) in rt700_headset_detect() argument 111 ret = rt700_index_read(rt700->regmap, in rt700_headset_detect() 121 ret = rt700_index_read(rt700->regmap, in rt700_headset_detect() 127 ret = regmap_read(rt700->regmap, reg, &jack_status); in rt700_headset_detect() 136 rt700->jack_type = SND_JACK_HEADPHONE; in rt700_headset_detect() 139 rt700->jack_type = SND_JACK_HEADSET; in rt700_headset_detect() 157 struct rt700_priv *rt700 = in rt700_jack_detect_handler() local [all …]
|
D | rt700-sdw.c | 88 struct rt700_priv *rt700 = dev_get_drvdata(dev); in rt700_sdw_read() local 103 ret = regmap_write(rt700->sdw_regmap, reg, 0); in rt700_sdw_read() 108 ret = regmap_write(rt700->sdw_regmap, reg2, val2); in rt700_sdw_read() 113 ret = regmap_write(rt700->sdw_regmap, in rt700_sdw_read() 119 ret = regmap_write(rt700->sdw_regmap, reg4, (*val & 0xff)); in rt700_sdw_read() 124 ret = regmap_write(rt700->sdw_regmap, reg, *val); in rt700_sdw_read() 130 ret = regmap_write(rt700->sdw_regmap, in rt700_sdw_read() 136 ret = regmap_write(rt700->sdw_regmap, reg2, (*val & 0xff)); in rt700_sdw_read() 142 ret = regmap_write(rt700->sdw_regmap, in rt700_sdw_read() 146 ret = regmap_write(rt700->sdw_regmap, reg, (*val & 0xff)); in rt700_sdw_read() [all …]
|
D | rt700.h | 174 int rt700_jack_detect(struct rt700_priv *rt700, bool *hp, bool *mic);
|
D | Makefile | 217 snd-soc-rt700-objs := rt700.o rt700-sdw.o 565 obj-$(CONFIG_SND_SOC_RT700) += snd-soc-rt700.o
|