Lines Matching refs:wm8994
26 struct wm8994 *wm8994; member
49 switch (ldo->wm8994->type) { in wm8994_ldo2_list_voltage()
122 struct wm8994 *wm8994 = dev_get_drvdata(pdev->dev.parent); in wm8994_ldo_probe() local
123 struct wm8994_pdata *pdata = dev_get_platdata(wm8994->dev); in wm8994_ldo_probe()
136 ldo->wm8994 = wm8994; in wm8994_ldo_probe()
138 ldo->supply.dev_name = dev_name(wm8994->dev); in wm8994_ldo_probe()
140 config.dev = wm8994->dev; in wm8994_ldo_probe()
142 config.regmap = wm8994->regmap; in wm8994_ldo_probe()
158 if (!pdata || !pdata->ldo[id].init_data || wm8994->dev->of_node) { in wm8994_ldo_probe()
159 dev_dbg(wm8994->dev, "Using default init data, supply %s %s\n", in wm8994_ldo_probe()
180 dev_err(wm8994->dev, "Failed to register LDO%d: %d\n", in wm8994_ldo_probe()