Home
last modified time | relevance | path

Searched refs:rt700 (Results 1 – 3 of 3) sorted by relevance

/linux/sound/soc/codecs/
H A Drt700.c3 // 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
346 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
369 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component); rt700_set_amp_gain_put() local
463 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component); rt700_set_amp_gain_get() local
529 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component); rt700_mux_get() local
560 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component); rt700_mux_put() local
640 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component); rt700_dac_front_event() local
660 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component); rt700_dac_surround_event() local
680 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component); rt700_adc_09_event() local
700 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component); rt700_adc_08_event() local
720 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component); rt700_hpo_mux_event() local
745 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component); rt700_spk_pga_event() local
824 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component); rt700_probe() local
844 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component); rt700_set_bias_level() local
900 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component); rt700_pcm_hw_params() local
983 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component); rt700_pcm_hw_free() local
1056 struct rt700_priv *rt700 = dev_get_drvdata(dev); rt700_clock_config() local
1096 struct rt700_priv *rt700; rt700_init() local
1152 struct rt700_priv *rt700 = dev_get_drvdata(dev); rt700_io_init() local
[all...]
H A Drt700-sdw.c88 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 …]
H A Drt700.h169 int rt700_jack_detect(struct rt700_priv *rt700, bool *hp, bool *mic);