Home
last modified time | relevance | path

Searched refs:reg_sc (Results 1 – 10 of 10) sorted by relevance

/freebsd/sys/dev/iicbus/pmic/silergy/
H A Dsyr827.c181 struct syr827_reg_sc *reg_sc; in syr827_reg_attach() local
196 reg_sc = regnode_get_softc(regnode); in syr827_reg_attach()
197 reg_sc->regnode = regnode; in syr827_reg_attach()
198 reg_sc->base_dev = dev; in syr827_reg_attach()
199 reg_sc->xref = OF_xref_from_node(node); in syr827_reg_attach()
200 reg_sc->param = regnode_get_stdparam(regnode); in syr827_reg_attach()
208 reg_sc->suspend_reg = VSEL0; in syr827_reg_attach()
209 reg_sc->volt_reg = VSEL1; in syr827_reg_attach()
212 reg_sc->suspend_reg = VSEL1; in syr827_reg_attach()
213 reg_sc->volt_reg = VSEL0; in syr827_reg_attach()
[all …]
H A Dsy8106a.c199 struct sy8106a_reg_sc *reg_sc; in sy8106a_reg_attach() local
213 reg_sc = regnode_get_softc(regnode); in sy8106a_reg_attach()
214 reg_sc->regnode = regnode; in sy8106a_reg_attach()
215 reg_sc->base_dev = dev; in sy8106a_reg_attach()
216 reg_sc->xref = OF_xref_from_node(node); in sy8106a_reg_attach()
217 reg_sc->param = regnode_get_stdparam(regnode); in sy8106a_reg_attach()
221 return (reg_sc); in sy8106a_reg_attach()
/freebsd/sys/dev/iicbus/pmic/
H A Dfan53555.c330 struct fan53555_reg_sc *reg_sc; in fan53555_reg_attach() local
371 reg_sc = regnode_get_softc(regnode); in fan53555_reg_attach()
372 reg_sc->name = "fan53555"; in fan53555_reg_attach()
373 reg_sc->regnode = regnode; in fan53555_reg_attach()
374 reg_sc->base_dev = sc->dev; in fan53555_reg_attach()
375 reg_sc->param = regnode_get_stdparam(regnode); in fan53555_reg_attach()
376 reg_sc->range = range; in fan53555_reg_attach()
377 reg_sc->live_reg = sc->live_reg; in fan53555_reg_attach()
378 reg_sc->sleep_reg = sc->sleep_reg; in fan53555_reg_attach()
380 dprintf(sc->dev, "live_reg: %d, sleep_reg: %d\n", reg_sc->live_reg, in fan53555_reg_attach()
[all …]
H A Dact8846_regulator.c396 struct act8846_reg_sc *reg_sc; in act8846_attach() local
414 reg_sc = regnode_get_softc(regnode); in act8846_attach()
415 reg_sc->base_sc = sc; in act8846_attach()
416 reg_sc->def = def; in act8846_attach()
417 reg_sc->xref = OF_xref_from_node(node); in act8846_attach()
418 reg_sc->param = regnode_get_stdparam(regnode); in act8846_attach()
442 return (reg_sc); in act8846_attach()
/freebsd/sys/arm64/nvidia/tegra210/
H A Dmax77620_regulators.c698 struct max77620_reg_sc *reg_sc; in max77620_attach() local
713 reg_sc = regnode_get_softc(regnode); in max77620_attach()
716 reg_sc->regnode = regnode; in max77620_attach()
717 reg_sc->base_sc = sc; in max77620_attach()
718 reg_sc->def = def; in max77620_attach()
719 reg_sc->xref = OF_xref_from_node(node); in max77620_attach()
720 reg_sc->param = regnode_get_stdparam(regnode); in max77620_attach()
721 reg_sc->active_fps_src = init_def.active_fps_src; in max77620_attach()
722 reg_sc->active_fps_pu_slot = init_def.active_fps_pu_slot; in max77620_attach()
723 reg_sc->active_fps_pd_slot = init_def.active_fps_pd_slot; in max77620_attach()
[all …]
/freebsd/sys/dev/iicbus/pmic/rockchip/
H A Drk8xx_regulators.c280 struct rk8xx_reg_sc *reg_sc; in rk8xx_reg_attach() local
302 reg_sc = regnode_get_softc(regnode); in rk8xx_reg_attach()
303 reg_sc->regnode = regnode; in rk8xx_reg_attach()
304 reg_sc->base_dev = dev; in rk8xx_reg_attach()
305 reg_sc->def = def; in rk8xx_reg_attach()
306 reg_sc->xref = OF_xref_from_node(node); in rk8xx_reg_attach()
307 reg_sc->param = regnode_get_stdparam(regnode); in rk8xx_reg_attach()
311 return (reg_sc); in rk8xx_reg_attach()
/freebsd/sys/dev/gpio/
H A Dgpioregulator.c72 struct gpioregulator_reg_sc *reg_sc; member
309 sc->reg_sc = regnode_get_softc(regnode); in gpioregulator_attach()
310 sc->reg_sc->regnode = regnode; in gpioregulator_attach()
311 sc->reg_sc->base_dev = dev; in gpioregulator_attach()
312 sc->reg_sc->param = regnode_get_stdparam(regnode); in gpioregulator_attach()
313 sc->reg_sc->def = &sc->init_def; in gpioregulator_attach()
/freebsd/sys/arm/nvidia/
H A Das3722_regulators.c547 struct as3722_reg_sc *reg_sc; in as3722_attach() local
562 reg_sc = regnode_get_softc(regnode); in as3722_attach()
565 reg_sc->regnode = regnode; in as3722_attach()
566 reg_sc->base_sc = sc; in as3722_attach()
567 reg_sc->def = def; in as3722_attach()
568 reg_sc->xref = OF_xref_from_node(node); in as3722_attach()
570 reg_sc->param = regnode_get_stdparam(regnode); in as3722_attach()
571 reg_sc->ext_control = init_def.ext_control; in as3722_attach()
572 reg_sc->enable_tracking = init_def.enable_tracking; in as3722_attach()
595 return (reg_sc); in as3722_attach()
/freebsd/sys/arm/allwinner/
H A Daxp209.c1145 struct axp2xx_reg_sc *reg_sc; in axp2xx_reg_attach() local
1166 reg_sc = regnode_get_softc(regnode); in axp2xx_reg_attach()
1167 reg_sc->regnode = regnode; in axp2xx_reg_attach()
1168 reg_sc->base_dev = dev; in axp2xx_reg_attach()
1169 reg_sc->def = def; in axp2xx_reg_attach()
1170 reg_sc->xref = OF_xref_from_node(node); in axp2xx_reg_attach()
1171 reg_sc->param = regnode_get_stdparam(regnode); in axp2xx_reg_attach()
1175 return (reg_sc); in axp2xx_reg_attach()
H A Daxp81x.c1390 struct axp8xx_reg_sc *reg_sc; in axp8xx_reg_attach() local
1409 reg_sc = regnode_get_softc(regnode); in axp8xx_reg_attach()
1410 reg_sc->regnode = regnode; in axp8xx_reg_attach()
1411 reg_sc->base_dev = dev; in axp8xx_reg_attach()
1412 reg_sc->def = def; in axp8xx_reg_attach()
1413 reg_sc->xref = OF_xref_from_node(node); in axp8xx_reg_attach()
1414 reg_sc->param = regnode_get_stdparam(regnode); in axp8xx_reg_attach()
1418 return (reg_sc); in axp8xx_reg_attach()