Searched refs:wm8994 (Results 1 - 18 of 18) sorted by relevance

/linux-master/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) argument
87 ret = regmap_read(wm8994->regmap, reg, &val);
95 static inline int wm8994_reg_write(struct wm8994 *wm8994, unsigned short reg, argument
98 return regmap_write(wm8994->regmap, reg, val);
101 static inline int wm8994_bulk_read(struct wm8994 *wm899 argument
107 wm8994_bulk_write(struct wm8994 *wm8994, unsigned short reg, int count, const u16 *buf) argument
113 wm8994_set_bits(struct wm8994 *wm8994, unsigned short reg, unsigned short mask, unsigned short val) argument
120 wm8994_request_irq(struct wm8994 *wm8994, int irq, irq_handler_t handler, const char *name, void *data) argument
130 wm8994_free_irq(struct wm8994 *wm8994, int irq, void *data) argument
[all...]
/linux-master/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 local
179 struct wm8994 *wm8994 = dev_get_drvdata(dev); local
260 wm8994_set_pdata_from_of(struct wm8994 *wm8994) argument
294 wm8994_set_pdata_from_of(struct wm8994 *wm8994) argument
303 wm8994_device_init(struct wm8994 *wm8994, int irq) argument
593 wm8994_device_exit(struct wm8994 *wm8994) argument
614 struct wm8994 *wm8994; local
640 struct wm8994 *wm8994 = i2c_get_clientdata(i2c); 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; local
156 while (gpio_get_value_cansleep(wm8994->pdata.irq_gpio))
157 handle_nested_irq(irq_find_mapping(wm8994->edge_irq, 0));
165 struct wm8994 *wm899 local
180 wm8994_irq_init(struct wm8994 *wm8994) argument
255 wm8994_irq_exit(struct wm8994 *wm8994) argument
[all...]
H A DMakefile67 wm8994-objs := wm8994-core.o wm8994-irq.o wm8994-regmap.o
68 obj-$(CONFIG_MFD_WM8994) += wm8994.o
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); local
1198 if (wm8994->cust_id > 1 || wm8994->revision > 1)
/linux-master/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 in struct:wm8994_gpio
34 struct wm8994 *wm8994 = wm8994_gpio->wm8994; local
36 switch (wm8994
57 struct wm8994 *wm8994 = wm8994_gpio->wm8994; local
66 struct wm8994 *wm8994 = wm8994_gpio->wm8994; local
83 struct wm8994 *wm8994 = wm8994_gpio->wm8994; local
95 struct wm8994 *wm8994 = wm8994_gpio->wm8994; local
107 struct wm8994 *wm8994 = wm8994_gpio->wm8994; local
127 struct wm8994 *wm8994 = wm8994_gpio->wm8994; local
191 struct wm8994 *wm8994 = wm8994_gpio->wm8994; local
266 struct wm8994 *wm8994 = dev_get_drvdata(pdev->dev.parent); local
[all...]
H A DMakefile191 obj-$(CONFIG_GPIO_WM8994) += gpio-wm8994.o
/linux-master/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); local
53 if (wm8994->cur_fw == fw)
149 wm8994_bulk_write(wm8994->wm8994,
170 wm8994
190 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
234 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
295 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
326 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
438 wm8958_dsp2_busy(struct wm8994_priv *wm8994, int aif) argument
457 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
479 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
501 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
513 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
547 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
569 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
580 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
602 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
624 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
636 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
685 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
700 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
747 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
769 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
791 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
803 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
864 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
876 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
888 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
899 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); 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); local
114 struct wm8994 *control = wm8994->wm8994;
164 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
218 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
325 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
362 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
385 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
397 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
469 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
492 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
744 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
767 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
784 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
811 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
843 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
922 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
1041 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
1061 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
1102 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
1299 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
1317 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
1335 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
1368 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
2208 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
2487 wm8994_set_mclk_rate(struct wm8994_priv *wm8994, unsigned int id, unsigned int *freq) argument
2508 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
2617 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
2699 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
2758 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
2914 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
3094 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
3301 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
3320 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
3343 wm8994_handle_retune_mobile_pdata(struct wm8994_priv *wm8994) argument
3411 wm8994_handle_pdata(struct wm8994_priv *wm8994) argument
3507 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
3657 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
3672 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
3700 struct wm8994_priv *wm8994 = container_of(work, local
3726 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
3772 struct wm8994_priv *wm8994 = container_of(work, struct wm8994_priv, local
3812 struct wm8994_priv *wm8994 = data; local
3901 struct wm8994_priv *wm8994 = container_of(work, local
3932 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
4022 struct wm8994_priv *wm8994 = container_of(work, local
4040 struct wm8994_priv *wm8994 = data; local
4153 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
4572 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); local
4626 struct wm8994_priv *wm8994; local
4668 struct wm8994_priv *wm8994 = dev_get_drvdata(dev); local
4681 struct wm8994_priv *wm8994 = dev_get_drvdata(dev); local
[all...]
H A Dwm8994.h3 * wm8994.h -- WM8994 Soc Audio driver
78 struct wm8994;
82 struct wm8994 *wm8994; member in struct:wm8994_priv
H A DMakefile370 snd-soc-wm8994-objs := wm8994.o wm8958-dsp2.o
767 obj-$(CONFIG_SND_SOC_WM8994) += snd-soc-wm8994.o
H A Dwm_hubs.c16 #include <linux/mfd/wm8994/registers.h>
/linux-master/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 in struct:wm8994_ldo
49 switch (ldo->wm8994->type) {
151 struct wm8994 *wm8994 = dev_get_drvdata(pdev->dev.parent); local
152 struct wm8994_pdata *pdata = dev_get_platdata(wm8994
[all...]
H A DMakefile199 obj-$(CONFIG_REGULATOR_WM8994) += wm8994-regulator.o
/linux-master/sound/soc/samsung/
H A DMakefile16 snd-soc-smdk-wm8994-objs := smdk_wm8994.o
28 snd-soc-aries-wm8994-objs := 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
H A Dmidas_wm1811.c10 #include <linux/mfd/wm8994/registers.h>
19 #include "../codecs/wm8994.h"
380 DAILINK_COMP_ARRAY(COMP_CODEC(NULL, "wm8994-aif1")),
385 DAILINK_COMP_ARRAY(COMP_CODEC(NULL, "wm8994-aif2")),
390 DAILINK_COMP_ARRAY(COMP_CODEC(NULL, "wm8994-aif3")),
H A Daries_wm8994.c5 #include <linux/mfd/wm8994/registers.h>
15 #include "../codecs/wm8994.h"
461 DAILINK_COMP_ARRAY(COMP_CODEC(NULL, "wm8994-aif1")),
466 DAILINK_COMP_ARRAY(COMP_CODEC(NULL, "wm8994-aif2")));
470 DAILINK_COMP_ARRAY(COMP_CODEC(NULL, "wm8994-aif3")));
526 .compatible = "samsung,fascinate4g-wm8994",
530 .compatible = "samsung,aries-wm8994",
691 .name = "aries-audio-wm8994",
702 MODULE_ALIAS("platform:aries-audio-wm8994");
/linux-master/arch/arm/mach-s3c/
H A Dmach-crag6410-module.c16 #include <linux/mfd/wm8994/pdata.h>

Completed in 370 milliseconds