Home
last modified time | relevance | path

Searched refs:wm8400 (Results 1 – 9 of 9) sorted by relevance

/linux-6.15/drivers/mfd/
H A Dwm8400-core.c33 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()
51 static int wm8400_init(struct wm8400 *wm8400, in wm8400_init() argument
112 void wm8400_reset_codec_reg_cache(struct wm8400 *wm8400) in wm8400_reset_codec_reg_cache() argument
121 struct wm8400 *wm8400; in wm8400_i2c_probe() local
123 wm8400 = devm_kzalloc(&i2c->dev, sizeof(struct wm8400), GFP_KERNEL); in wm8400_i2c_probe()
124 if (!wm8400) in wm8400_i2c_probe()
128 if (IS_ERR(wm8400->regmap)) in wm8400_i2c_probe()
129 return PTR_ERR(wm8400->regmap); in wm8400_i2c_probe()
[all …]
H A DMakefile58 obj-$(CONFIG_MFD_WM8400) += wm8400-core.o
/linux-6.15/drivers/regulator/
H A Dwm8400-regulator.c204 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 DMakefile202 obj-$(CONFIG_REGULATOR_WM8400) += wm8400-regulator.o
/linux-6.15/sound/soc/codecs/
H A Dwm8400.c56 struct wm8400 *wm8400; member
67 wm8400_reset_codec_reg_cache(wm8400->wm8400); in wm8400_component_reset()
838 wm8400->sysclk = freq; in wm8400_set_dai_sysclk()
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()
930 if (freq_in == wm8400->fll_in && freq_out == wm8400->fll_out) in wm8400_set_dai_pll()
945 wm8400->fll_in = freq_in; in wm8400_set_dai_pll()
1132 dev_err(wm8400->wm8400->dev, in wm8400_set_bias_level()
1262 struct wm8400 *wm8400 = dev_get_platdata(component->dev); in wm8400_component_probe() local
[all …]
H A DMakefile354 snd-soc-wm8400-y := wm8400.o
777 obj-$(CONFIG_SND_SOC_WM8400) += snd-soc-wm8400.o
/linux-6.15/include/linux/mfd/
H A Dwm8400-audio.h1171 struct wm8400;
1172 void wm8400_reset_codec_reg_cache(struct wm8400 *wm8400);
H A Dwm8400-private.h18 struct wm8400 { struct
/linux-6.15/
H A DMAINTAINERS26292 F: include/linux/mfd/wm8400*