Lines Matching refs:desc

40 	struct regulator_desc desc;  member
252 ldo->desc.name = ldo->name; in wm831x_gp_ldo_probe()
256 ldo->desc.supply_name = ldo->supply_name; in wm831x_gp_ldo_probe()
258 ldo->desc.id = id; in wm831x_gp_ldo_probe()
259 ldo->desc.type = REGULATOR_VOLTAGE; in wm831x_gp_ldo_probe()
260 ldo->desc.n_voltages = 32; in wm831x_gp_ldo_probe()
261 ldo->desc.ops = &wm831x_gp_ldo_ops; in wm831x_gp_ldo_probe()
262 ldo->desc.owner = THIS_MODULE; in wm831x_gp_ldo_probe()
263 ldo->desc.vsel_reg = ldo->base + WM831X_LDO_ON_CONTROL; in wm831x_gp_ldo_probe()
264 ldo->desc.vsel_mask = WM831X_LDO1_ON_VSEL_MASK; in wm831x_gp_ldo_probe()
265 ldo->desc.enable_reg = WM831X_LDO_ENABLE; in wm831x_gp_ldo_probe()
266 ldo->desc.enable_mask = 1 << id; in wm831x_gp_ldo_probe()
267 ldo->desc.bypass_reg = ldo->base; in wm831x_gp_ldo_probe()
268 ldo->desc.bypass_mask = WM831X_LDO1_SWI; in wm831x_gp_ldo_probe()
269 ldo->desc.linear_ranges = wm831x_gp_ldo_ranges; in wm831x_gp_ldo_probe()
270 ldo->desc.n_linear_ranges = ARRAY_SIZE(wm831x_gp_ldo_ranges); in wm831x_gp_ldo_probe()
278 ldo->regulator = devm_regulator_register(&pdev->dev, &ldo->desc, in wm831x_gp_ldo_probe()
462 ldo->desc.name = ldo->name; in wm831x_aldo_probe()
466 ldo->desc.supply_name = ldo->supply_name; in wm831x_aldo_probe()
468 ldo->desc.id = id; in wm831x_aldo_probe()
469 ldo->desc.type = REGULATOR_VOLTAGE; in wm831x_aldo_probe()
470 ldo->desc.n_voltages = 32; in wm831x_aldo_probe()
471 ldo->desc.linear_ranges = wm831x_aldo_ranges; in wm831x_aldo_probe()
472 ldo->desc.n_linear_ranges = ARRAY_SIZE(wm831x_aldo_ranges); in wm831x_aldo_probe()
473 ldo->desc.ops = &wm831x_aldo_ops; in wm831x_aldo_probe()
474 ldo->desc.owner = THIS_MODULE; in wm831x_aldo_probe()
475 ldo->desc.vsel_reg = ldo->base + WM831X_LDO_ON_CONTROL; in wm831x_aldo_probe()
476 ldo->desc.vsel_mask = WM831X_LDO7_ON_VSEL_MASK; in wm831x_aldo_probe()
477 ldo->desc.enable_reg = WM831X_LDO_ENABLE; in wm831x_aldo_probe()
478 ldo->desc.enable_mask = 1 << id; in wm831x_aldo_probe()
479 ldo->desc.bypass_reg = ldo->base; in wm831x_aldo_probe()
480 ldo->desc.bypass_mask = WM831X_LDO7_SWI; in wm831x_aldo_probe()
488 ldo->regulator = devm_regulator_register(&pdev->dev, &ldo->desc, in wm831x_aldo_probe()
607 ldo->desc.name = ldo->name; in wm831x_alive_ldo_probe()
611 ldo->desc.supply_name = ldo->supply_name; in wm831x_alive_ldo_probe()
613 ldo->desc.id = id; in wm831x_alive_ldo_probe()
614 ldo->desc.type = REGULATOR_VOLTAGE; in wm831x_alive_ldo_probe()
615 ldo->desc.n_voltages = WM831X_ALIVE_LDO_MAX_SELECTOR + 1; in wm831x_alive_ldo_probe()
616 ldo->desc.ops = &wm831x_alive_ldo_ops; in wm831x_alive_ldo_probe()
617 ldo->desc.owner = THIS_MODULE; in wm831x_alive_ldo_probe()
618 ldo->desc.vsel_reg = ldo->base + WM831X_ALIVE_LDO_ON_CONTROL; in wm831x_alive_ldo_probe()
619 ldo->desc.vsel_mask = WM831X_LDO11_ON_VSEL_MASK; in wm831x_alive_ldo_probe()
620 ldo->desc.enable_reg = WM831X_LDO_ENABLE; in wm831x_alive_ldo_probe()
621 ldo->desc.enable_mask = 1 << id; in wm831x_alive_ldo_probe()
622 ldo->desc.min_uV = 800000; in wm831x_alive_ldo_probe()
623 ldo->desc.uV_step = 50000; in wm831x_alive_ldo_probe()
624 ldo->desc.enable_time = 1000; in wm831x_alive_ldo_probe()
632 ldo->regulator = devm_regulator_register(&pdev->dev, &ldo->desc, in wm831x_alive_ldo_probe()