Searched refs:wm8400 (Results 1 – 12 of 12) sorted by relevance
/openbmc/linux/drivers/mfd/ |
H A 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 58 ret = regmap_read(wm8400->regmap, WM8400_RESET_ID, ®); in wm8400_init() 60 dev_err(wm8400->dev, "Chip ID register read failed\n"); in wm8400_init() 64 dev_err(wm8400->dev, "Device is not a WM8400, ID is %x\n", in wm8400_init() 69 ret = regmap_read(wm8400->regmap, WM8400_ID, ®); in wm8400_init() 71 dev_err(wm8400->dev, "ID register read failed: %d\n", ret); in wm8400_init() [all …]
|
H A D | Makefile | 57 obj-$(CONFIG_MFD_WM8400) += wm8400-core.o
|
/openbmc/linux/drivers/regulator/ |
H A 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() 245 struct wm8400 *wm8400 = dev_get_drvdata(dev); in wm8400_register_regulator() local 247 if (wm8400->regulators[reg].name) in wm8400_register_regulator() 250 initdata->driver_data = wm8400; in wm8400_register_regulator() 252 wm8400->regulators[reg].name = "wm8400-regulator"; in wm8400_register_regulator() 253 wm8400->regulators[reg].id = reg; in wm8400_register_regulator() 254 wm8400->regulators[reg].dev.parent = dev; in wm8400_register_regulator() 255 wm8400->regulators[reg].dev.platform_data = initdata; in wm8400_register_regulator() [all …]
|
H A D | Makefile | 196 obj-$(CONFIG_REGULATOR_WM8400) += wm8400-regulator.o
|
/openbmc/linux/sound/soc/codecs/ |
H A 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 …]
|
H A D | Makefile | 322 snd-soc-wm8400-objs := wm8400.o 707 obj-$(CONFIG_SND_SOC_WM8400) += snd-soc-wm8400.o
|
/openbmc/linux/include/linux/mfd/ |
H A D | wm8400-audio.h | 1171 struct wm8400; 1172 void wm8400_reset_codec_reg_cache(struct wm8400 *wm8400);
|
H A D | wm8400-private.h | 18 struct wm8400 { struct
|
/openbmc/linux/ |
H A D | MAINTAINERS | 23358 F: include/linux/mfd/wm8400*
|
H A D | opengrok0.0.log | [all...] |
H A D | opengrok1.0.log | [all...] |
H A D | opengrok2.0.log | [all...] |