Lines Matching refs:wm8400
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()
256 return platform_device_register(&wm8400->regulators[reg]); in wm8400_register_regulator()