| /linux-4.4.14/drivers/mfd/ |
| D | wm8400-core.c | 46 u16 wm8400_reg_read(struct wm8400 *wm8400, u8 reg) in wm8400_reg_read() argument 51 ret = regmap_read(wm8400->regmap, reg, &val); in wm8400_reg_read() 59 int wm8400_block_read(struct wm8400 *wm8400, u8 reg, int count, u16 *data) in wm8400_block_read() argument 61 return regmap_bulk_read(wm8400->regmap, reg, data, count); in wm8400_block_read() 65 static int wm8400_register_codec(struct wm8400 *wm8400) in wm8400_register_codec() argument 69 .platform_data = wm8400, in wm8400_register_codec() 70 .pdata_size = sizeof(*wm8400), in wm8400_register_codec() 73 return mfd_add_devices(wm8400->dev, -1, &cell, 1, NULL, 0, NULL); in wm8400_register_codec() 83 static int wm8400_init(struct wm8400 *wm8400, in wm8400_init() argument 89 dev_set_drvdata(wm8400->dev, wm8400); in wm8400_init() [all …]
|
| D | Makefile | 54 obj-$(CONFIG_MFD_WM8400) += wm8400-core.o
|
| /linux-4.4.14/drivers/regulator/ |
| D | wm8400-regulator.c | 39 struct wm8400 *wm8400 = rdev_get_drvdata(dev); in wm8400_dcdc_get_mode() local 44 ret = wm8400_block_read(wm8400, WM8400_DCDC1_CONTROL_1 + offset, 2, in wm8400_dcdc_get_mode() 66 struct wm8400 *wm8400 = rdev_get_drvdata(dev); in wm8400_dcdc_set_mode() local 73 ret = wm8400_set_bits(wm8400, WM8400_DCDC1_CONTROL_2 + offset, in wm8400_dcdc_set_mode() 78 return wm8400_set_bits(wm8400, WM8400_DCDC1_CONTROL_1 + offset, in wm8400_dcdc_set_mode() 84 ret = wm8400_set_bits(wm8400, WM8400_DCDC1_CONTROL_2 + offset, in wm8400_dcdc_set_mode() 89 return wm8400_set_bits(wm8400, WM8400_DCDC1_CONTROL_1 + offset, in wm8400_dcdc_set_mode() 95 return wm8400_set_bits(wm8400, WM8400_DCDC1_CONTROL_1 + offset, in wm8400_dcdc_set_mode() 211 struct wm8400 *wm8400 = container_of(pdev, struct wm8400, regulators[pdev->id]); in wm8400_regulator_probe() local 217 config.driver_data = wm8400; in wm8400_regulator_probe() [all …]
|
| D | Makefile | 102 obj-$(CONFIG_REGULATOR_WM8400) += wm8400-regulator.o
|
| /linux-4.4.14/sound/soc/codecs/ |
| D | wm8400.c | 61 struct wm8400 *wm8400; member 70 struct wm8400_priv *wm8400 = snd_soc_codec_get_drvdata(codec); in wm8400_codec_reset() local 72 wm8400_reset_codec_reg_cache(wm8400->wm8400); in wm8400_codec_reset() 853 struct wm8400_priv *wm8400 = snd_soc_codec_get_drvdata(codec); in wm8400_set_dai_sysclk() local 855 wm8400->sysclk = freq; in wm8400_set_dai_sysclk() 869 static int fll_factors(struct wm8400_priv *wm8400, struct fll_factors *factors, in fll_factors() argument 880 dev_err(wm8400->wm8400->dev, in fll_factors() 907 dev_err(wm8400->wm8400->dev, in fll_factors() 929 dev_dbg(wm8400->wm8400->dev, in fll_factors() 942 struct wm8400_priv *wm8400 = snd_soc_codec_get_drvdata(codec); in wm8400_set_dai_pll() local [all …]
|
| D | Makefile | 142 snd-soc-wm8400-objs := wm8400.o 333 obj-$(CONFIG_SND_SOC_WM8400) += snd-soc-wm8400.o
|
| /linux-4.4.14/include/linux/mfd/ |
| D | wm8400-private.h | 31 struct wm8400 { struct 926 u16 wm8400_reg_read(struct wm8400 *wm8400, u8 reg); 927 int wm8400_block_read(struct wm8400 *wm8400, u8 reg, int count, u16 *data); 929 static inline int wm8400_set_bits(struct wm8400 *wm8400, u8 reg, in wm8400_set_bits() argument 932 return regmap_update_bits(wm8400->regmap, reg, mask, val); in wm8400_set_bits()
|
| D | wm8400-audio.h | 1184 struct wm8400; 1185 void wm8400_reset_codec_reg_cache(struct wm8400 *wm8400);
|
| /linux-4.4.14/ |
| D | MAINTAINERS | 11704 F: include/linux/mfd/wm8400*
|