Lines Matching refs:wm8994
31 struct wm8994 *wm8994; member
54 switch (ldo->wm8994->type) { in wm8994_ldo2_list_voltage()
127 struct wm8994 *wm8994 = dev_get_drvdata(pdev->dev.parent); in wm8994_ldo_probe() local
128 struct wm8994_pdata *pdata = wm8994->dev->platform_data; in wm8994_ldo_probe()
142 ldo->wm8994 = wm8994; in wm8994_ldo_probe()
144 ldo->supply.dev_name = dev_name(wm8994->dev); in wm8994_ldo_probe()
146 config.dev = wm8994->dev; in wm8994_ldo_probe()
148 config.regmap = wm8994->regmap; in wm8994_ldo_probe()
152 else if (wm8994->dev->of_node) in wm8994_ldo_probe()
153 config.ena_gpio = wm8994->pdata.ldo[id].enable; in wm8994_ldo_probe()
156 if (!pdata || !pdata->ldo[id].init_data || wm8994->dev->of_node) { in wm8994_ldo_probe()
157 dev_dbg(wm8994->dev, "Using default init data, supply %s %s\n", in wm8994_ldo_probe()
171 dev_err(wm8994->dev, "Failed to register LDO%d: %d\n", in wm8994_ldo_probe()