Searched refs:wm8400 (Results 1 – 9 of 9) sorted by relevance
| /Linux-v4.19/drivers/mfd/ |
| D | wm8400-core.c | 38 int wm8400_block_read(struct wm8400 *wm8400, u8 reg, int count, u16 *data) in wm8400_block_read() argument 40 return regmap_bulk_read(wm8400->regmap, reg, data, count); in wm8400_block_read() 44 static int wm8400_register_codec(struct wm8400 *wm8400) in wm8400_register_codec() argument 48 .platform_data = wm8400, in wm8400_register_codec() 49 .pdata_size = sizeof(*wm8400), in wm8400_register_codec() 52 return devm_mfd_add_devices(wm8400->dev, -1, &cell, 1, NULL, 0, NULL); in wm8400_register_codec() 62 static int wm8400_init(struct wm8400 *wm8400, in wm8400_init() argument 68 dev_set_drvdata(wm8400->dev, wm8400); in wm8400_init() 71 ret = regmap_read(wm8400->regmap, WM8400_RESET_ID, ®); in wm8400_init() 73 dev_err(wm8400->dev, "Chip ID register read failed\n"); in wm8400_init() [all …]
|
| D | Makefile | 59 obj-$(CONFIG_MFD_WM8400) += wm8400-core.o
|
| /Linux-v4.19/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 | 129 obj-$(CONFIG_REGULATOR_WM8400) += wm8400-regulator.o
|
| /Linux-v4.19/sound/soc/codecs/ |
| D | wm8400.c | 61 struct wm8400 *wm8400; member 70 struct wm8400_priv *wm8400 = snd_soc_component_get_drvdata(component); in wm8400_component_reset() local 72 wm8400_reset_codec_reg_cache(wm8400->wm8400); in wm8400_component_reset() 853 struct wm8400_priv *wm8400 = snd_soc_component_get_drvdata(component); 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_component_get_drvdata(component); in wm8400_set_dai_pll() local [all …]
|
| D | Makefile | 205 snd-soc-wm8400-objs := wm8400.o 463 obj-$(CONFIG_SND_SOC_WM8400) += snd-soc-wm8400.o
|
| /Linux-v4.19/include/linux/mfd/ |
| D | wm8400-private.h | 31 struct wm8400 { struct 926 int wm8400_block_read(struct wm8400 *wm8400, u8 reg, int count, u16 *data); 928 static inline int wm8400_set_bits(struct wm8400 *wm8400, u8 reg, in wm8400_set_bits() argument 931 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-v4.19/ |
| D | MAINTAINERS | 15894 F: include/linux/mfd/wm8400*
|