Home
last modified time | relevance | path

Searched refs:wm8994 (Results 1 – 16 of 16) sorted by relevance

/linux/drivers/mfd/
H A Dwm8994-core.c3 * wm8994-core.c -- Device access for Wolfson WM8994
23 #include <linux/mfd/wm8994/core.h>
24 #include <linux/mfd/wm8994/pdata.h>
25 #include <linux/mfd/wm8994/registers.h>
27 #include "wm8994.h"
31 .name = "wm8994-ldo",
36 .name = "wm8994-ldo",
60 .name = "wm8994-codec",
66 .name = "wm8994-gpio",
114 struct wm8994 *wm899 in wm8994_suspend() local
179 struct wm8994 *wm8994 = dev_get_drvdata(dev); wm8994_resume() local
260 wm8994_set_pdata_from_of(struct wm8994 * wm8994) wm8994_set_pdata_from_of() argument
294 wm8994_set_pdata_from_of(struct wm8994 * wm8994) wm8994_set_pdata_from_of() argument
303 wm8994_device_init(struct wm8994 * wm8994,int irq) wm8994_device_init() argument
593 wm8994_device_exit(struct wm8994 * wm8994) wm8994_device_exit() argument
614 struct wm8994 *wm8994; wm8994_i2c_probe() local
640 struct wm8994 *wm8994 = i2c_get_clientdata(i2c); wm8994_i2c_remove() local
[all...]
H A Dwm8994-irq.c3 * wm8994-irq.c -- Interrupt controller support for Wolfson WM8994
20 #include <linux/mfd/wm8994/core.h>
21 #include <linux/mfd/wm8994/pdata.h>
22 #include <linux/mfd/wm8994/registers.h>
127 .name = "wm8994",
154 struct wm8994 *wm8994 = data; in wm8994_edge_irq() local
156 while (gpio_get_value_cansleep(wm8994->pdata.irq_gpio)) in wm8994_edge_irq()
157 handle_nested_irq(irq_find_mapping(wm8994->edge_irq, 0)); in wm8994_edge_irq()
165 struct wm8994 *wm899 in wm8994_edge_irq_map() local
180 wm8994_irq_init(struct wm8994 * wm8994) wm8994_irq_init() argument
253 wm8994_irq_exit(struct wm8994 * wm8994) wm8994_irq_exit() argument
[all...]
H A Dwm8994-regmap.c3 * wm8994-regmap.c -- Register map data for WM8994 series devices
10 #include <linux/mfd/wm8994/core.h>
11 #include <linux/mfd/wm8994/registers.h>
15 #include "wm8994.h"
1194 struct wm8994 *wm8994 = dev_get_drvdata(dev); in wm1811_volatile_register() local
1198 if (wm8994->cust_id > 1 || wm8994->revision > 1) in wm1811_volatile_register()
/linux/sound/soc/codecs/
H A Dwm8958-dsp2.c23 #include <linux/mfd/wm8994/core.h>
24 #include <linux/mfd/wm8994/registers.h>
25 #include <linux/mfd/wm8994/pdata.h>
26 #include <linux/mfd/wm8994/gpio.h>
30 #include "wm8994.h"
44 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); in wm8958_dsp2_fw() local
53 if (wm8994->cur_fw == fw) in wm8958_dsp2_fw()
149 wm8994_bulk_write(wm8994->wm8994, in wm8958_dsp2_fw()
170 wm8994 in wm8958_dsp2_fw()
190 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8958_dsp_start_mbc() local
234 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8958_dsp_start_vss() local
295 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8958_dsp_start_enh_eq() local
326 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8958_dsp_apply() local
438 wm8958_dsp2_busy(struct wm8994_priv * wm8994,int aif) wm8958_dsp2_busy() argument
457 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8958_put_mbc_enum() local
479 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8958_get_mbc_enum() local
501 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8958_mbc_get() local
513 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8958_mbc_put() local
547 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8958_put_vss_enum() local
569 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8958_get_vss_enum() local
580 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8958_put_vss_hpf_enum() local
602 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8958_get_vss_hpf_enum() local
624 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8958_vss_get() local
636 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8958_vss_put() local
685 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8958_hpf_get() local
700 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8958_hpf_put() local
747 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8958_put_enh_eq_enum() local
769 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8958_get_enh_eq_enum() local
791 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8958_enh_eq_get() local
803 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8958_enh_eq_put() local
864 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8958_enh_eq_loaded() local
876 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8958_mbc_vss_loaded() local
888 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8958_mbc_loaded() local
899 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8958_dsp2_init() local
[all...]
H A Dwm8994.c3 * wm8994.c -- WM8994 ALSA SoC Audio driver
30 #include <linux/mfd/wm8994/core.h>
31 #include <linux/mfd/wm8994/registers.h>
32 #include <linux/mfd/wm8994/pdata.h>
33 #include <linux/mfd/wm8994/gpio.h>
35 #include "wm8994.h"
113 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); in wm8958_micd_set_rate() local
114 struct wm8994 *control = wm8994->wm8994; in wm8958_micd_set_rate()
164 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); configure_aif_clock() local
218 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); configure_clock() local
325 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8994_set_drc() local
362 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8994_put_drc_enum() local
385 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8994_get_drc_enum() local
397 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8994_set_retune_mobile() local
469 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8994_put_retune_mobile_enum() local
492 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8994_get_retune_mobile_enum() local
744 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm1811_jackdet_set_mode() local
767 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); active_reference() local
784 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); active_dereference() local
811 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); clk_sys_event() local
843 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); vmid_reference() local
922 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); vmid_dereference() local
1041 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8994_update_vu_bits() local
1061 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); aif_mclk_set() local
1102 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); aif1clk_ev() local
1299 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); aif1clk_late_ev() local
1317 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); aif2clk_late_ev() local
1335 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); late_enable_ev() local
1368 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); late_disable_ev() local
2208 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); _wm8994_set_fll() local
2487 wm8994_set_mclk_rate(struct wm8994_priv * wm8994,unsigned int id,unsigned int * freq) wm8994_set_mclk_rate() argument
2508 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8994_set_dai_sysclk() local
2617 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8994_set_bias_level() local
2699 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8994_vmid_mode() local
2758 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8994_set_dai_fmt() local
2914 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8994_hw_params() local
3094 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8994_aif3_hw_params() local
3301 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8994_component_suspend() local
3320 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8994_component_resume() local
3343 wm8994_handle_retune_mobile_pdata(struct wm8994_priv * wm8994) wm8994_handle_retune_mobile_pdata() argument
3411 wm8994_handle_pdata(struct wm8994_priv * wm8994) wm8994_handle_pdata() argument
3507 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8994_mic_detect() local
3657 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm1811_micd_stop() local
3672 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8958_button_det() local
3700 struct wm8994_priv *wm8994 = container_of(work, wm8958_open_circuit_work() local
3726 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8958_mic_id() local
3772 struct wm8994_priv *wm8994 = container_of(work, struct wm8994_priv, wm1811_mic_work() local
3812 struct wm8994_priv *wm8994 = data; wm1811_jackdet_irq() local
3901 struct wm8994_priv *wm8994 = container_of(work, wm1811_jackdet_bootstrap() local
3932 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8958_mic_detect() local
4022 struct wm8994_priv *wm8994 = container_of(work, wm8958_mic_work() local
4040 struct wm8994_priv *wm8994 = data; wm8958_mic_irq() local
4153 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8994_component_probe() local
4572 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); wm8994_component_remove() local
4626 struct wm8994_priv *wm8994; wm8994_probe() local
4667 struct wm8994_priv *wm8994 = dev_get_drvdata(dev); wm8994_suspend() local
4680 struct wm8994_priv *wm8994 = dev_get_drvdata(dev); wm8994_resume() local
[all...]
H A Dwm8994.h3 * wm8994.h -- WM8994 Soc Audio driver
78 struct wm8994;
82 struct wm8994 *wm8994; member
H A DMakefile400 snd-soc-wm8994-y := wm8994.o wm8958-dsp2.o
830 obj-$(CONFIG_SND_SOC_WM8994) += snd-soc-wm8994.o
/linux/include/linux/mfd/wm8994/
H A Dcore.h3 * include/linux/mfd/wm8994/core.h -- Core interface for WM8994
17 #include <linux/mfd/wm8994/pdata.h>
53 struct wm8994 { struct
82 static inline int wm8994_reg_read(struct wm8994 *wm8994, unsigned short reg) in wm8994_reg_read() argument
87 ret = regmap_read(wm8994->regmap, reg, &val); in wm8994_reg_read()
95 static inline int wm8994_reg_write(struct wm8994 *wm8994, unsigned short reg, in wm8994_reg_write() argument
98 return regmap_write(wm8994->regmap, reg, val); in wm8994_reg_write()
101 static inline int wm8994_bulk_read(struct wm8994 *wm899 argument
54 pdatawm8994 global() argument
56 typewm8994 global() argument
57 revisionwm8994 global() argument
58 cust_idwm8994 global() argument
107 wm8994_bulk_write(struct wm8994 * wm8994,unsigned short reg,int count,const u16 * buf) wm8994_bulk_write() argument
113 wm8994_set_bits(struct wm8994 * wm8994,unsigned short reg,unsigned short mask,unsigned short val) wm8994_set_bits() argument
120 wm8994_request_irq(struct wm8994 * wm8994,int irq,irq_handler_t handler,const char * name,void * data) wm8994_request_irq() argument
130 wm8994_free_irq(struct wm8994 * wm8994,int irq,void * data) wm8994_free_irq() argument
[all...]
/linux/drivers/gpio/
H A Dgpio-wm8994.c21 #include <linux/mfd/wm8994/core.h>
22 #include <linux/mfd/wm8994/pdata.h>
23 #include <linux/mfd/wm8994/gpio.h>
24 #include <linux/mfd/wm8994/registers.h>
27 struct wm8994 *wm8994; member
34 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_request() local
36 switch (wm8994 in wm8994_gpio_request()
57 struct wm8994 *wm8994 = wm8994_gpio->wm8994; wm8994_gpio_direction_in() local
66 struct wm8994 *wm8994 = wm8994_gpio->wm8994; wm8994_gpio_get() local
83 struct wm8994 *wm8994 = wm8994_gpio->wm8994; wm8994_gpio_direction_out() local
96 struct wm8994 *wm8994 = wm8994_gpio->wm8994; wm8994_gpio_set() local
109 struct wm8994 *wm8994 = wm8994_gpio->wm8994; wm8994_gpio_set_config() local
129 struct wm8994 *wm8994 = wm8994_gpio->wm8994; wm8994_gpio_to_irq() local
193 struct wm8994 *wm8994 = wm8994_gpio->wm8994; wm8994_gpio_dbg_show() local
268 struct wm8994 *wm8994 = dev_get_drvdata(pdev->dev.parent); wm8994_gpio_probe() local
[all...]
H A DMakefile206 obj-$(CONFIG_GPIO_WM8994) += gpio-wm8994.o
/linux/drivers/regulator/
H A Dwm8994-regulator.c3 // wm8994-regulator.c -- Regulator driver for the WM8994
20 #include <linux/mfd/wm8994/core.h>
21 #include <linux/mfd/wm8994/registers.h>
22 #include <linux/mfd/wm8994/pdata.h>
26 struct wm8994 *wm8994; member
49 switch (ldo->wm8994->type) { in wm8994_ldo2_list_voltage()
151 struct wm8994 *wm8994 = dev_get_drvdata(pdev->dev.parent); in wm8994_ldo_probe() local
152 struct wm8994_pdata *pdata = dev_get_platdata(wm8994 in wm8994_ldo_probe()
[all...]
H A DMakefile205 obj-$(CONFIG_REGULATOR_WM8994) += wm8994-regulator.o
/linux/sound/soc/samsung/
H A DMakefile16 snd-soc-smdk-wm8994-y := smdk_wm8994.o
28 snd-soc-aries-wm8994-y := aries_wm8994.o
31 obj-$(CONFIG_SND_SOC_SAMSUNG_SMDK_WM8994) += snd-soc-smdk-wm8994.o
43 obj-$(CONFIG_SND_SOC_SAMSUNG_ARIES_WM8994) += snd-soc-aries-wm8994.o
/linux/arch/arm/boot/dts/samsung/
H A Dexynos5250-smdk5250.dts59 compatible = "samsung,smdk-wm8994";
62 samsung,audio-codec = <&wm8994>;
298 wm8994: audio-codec@1a { label
299 compatible = "wlf,wm8994";
H A Ds5pv210-galaxys.dts88 compatible = "samsung,aries-wm8994";
139 sound-dai = <&wm8994>;
H A Ds5pv210-aries.dtsi116 wm8994: audio-codec@1a { label
117 compatible = "wlf,wm8994";