Searched refs:wm8400 (Results 1 – 9 of 9) sorted by relevance
/linux-5.19.10/drivers/mfd/ |
D | wm8400-core.c | 33 static int wm8400_register_codec(struct wm8400 *wm8400) in wm8400_register_codec() argument 37 .platform_data = wm8400, in wm8400_register_codec() 38 .pdata_size = sizeof(*wm8400), in wm8400_register_codec() 41 return devm_mfd_add_devices(wm8400->dev, -1, &cell, 1, NULL, 0, NULL); in wm8400_register_codec() 51 static int wm8400_init(struct wm8400 *wm8400, in wm8400_init() argument 57 dev_set_drvdata(wm8400->dev, wm8400); in wm8400_init() 60 ret = regmap_read(wm8400->regmap, WM8400_RESET_ID, ®); in wm8400_init() 62 dev_err(wm8400->dev, "Chip ID register read failed\n"); in wm8400_init() 66 dev_err(wm8400->dev, "Device is not a WM8400, ID is %x\n", in wm8400_init() 71 ret = regmap_read(wm8400->regmap, WM8400_ID, ®); in wm8400_init() [all …]
|
D | Makefile | 64 obj-$(CONFIG_MFD_WM8400) += wm8400-core.o
|
/linux-5.19.10/drivers/regulator/ |
D | wm8400-regulator.c | 204 struct wm8400 *wm8400 = container_of(pdev, struct wm8400, regulators[pdev->id]); in wm8400_regulator_probe() local 210 config.driver_data = wm8400; in wm8400_regulator_probe() 211 config.regmap = wm8400->regmap; in wm8400_regulator_probe() 244 struct wm8400 *wm8400 = dev_get_drvdata(dev); in wm8400_register_regulator() local 246 if (wm8400->regulators[reg].name) in wm8400_register_regulator() 249 initdata->driver_data = wm8400; in wm8400_register_regulator() 251 wm8400->regulators[reg].name = "wm8400-regulator"; in wm8400_register_regulator() 252 wm8400->regulators[reg].id = reg; in wm8400_register_regulator() 253 wm8400->regulators[reg].dev.parent = dev; in wm8400_register_regulator() 254 wm8400->regulators[reg].dev.platform_data = initdata; in wm8400_register_regulator() [all …]
|
D | Makefile | 177 obj-$(CONFIG_REGULATOR_WM8400) += wm8400-regulator.o
|
/linux-5.19.10/sound/soc/codecs/ |
D | wm8400.c | 56 struct wm8400 *wm8400; member 65 struct wm8400_priv *wm8400 = snd_soc_component_get_drvdata(component); in wm8400_component_reset() local 67 wm8400_reset_codec_reg_cache(wm8400->wm8400); in wm8400_component_reset() 836 struct wm8400_priv *wm8400 = snd_soc_component_get_drvdata(component); in wm8400_set_dai_sysclk() local 838 wm8400->sysclk = freq; in wm8400_set_dai_sysclk() 852 static int fll_factors(struct wm8400_priv *wm8400, struct fll_factors *factors, in fll_factors() argument 863 dev_err(wm8400->wm8400->dev, in fll_factors() 890 dev_err(wm8400->wm8400->dev, in fll_factors() 912 dev_dbg(wm8400->wm8400->dev, in fll_factors() 925 struct wm8400_priv *wm8400 = snd_soc_component_get_drvdata(component); in wm8400_set_dai_pll() local [all …]
|
D | Makefile | 290 snd-soc-wm8400-objs := wm8400.o 640 obj-$(CONFIG_SND_SOC_WM8400) += snd-soc-wm8400.o
|
/linux-5.19.10/include/linux/mfd/ |
D | wm8400-audio.h | 1171 struct wm8400; 1172 void wm8400_reset_codec_reg_cache(struct wm8400 *wm8400);
|
D | wm8400-private.h | 18 struct wm8400 { struct
|
/linux-5.19.10/ |
D | MAINTAINERS | 21664 F: include/linux/mfd/wm8400*
|