Searched refs:reg_sc (Results 1 – 10 of 10) sorted by relevance
181 struct syr827_reg_sc *reg_sc; in syr827_reg_attach() local196 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 …]
199 struct sy8106a_reg_sc *reg_sc; in sy8106a_reg_attach() local213 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()
330 struct fan53555_reg_sc *reg_sc; in fan53555_reg_attach() local371 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 …]
396 struct act8846_reg_sc *reg_sc; in act8846_attach() local414 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()
698 struct max77620_reg_sc *reg_sc; in max77620_attach() local713 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 …]
280 struct rk8xx_reg_sc *reg_sc; in rk8xx_reg_attach() local302 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()
72 struct gpioregulator_reg_sc *reg_sc; member309 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()
547 struct as3722_reg_sc *reg_sc; in as3722_attach() local562 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()
1145 struct axp2xx_reg_sc *reg_sc; in axp2xx_reg_attach() local1166 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()
1390 struct axp8xx_reg_sc *reg_sc; in axp8xx_reg_attach() local1409 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()