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

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/include/linux/mfd/wm8994/
H A Dcore.h2 * include/linux/mfd/wm8994/core.h -- Core interface for WM8994
47 struct wm8994 { struct
52 int (*read_dev)(struct wm8994 *wm8994, unsigned short reg,
54 int (*write_dev)(struct wm8994 *wm8994, unsigned short reg,
75 int wm8994_reg_read(struct wm8994 *wm8994, unsigned short reg);
76 int wm8994_reg_write(struct wm8994 *wm8994, unsigne
85 wm8994_request_irq(struct wm8994 *wm8994, int irq, irq_handler_t handler, const char *name, void *data) argument
95 wm8994_free_irq(struct wm8994 *wm8994, int irq, void *data) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/include/linux/mfd/wm8994/
H A Dcore.h2 * include/linux/mfd/wm8994/core.h -- Core interface for WM8994
47 struct wm8994 { struct
52 int (*read_dev)(struct wm8994 *wm8994, unsigned short reg,
54 int (*write_dev)(struct wm8994 *wm8994, unsigned short reg,
75 int wm8994_reg_read(struct wm8994 *wm8994, unsigned short reg);
76 int wm8994_reg_write(struct wm8994 *wm8994, unsigne
85 wm8994_request_irq(struct wm8994 *wm8994, int irq, irq_handler_t handler, const char *name, void *data) argument
95 wm8994_free_irq(struct wm8994 *wm8994, int irq, void *data) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/mfd/
H A Dwm8994-core.c2 * wm8994-core.c -- Device access for Wolfson WM8994
24 #include <linux/mfd/wm8994/core.h>
25 #include <linux/mfd/wm8994/pdata.h>
26 #include <linux/mfd/wm8994/registers.h>
28 static int wm8994_read(struct wm8994 *wm8994, unsigned short reg, argument
37 ret = wm8994->read_dev(wm8994, reg, bytes, dest);
44 dev_vdbg(wm8994->dev, "Read %04x from R%d(0x%x)\n",
54 * @wm8994
57 wm8994_reg_read(struct wm8994 *wm8994, unsigned short reg) argument
83 wm8994_bulk_read(struct wm8994 *wm8994, unsigned short reg, int count, u16 *buf) argument
98 wm8994_write(struct wm8994 *wm8994, unsigned short reg, int bytes, void *src) argument
124 wm8994_reg_write(struct wm8994 *wm8994, unsigned short reg, unsigned short val) argument
147 wm8994_set_bits(struct wm8994 *wm8994, unsigned short reg, unsigned short mask, unsigned short val) argument
224 struct wm8994 *wm8994 = dev_get_drvdata(dev); local
254 struct wm8994 *wm8994 = dev_get_drvdata(dev); local
308 wm8994_device_init(struct wm8994 *wm8994, unsigned long id, int irq) argument
438 wm8994_device_exit(struct wm8994 *wm8994) argument
449 wm8994_i2c_read_device(struct wm8994 *wm8994, unsigned short reg, int bytes, void *dest) argument
474 wm8994_i2c_write_device(struct wm8994 *wm8994, unsigned short reg, int bytes, void *src) argument
497 struct wm8994 *wm8994; local
515 struct wm8994 *wm8994 = i2c_get_clientdata(i2c); local
[all...]
H A Dwm8994-irq.c2 * wm8994-irq.c -- Interrupt controller support for Wolfson WM8994
22 #include <linux/mfd/wm8994/core.h>
23 #include <linux/mfd/wm8994/registers.h>
153 static inline struct wm8994_irq_data *irq_to_wm8994_irq(struct wm8994 *wm8994, argument
156 return &wm8994_irqs[irq - wm8994->irq_base];
161 struct wm8994 *wm8994 = get_irq_chip_data(irq); local
163 mutex_lock(&wm8994->irq_lock);
168 struct wm8994 *wm899 local
187 struct wm8994 *wm8994 = get_irq_chip_data(irq); local
195 struct wm8994 *wm8994 = get_irq_chip_data(irq); local
213 struct wm8994 *wm8994 = data; local
246 wm8994_irq_init(struct wm8994 *wm8994) argument
306 wm8994_irq_exit(struct wm8994 *wm8994) argument
[all...]
H A DMakefile31 obj-$(CONFIG_MFD_WM8994) += wm8994-core.o wm8994-irq.o
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/mfd/
H A Dwm8994-core.c2 * wm8994-core.c -- Device access for Wolfson WM8994
24 #include <linux/mfd/wm8994/core.h>
25 #include <linux/mfd/wm8994/pdata.h>
26 #include <linux/mfd/wm8994/registers.h>
28 static int wm8994_read(struct wm8994 *wm8994, unsigned short reg, argument
37 ret = wm8994->read_dev(wm8994, reg, bytes, dest);
44 dev_vdbg(wm8994->dev, "Read %04x from R%d(0x%x)\n",
54 * @wm8994
57 wm8994_reg_read(struct wm8994 *wm8994, unsigned short reg) argument
83 wm8994_bulk_read(struct wm8994 *wm8994, unsigned short reg, int count, u16 *buf) argument
98 wm8994_write(struct wm8994 *wm8994, unsigned short reg, int bytes, void *src) argument
124 wm8994_reg_write(struct wm8994 *wm8994, unsigned short reg, unsigned short val) argument
147 wm8994_set_bits(struct wm8994 *wm8994, unsigned short reg, unsigned short mask, unsigned short val) argument
224 struct wm8994 *wm8994 = dev_get_drvdata(dev); local
254 struct wm8994 *wm8994 = dev_get_drvdata(dev); local
308 wm8994_device_init(struct wm8994 *wm8994, unsigned long id, int irq) argument
438 wm8994_device_exit(struct wm8994 *wm8994) argument
449 wm8994_i2c_read_device(struct wm8994 *wm8994, unsigned short reg, int bytes, void *dest) argument
474 wm8994_i2c_write_device(struct wm8994 *wm8994, unsigned short reg, int bytes, void *src) argument
497 struct wm8994 *wm8994; local
515 struct wm8994 *wm8994 = i2c_get_clientdata(i2c); local
[all...]
H A Dwm8994-irq.c2 * wm8994-irq.c -- Interrupt controller support for Wolfson WM8994
22 #include <linux/mfd/wm8994/core.h>
23 #include <linux/mfd/wm8994/registers.h>
153 static inline struct wm8994_irq_data *irq_to_wm8994_irq(struct wm8994 *wm8994, argument
156 return &wm8994_irqs[irq - wm8994->irq_base];
161 struct wm8994 *wm8994 = get_irq_chip_data(irq); local
163 mutex_lock(&wm8994->irq_lock);
168 struct wm8994 *wm899 local
187 struct wm8994 *wm8994 = get_irq_chip_data(irq); local
195 struct wm8994 *wm8994 = get_irq_chip_data(irq); local
213 struct wm8994 *wm8994 = data; local
246 wm8994_irq_init(struct wm8994 *wm8994) argument
306 wm8994_irq_exit(struct wm8994 *wm8994) argument
[all...]
H A DMakefile31 obj-$(CONFIG_MFD_WM8994) += wm8994-core.o wm8994-irq.o
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/gpio/
H A Dwm8994-gpio.c2 * wm8994-gpio.c -- gpiolib support for Wolfson WM8994
23 #include <linux/mfd/wm8994/core.h>
24 #include <linux/mfd/wm8994/pdata.h>
25 #include <linux/mfd/wm8994/gpio.h>
26 #include <linux/mfd/wm8994/registers.h>
29 struct wm8994 *wm8994; member in struct:wm8994_gpio
41 struct wm8994 *wm8994 = wm8994_gpio->wm8994; local
50 struct wm8994 *wm8994 = wm8994_gpio->wm8994; local
67 struct wm8994 *wm8994 = wm8994_gpio->wm8994; local
76 struct wm8994 *wm8994 = wm8994_gpio->wm8994; local
87 struct wm8994 *wm8994 = wm8994_gpio->wm8994; local
100 struct wm8994 *wm8994 = wm8994_gpio->wm8994; local
149 struct wm8994 *wm8994 = dev_get_drvdata(pdev->dev.parent); local
[all...]
H A DMakefile35 obj-$(CONFIG_GPIO_WM8994) += wm8994-gpio.o
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/gpio/
H A Dwm8994-gpio.c2 * wm8994-gpio.c -- gpiolib support for Wolfson WM8994
23 #include <linux/mfd/wm8994/core.h>
24 #include <linux/mfd/wm8994/pdata.h>
25 #include <linux/mfd/wm8994/gpio.h>
26 #include <linux/mfd/wm8994/registers.h>
29 struct wm8994 *wm8994; member in struct:wm8994_gpio
41 struct wm8994 *wm8994 = wm8994_gpio->wm8994; local
50 struct wm8994 *wm8994 = wm8994_gpio->wm8994; local
67 struct wm8994 *wm8994 = wm8994_gpio->wm8994; local
76 struct wm8994 *wm8994 = wm8994_gpio->wm8994; local
87 struct wm8994 *wm8994 = wm8994_gpio->wm8994; local
100 struct wm8994 *wm8994 = wm8994_gpio->wm8994; local
149 struct wm8994 *wm8994 = dev_get_drvdata(pdev->dev.parent); local
[all...]
H A DMakefile35 obj-$(CONFIG_GPIO_WM8994) += wm8994-gpio.o
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/regulator/
H A Dwm8994-regulator.c2 * wm8994-regulator.c -- Regulator driver for the WM8994
24 #include <linux/mfd/wm8994/core.h>
25 #include <linux/mfd/wm8994/registers.h>
26 #include <linux/mfd/wm8994/pdata.h>
32 struct wm8994 *wm8994; member in struct:wm8994_ldo
94 val = wm8994_reg_read(ldo->wm8994, WM8994_LDO_1);
116 return wm8994_set_bits(ldo->wm8994, WM8994_LDO_1,
145 val = wm8994_reg_read(ldo->wm8994, WM8994_LDO_2);
167 return wm8994_set_bits(ldo->wm8994, WM8994_LDO_
203 struct wm8994 *wm8994 = dev_get_drvdata(pdev->dev.parent); local
[all...]
H A DMakefile26 obj-$(CONFIG_REGULATOR_WM8994) += wm8994-regulator.o
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/regulator/
H A Dwm8994-regulator.c2 * wm8994-regulator.c -- Regulator driver for the WM8994
24 #include <linux/mfd/wm8994/core.h>
25 #include <linux/mfd/wm8994/registers.h>
26 #include <linux/mfd/wm8994/pdata.h>
32 struct wm8994 *wm8994; member in struct:wm8994_ldo
94 val = wm8994_reg_read(ldo->wm8994, WM8994_LDO_1);
116 return wm8994_set_bits(ldo->wm8994, WM8994_LDO_1,
145 val = wm8994_reg_read(ldo->wm8994, WM8994_LDO_2);
167 return wm8994_set_bits(ldo->wm8994, WM8994_LDO_
203 struct wm8994 *wm8994 = dev_get_drvdata(pdev->dev.parent); local
[all...]
H A DMakefile26 obj-$(CONFIG_REGULATOR_WM8994) += wm8994-regulator.o
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/sound/soc/codecs/
H A Dwm8994.c2 * wm8994.c -- WM8994 ALSA SoC Audio driver
31 #include <linux/mfd/wm8994/core.h>
32 #include <linux/mfd/wm8994/registers.h>
33 #include <linux/mfd/wm8994/pdata.h>
34 #include <linux/mfd/wm8994/gpio.h>
36 #include "wm8994.h"
1728 struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec); local
1733 wm8994->reg_cache[reg] = value;
1755 struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec); local
1765 switch (wm8994
1812 struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec); local
1909 struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec); local
1945 struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec); local
1967 struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec); local
1977 struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec); local
2048 struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec); local
2070 struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec); local
2894 struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec); local
3011 struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec); local
3081 struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec); local
3304 struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec); local
3591 struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec); local
3612 struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec); local
3656 wm8994_handle_retune_mobile_pdata(struct wm8994_priv *wm8994) argument
3723 wm8994_handle_pdata(struct wm8994_priv *wm8994) argument
3861 struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec); local
3934 struct wm8994_priv *wm8994; local
4128 struct wm8994_priv *wm8994 = platform_get_drvdata(pdev); local
[all...]
H A DMakefile55 snd-soc-wm8994-objs := wm8994.o
124 obj-$(CONFIG_SND_SOC_WM8994) += snd-soc-wm8994.o
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/sound/soc/codecs/
H A Dwm8994.c2 * wm8994.c -- WM8994 ALSA SoC Audio driver
31 #include <linux/mfd/wm8994/core.h>
32 #include <linux/mfd/wm8994/registers.h>
33 #include <linux/mfd/wm8994/pdata.h>
34 #include <linux/mfd/wm8994/gpio.h>
36 #include "wm8994.h"
1728 struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec); local
1733 wm8994->reg_cache[reg] = value;
1755 struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec); local
1765 switch (wm8994
1812 struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec); local
1909 struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec); local
1945 struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec); local
1967 struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec); local
1977 struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec); local
2048 struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec); local
2070 struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec); local
2894 struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec); local
3011 struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec); local
3081 struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec); local
3304 struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec); local
3591 struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec); local
3612 struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec); local
3656 wm8994_handle_retune_mobile_pdata(struct wm8994_priv *wm8994) argument
3723 wm8994_handle_pdata(struct wm8994_priv *wm8994) argument
3861 struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec); local
3934 struct wm8994_priv *wm8994; local
4128 struct wm8994_priv *wm8994 = platform_get_drvdata(pdev); local
[all...]
H A DMakefile55 snd-soc-wm8994-objs := wm8994.o
124 obj-$(CONFIG_SND_SOC_WM8994) += snd-soc-wm8994.o

Completed in 119 milliseconds