Home
last modified time | relevance | path

Searched defs:wm8400 (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/drivers/regulator/
Dwm8400-regulator.c23 struct wm8400 *wm8400 = rdev_get_drvdata(dev); in wm8400_ldo_is_enabled() local
32 struct wm8400 *wm8400 = rdev_get_drvdata(dev); in wm8400_ldo_enable() local
40 struct wm8400 *wm8400 = rdev_get_drvdata(dev); in wm8400_ldo_disable() local
60 struct wm8400 *wm8400 = rdev_get_drvdata(dev); in wm8400_ldo_get_voltage() local
72 struct wm8400 *wm8400 = rdev_get_drvdata(dev); in wm8400_ldo_set_voltage() local
113 struct wm8400 *wm8400 = rdev_get_drvdata(dev); in wm8400_dcdc_is_enabled() local
123 struct wm8400 *wm8400 = rdev_get_drvdata(dev); in wm8400_dcdc_enable() local
132 struct wm8400 *wm8400 = rdev_get_drvdata(dev); in wm8400_dcdc_disable() local
150 struct wm8400 *wm8400 = rdev_get_drvdata(dev); in wm8400_dcdc_get_voltage() local
163 struct wm8400 *wm8400 = rdev_get_drvdata(dev); in wm8400_dcdc_set_voltage() local
[all …]
/linux-2.6.39/drivers/mfd/
Dwm8400-core.c117 static int wm8400_read(struct wm8400 *wm8400, u8 reg, int num_regs, u16 *dest) in wm8400_read()
142 static int wm8400_write(struct wm8400 *wm8400, u8 reg, int num_regs, in wm8400_write()
171 u16 wm8400_reg_read(struct wm8400 *wm8400, u8 reg) in wm8400_reg_read()
185 int wm8400_block_read(struct wm8400 *wm8400, u8 reg, int count, u16 *data) in wm8400_block_read()
207 int wm8400_set_bits(struct wm8400 *wm8400, u8 reg, u16 mask, u16 val) in wm8400_set_bits()
229 void wm8400_reset_codec_reg_cache(struct wm8400 *wm8400) in wm8400_reset_codec_reg_cache()
244 static int wm8400_register_codec(struct wm8400 *wm8400) in wm8400_register_codec()
261 static int wm8400_init(struct wm8400 *wm8400, in wm8400_init()
334 static void wm8400_release(struct wm8400 *wm8400) in wm8400_release()
396 struct wm8400 *wm8400; in wm8400_i2c_probe() local
[all …]
/linux-2.6.39/sound/soc/codecs/
Dwm8400.c69 struct wm8400 *wm8400; member
80 struct wm8400_priv *wm8400 = snd_soc_codec_get_drvdata(codec); in wm8400_read() local
94 struct wm8400_priv *wm8400 = snd_soc_codec_get_drvdata(codec); in wm8400_write() local
105 struct wm8400_priv *wm8400 = snd_soc_codec_get_drvdata(codec); in wm8400_codec_reset() local
930 struct wm8400_priv *wm8400 = snd_soc_codec_get_drvdata(codec); in wm8400_set_dai_sysclk() local
946 static int fll_factors(struct wm8400_priv *wm8400, struct fll_factors *factors, in fll_factors()
1019 struct wm8400_priv *wm8400 = snd_soc_codec_get_drvdata(codec); in wm8400_set_dai_pll() local
1207 struct wm8400_priv *wm8400 = snd_soc_codec_get_drvdata(codec); in wm8400_set_bias_level() local
1381 struct wm8400 *wm8400 = mfd_get_data(to_platform_device(codec->dev)); in wm8400_codec_probe() local
/linux-2.6.39/include/linux/mfd/
Dwm8400-private.h30 struct wm8400 { struct
31 struct device *dev;
33 int (*read_dev)(void *data, char reg, int count, u16 *dst);
34 int (*write_dev)(void *data, char reg, int count, const u16 *src);
36 struct mutex io_lock;
37 void *io_data;
39 u16 reg_cache[WM8400_REGISTER_COUNT];
41 struct platform_device regulators[6];