/kernel/linux/linux-6.6/sound/soc/codecs/ |
H A D | rt700.c | 3 // rt700.c -- rt700 ALSA SoC audio driver 30 #include "rt700.h" 61 static unsigned int rt700_button_detect(struct rt700_priv *rt700) in rt700_button_detect() argument 66 ret = rt700_index_read(rt700->regmap, RT700_IRQ_FLAG_TABLE1, &val80); in rt700_button_detect() 69 ret = rt700_index_read(rt700->regmap, RT700_IRQ_FLAG_TABLE2, &val81); in rt700_button_detect() 106 static int rt700_headset_detect(struct rt700_priv *rt700) in rt700_headset_detect() argument 112 ret = rt700_index_read(rt700->regmap, in rt700_headset_detect() 122 ret = rt700_index_read(rt700->regmap, in rt700_headset_detect() 128 ret = regmap_read(rt700 in rt700_headset_detect() 158 struct rt700_priv *rt700 = rt700_jack_detect_handler() local 221 struct rt700_priv *rt700 = container_of(work, struct rt700_priv, rt700_btn_check_handler() local 273 rt700_jack_init(struct rt700_priv *rt700) rt700_jack_init() argument 318 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component); rt700_set_jack_detect() local 347 rt700_get_gain(struct rt700_priv *rt700, unsigned int addr_h, unsigned int addr_l, unsigned int val_h, unsigned int *r_val, unsigned int *l_val) rt700_get_gain() argument 370 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component); rt700_set_amp_gain_put() local 464 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component); rt700_set_amp_gain_get() local 530 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component); rt700_mux_get() local 561 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component); rt700_mux_put() local 641 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component); rt700_dac_front_event() local 661 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component); rt700_dac_surround_event() local 681 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component); rt700_adc_09_event() local 701 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component); rt700_adc_08_event() local 721 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component); rt700_hpo_mux_event() local 746 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component); rt700_spk_pga_event() local 825 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component); rt700_probe() local 845 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component); rt700_set_bias_level() local 901 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component); rt700_pcm_hw_params() local 984 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component); rt700_pcm_hw_free() local 1057 struct rt700_priv *rt700 = dev_get_drvdata(dev); rt700_clock_config() local 1097 struct rt700_priv *rt700; rt700_init() local 1153 struct rt700_priv *rt700 = dev_get_drvdata(dev); rt700_io_init() local [all...] |
H A D | rt700-sdw.c | 3 // rt700-sdw.c -- rt700 ALSA SoC audio driver 19 #include "rt700.h" 20 #include "rt700-sdw.h" 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 in rt700_sdw_read() 211 struct rt700_priv *rt700 = dev_get_drvdata(dev); rt700_sdw_write() local 316 struct rt700_priv *rt700 = dev_get_drvdata(&slave->dev); rt700_update_status() local 399 struct rt700_priv *rt700 = dev_get_drvdata(&slave->dev); rt700_bus_config() local 414 struct rt700_priv *rt700 = dev_get_drvdata(&slave->dev); rt700_interrupt_callback() local 460 struct rt700_priv *rt700 = dev_get_drvdata(&slave->dev); rt700_sdw_remove() local 480 struct rt700_priv *rt700 = dev_get_drvdata(dev); rt700_dev_suspend() local 496 struct rt700_priv *rt700 = dev_get_drvdata(dev); rt700_dev_system_suspend() local 526 struct rt700_priv *rt700 = dev_get_drvdata(dev); rt700_dev_resume() local [all...] |
H A D | rt700.h | 3 * rt700.h -- RT700 ALSA SoC audio driver header 169 int rt700_jack_detect(struct rt700_priv *rt700, bool *hp, bool *mic);
|
H A D | Makefile | 239 snd-soc-rt700-objs := rt700.o rt700-sdw.o 621 obj-$(CONFIG_SND_SOC_RT700) += snd-soc-rt700.o
|
/kernel/linux/linux-5.10/sound/soc/codecs/ |
H A D | rt700.c | 3 // rt700.c -- rt700 ALSA SoC audio driver 29 #include "rt700.h" 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 in rt700_headset_detect() 157 struct rt700_priv *rt700 = rt700_jack_detect_handler() local 220 struct rt700_priv *rt700 = container_of(work, struct rt700_priv, rt700_btn_check_handler() local 272 rt700_jack_init(struct rt700_priv *rt700) rt700_jack_init() argument 317 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component); rt700_set_jack_detect() local 332 rt700_get_gain(struct rt700_priv *rt700, unsigned int addr_h, unsigned int addr_l, unsigned int val_h, unsigned int *r_val, unsigned int *l_val) rt700_get_gain() argument 355 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component); rt700_set_amp_gain_put() local 449 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component); rt700_set_amp_gain_get() local 515 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component); rt700_mux_get() local 546 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component); rt700_mux_put() local 626 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component); rt700_dac_front_event() local 646 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component); rt700_dac_surround_event() local 666 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component); rt700_adc_09_event() local 686 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component); rt700_adc_08_event() local 706 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component); rt700_hpo_mux_event() local 731 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component); rt700_spk_pga_event() local 810 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component); rt700_probe() local 822 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component); rt700_set_bias_level() local 896 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component); rt700_pcm_hw_params() local 990 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component); rt700_pcm_hw_free() local 1063 struct rt700_priv *rt700 = dev_get_drvdata(dev); rt700_clock_config() local 1103 struct rt700_priv *rt700; rt700_init() local 1134 struct rt700_priv *rt700 = dev_get_drvdata(dev); rt700_io_init() local [all...] |
H A D | rt700-sdw.c | 3 // rt700-sdw.c -- rt700 ALSA SoC audio driver 18 #include "rt700.h" 19 #include "rt700-sdw.h" 87 struct rt700_priv *rt700 = dev_get_drvdata(dev); in rt700_sdw_read() local 102 ret = regmap_write(rt700->sdw_regmap, reg, 0); in rt700_sdw_read() 107 ret = regmap_write(rt700->sdw_regmap, reg2, val2); in rt700_sdw_read() 112 ret = regmap_write(rt700->sdw_regmap, in rt700_sdw_read() 118 ret = regmap_write(rt700->sdw_regmap, reg4, (*val & 0xff)); in rt700_sdw_read() 123 ret = regmap_write(rt700 in rt700_sdw_read() 210 struct rt700_priv *rt700 = dev_get_drvdata(dev); rt700_sdw_write() local 315 struct rt700_priv *rt700 = dev_get_drvdata(&slave->dev); rt700_update_status() local 401 struct rt700_priv *rt700 = dev_get_drvdata(&slave->dev); rt700_bus_config() local 416 struct rt700_priv *rt700 = dev_get_drvdata(&slave->dev); rt700_interrupt_callback() local 462 struct rt700_priv *rt700 = dev_get_drvdata(&slave->dev); rt700_sdw_remove() local 480 struct rt700_priv *rt700 = dev_get_drvdata(dev); rt700_dev_suspend() local 498 struct rt700_priv *rt700 = dev_get_drvdata(dev); rt700_dev_resume() local [all...] |
H A D | rt700.h | 3 * rt700.h -- RT700 ALSA SoC audio driver header 172 int rt700_jack_detect(struct rt700_priv *rt700, bool *hp, bool *mic);
|
H A D | Makefile | 188 snd-soc-rt700-objs := rt700.o rt700-sdw.o 498 obj-$(CONFIG_SND_SOC_RT700) += snd-soc-rt700.o
|