Symbol: regnode
sys/arm/allwinner/axp209.c
1147
struct regnode *regnode;
sys/arm/allwinner/axp209.c
1160
regnode = regnode_create(dev, &axp2xx_regnode_class, &initdef);
sys/arm/allwinner/axp209.c
1161
if (regnode == NULL) {
sys/arm/allwinner/axp209.c
1166
reg_sc = regnode_get_softc(regnode);
sys/arm/allwinner/axp209.c
1167
reg_sc->regnode = regnode;
sys/arm/allwinner/axp209.c
1171
reg_sc->param = regnode_get_stdparam(regnode);
sys/arm/allwinner/axp209.c
1173
regnode_register(regnode);
sys/arm/allwinner/axp209.c
331
struct regnode *regnode;
sys/arm/allwinner/axp209.c
650
axp2xx_regnode_init(struct regnode *regnode)
sys/arm/allwinner/axp209.c
656
axp2xx_regnode_enable(struct regnode *regnode, bool enable, int *udelay)
sys/arm/allwinner/axp209.c
661
sc = regnode_get_softc(regnode);
sys/arm/allwinner/axp209.c
709
axp2xx_regnode_status(struct regnode *regnode, int *status)
sys/arm/allwinner/axp209.c
714
sc = regnode_get_softc(regnode);
sys/arm/allwinner/axp209.c
725
axp2xx_regnode_set_voltage(struct regnode *regnode, int min_uvolt,
sys/arm/allwinner/axp209.c
731
sc = regnode_get_softc(regnode);
sys/arm/allwinner/axp209.c
747
axp2xx_regnode_get_voltage(struct regnode *regnode, int *uvolt)
sys/arm/allwinner/axp209.c
752
sc = regnode_get_softc(regnode);
sys/arm/allwinner/axp81x.c
1392
struct regnode *regnode;
sys/arm/allwinner/axp81x.c
1403
regnode = regnode_create(dev, &axp8xx_regnode_class, &initdef);
sys/arm/allwinner/axp81x.c
1404
if (regnode == NULL) {
sys/arm/allwinner/axp81x.c
1409
reg_sc = regnode_get_softc(regnode);
sys/arm/allwinner/axp81x.c
1410
reg_sc->regnode = regnode;
sys/arm/allwinner/axp81x.c
1414
reg_sc->param = regnode_get_stdparam(regnode);
sys/arm/allwinner/axp81x.c
1416
regnode_register(regnode);
sys/arm/allwinner/axp81x.c
673
struct regnode *regnode;
sys/arm/allwinner/axp81x.c
708
static int axp8xx_regnode_set_voltage(struct regnode *regnode, int min_uvolt,
sys/arm/allwinner/axp81x.c
754
axp8xx_regnode_init(struct regnode *regnode)
sys/arm/allwinner/axp81x.c
759
param = regnode_get_stdparam(regnode);
sys/arm/allwinner/axp81x.c
768
rv = axp8xx_regnode_set_voltage(regnode, param->min_uvolt,
sys/arm/allwinner/axp81x.c
777
axp8xx_regnode_enable(struct regnode *regnode, bool enable, int *udelay)
sys/arm/allwinner/axp81x.c
782
sc = regnode_get_softc(regnode);
sys/arm/allwinner/axp81x.c
787
regnode_get_name(regnode),
sys/arm/allwinner/axp81x.c
847
axp8xx_regnode_status(struct regnode *regnode, int *status)
sys/arm/allwinner/axp81x.c
852
sc = regnode_get_softc(regnode);
sys/arm/allwinner/axp81x.c
863
axp8xx_regnode_set_voltage(struct regnode *regnode, int min_uvolt,
sys/arm/allwinner/axp81x.c
869
sc = regnode_get_softc(regnode);
sys/arm/allwinner/axp81x.c
873
regnode_get_name(regnode),
sys/arm/allwinner/axp81x.c
891
axp8xx_regnode_get_voltage(struct regnode *regnode, int *uvolt)
sys/arm/allwinner/axp81x.c
896
sc = regnode_get_softc(regnode);
sys/arm/nvidia/as3722_regulators.c
367
static int as3722_regnode_init(struct regnode *regnode);
sys/arm/nvidia/as3722_regulators.c
368
static int as3722_regnode_enable(struct regnode *regnode, bool enable,
sys/arm/nvidia/as3722_regulators.c
370
static int as3722_regnode_set_volt(struct regnode *regnode, int min_uvolt,
sys/arm/nvidia/as3722_regulators.c
372
static int as3722_regnode_get_volt(struct regnode *regnode, int *uvolt);
sys/arm/nvidia/as3722_regulators.c
457
as3722_regnode_init(struct regnode *regnode)
sys/arm/nvidia/as3722_regulators.c
462
sc = regnode_get_softc(regnode);
sys/arm/nvidia/as3722_regulators.c
549
struct regnode *regnode;
sys/arm/nvidia/as3722_regulators.c
556
regnode = regnode_create(sc->dev, &as3722_regnode_class,
sys/arm/nvidia/as3722_regulators.c
558
if (regnode == NULL) {
sys/arm/nvidia/as3722_regulators.c
562
reg_sc = regnode_get_softc(regnode);
sys/arm/nvidia/as3722_regulators.c
565
reg_sc->regnode = regnode;
sys/arm/nvidia/as3722_regulators.c
570
reg_sc->param = regnode_get_stdparam(regnode);
sys/arm/nvidia/as3722_regulators.c
574
regnode_register(regnode);
sys/arm/nvidia/as3722_regulators.c
578
rv = regnode_get_voltage(regnode, &volt);
sys/arm/nvidia/as3722_regulators.c
582
regnode_get_name(regnode));
sys/arm/nvidia/as3722_regulators.c
586
regnode_get_name(regnode));
sys/arm/nvidia/as3722_regulators.c
590
regnode_get_name(regnode), volt);
sys/arm/nvidia/as3722_regulators.c
656
as3722_regnode_enable(struct regnode *regnode, bool val, int *udelay)
sys/arm/nvidia/as3722_regulators.c
661
sc = regnode_get_softc(regnode);
sys/arm/nvidia/as3722_regulators.c
672
as3722_regnode_set_volt(struct regnode *regnode, int min_uvolt, int max_uvolt,
sys/arm/nvidia/as3722_regulators.c
679
sc = regnode_get_softc(regnode);
sys/arm/nvidia/as3722_regulators.c
692
as3722_regnode_get_volt(struct regnode *regnode, int *uvolt)
sys/arm/nvidia/as3722_regulators.c
698
sc = regnode_get_softc(regnode);
sys/arm/nvidia/as3722_regulators.c
87
struct regnode *regnode;
sys/arm64/nvidia/tegra210/max77620_regulators.c
343
static int max77620_regnode_init(struct regnode *regnode);
sys/arm64/nvidia/tegra210/max77620_regulators.c
344
static int max77620_regnode_enable(struct regnode *regnode, bool enable,
sys/arm64/nvidia/tegra210/max77620_regulators.c
346
static int max77620_regnode_set_volt(struct regnode *regnode, int min_uvolt,
sys/arm64/nvidia/tegra210/max77620_regulators.c
348
static int max77620_regnode_get_volt(struct regnode *regnode, int *uvolt);
sys/arm64/nvidia/tegra210/max77620_regulators.c
368
regnode_get_name(sc->regnode), rv);
sys/arm64/nvidia/tegra210/max77620_regulators.c
388
regnode_get_name(sc->regnode), rv);
sys/arm64/nvidia/tegra210/max77620_regulators.c
545
max77620_regnode_init(struct regnode *regnode)
sys/arm64/nvidia/tegra210/max77620_regulators.c
551
sc = regnode_get_softc(regnode);
sys/arm64/nvidia/tegra210/max77620_regulators.c
560
printf("%s: Volt: 0x%02X, CFG: 0x%02X, FPS: 0x%02X\n", regnode_get_name(sc->regnode), val1, val2, val3);
sys/arm64/nvidia/tegra210/max77620_regulators.c
567
regnode_get_name(sc->regnode), rv);
sys/arm64/nvidia/tegra210/max77620_regulators.c
576
regnode_get_name(sc->regnode), rv);
sys/arm64/nvidia/tegra210/max77620_regulators.c
586
regnode_get_name(sc->regnode), rv);
sys/arm64/nvidia/tegra210/max77620_regulators.c
599
regnode_get_name(sc->regnode), rv);
sys/arm64/nvidia/tegra210/max77620_regulators.c
608
regnode_get_name(sc->regnode), rv);
sys/arm64/nvidia/tegra210/max77620_regulators.c
615
regnode_get_name(sc->regnode), rv);
sys/arm64/nvidia/tegra210/max77620_regulators.c
623
regnode_get_name(sc->regnode), rv);
sys/arm64/nvidia/tegra210/max77620_regulators.c
700
struct regnode *regnode;
sys/arm64/nvidia/tegra210/max77620_regulators.c
707
regnode = regnode_create(sc->dev, &max77620_regnode_class,
sys/arm64/nvidia/tegra210/max77620_regulators.c
709
if (regnode == NULL) {
sys/arm64/nvidia/tegra210/max77620_regulators.c
713
reg_sc = regnode_get_softc(regnode);
sys/arm64/nvidia/tegra210/max77620_regulators.c
716
reg_sc->regnode = regnode;
sys/arm64/nvidia/tegra210/max77620_regulators.c
720
reg_sc->param = regnode_get_stdparam(regnode);
sys/arm64/nvidia/tegra210/max77620_regulators.c
729
regnode_register(regnode);
sys/arm64/nvidia/tegra210/max77620_regulators.c
733
rv = regnode_get_voltage(regnode, &volt);
sys/arm64/nvidia/tegra210/max77620_regulators.c
737
regnode_get_name(regnode));
sys/arm64/nvidia/tegra210/max77620_regulators.c
741
regnode_get_name(regnode));
sys/arm64/nvidia/tegra210/max77620_regulators.c
745
regnode_get_name(regnode), volt);
sys/arm64/nvidia/tegra210/max77620_regulators.c
819
max77620_regnode_enable(struct regnode *regnode, bool val, int *udelay)
sys/arm64/nvidia/tegra210/max77620_regulators.c
826
sc = regnode_get_softc(regnode);
sys/arm64/nvidia/tegra210/max77620_regulators.c
841
regnode_get_name(sc->regnode), rv);
sys/arm64/nvidia/tegra210/max77620_regulators.c
850
max77620_regnode_set_volt(struct regnode *regnode, int min_uvolt, int max_uvolt,
sys/arm64/nvidia/tegra210/max77620_regulators.c
857
sc = regnode_get_softc(regnode);
sys/arm64/nvidia/tegra210/max77620_regulators.c
869
max77620_regnode_get_volt(struct regnode *regnode, int *uvolt)
sys/arm64/nvidia/tegra210/max77620_regulators.c
876
sc = regnode_get_softc(regnode);
sys/arm64/nvidia/tegra210/max77620_regulators.c
97
struct regnode *regnode;
sys/dev/aic7xxx/aicasm/aicasm_symbol.c
373
aic_print_reg_dump_start(FILE *dfile, symbol_node_t *regnode)
sys/dev/aic7xxx/aicasm/aicasm_symbol.c
381
regnode->symbol->name);
sys/dev/aic7xxx/aicasm/aicasm_symbol.c
386
symbol_node_t *regnode, u_int num_entries)
sys/dev/aic7xxx/aicasm/aicasm_symbol.c
391
lower_name = strdup(regnode->symbol->name);
sys/dev/aic7xxx/aicasm/aicasm_symbol.c
416
num_entries != 0 ? regnode->symbol->name : "NULL",
sys/dev/aic7xxx/aicasm/aicasm_symbol.c
419
regnode->symbol->name,
sys/dev/aic7xxx/aicasm/aicasm_symbol.c
420
regnode->symbol->info.rinfo->address);
sys/dev/aic7xxx/aicasm/aicasm_symbol.c
437
regnode->symbol->name,
sys/dev/aic7xxx/aicasm/aicasm_symbol.c
438
regnode->symbol->info.rinfo->address);
sys/dev/aic7xxx/aicasm/aicasm_symbol.c
477
symbol_node_t *regnode;
sys/dev/aic7xxx/aicasm/aicasm_symbol.c
574
regnode = SLIST_FIRST(&curnode->symbol->info.finfo->symrefs);
sys/dev/aic7xxx/aicasm/aicasm_symbol.c
575
regname = regnode->symbol->name;
sys/dev/aic7xxx/aicasm/aicasm_symbol.c
576
regnode = symlist_search(&registers, regname);
sys/dev/aic7xxx/aicasm/aicasm_symbol.c
577
SLIST_INSERT_AFTER(regnode, curnode, links);
sys/dev/aic7xxx/aicasm/aicasm_symbol.c
588
regnode = symlist_search(&registers, regname);
sys/dev/aic7xxx/aicasm/aicasm_symbol.c
589
SLIST_INSERT_AFTER(regnode, curnode, links);
sys/dev/gpio/gpioregulator.c
100
gpioregulator_regnode_enable(struct regnode *regnode, bool enable, int *udelay)
sys/dev/gpio/gpioregulator.c
106
sc = regnode_get_softc(regnode);
sys/dev/gpio/gpioregulator.c
123
gpioregulator_regnode_set_voltage(struct regnode *regnode, int min_uvolt,
sys/dev/gpio/gpioregulator.c
130
sc = regnode_get_softc(regnode);
sys/dev/gpio/gpioregulator.c
156
gpioregulator_regnode_get_voltage(struct regnode *regnode, int *uvolt)
sys/dev/gpio/gpioregulator.c
163
sc = regnode_get_softc(regnode);
sys/dev/gpio/gpioregulator.c
286
struct regnode *regnode;
sys/dev/gpio/gpioregulator.c
302
regnode = regnode_create(dev, &gpioregulator_regnode_class,
sys/dev/gpio/gpioregulator.c
304
if (regnode == NULL) {
sys/dev/gpio/gpioregulator.c
309
sc->reg_sc = regnode_get_softc(regnode);
sys/dev/gpio/gpioregulator.c
310
sc->reg_sc->regnode = regnode;
sys/dev/gpio/gpioregulator.c
312
sc->reg_sc->param = regnode_get_stdparam(regnode);
sys/dev/gpio/gpioregulator.c
315
regnode_register(regnode);
sys/dev/gpio/gpioregulator.c
64
struct regnode *regnode;
sys/dev/gpio/gpioregulator.c
77
gpioregulator_regnode_init(struct regnode *regnode)
sys/dev/gpio/gpioregulator.c
82
sc = regnode_get_softc(regnode);
sys/dev/iicbus/pmic/act8846_regulator.c
269
act8846_regnode_init(struct regnode *regnode)
sys/dev/iicbus/pmic/act8846_regulator.c
275
act8846_regnode_enable(struct regnode *regnode, bool enable, int *udelay)
sys/dev/iicbus/pmic/act8846_regulator.c
280
sc = regnode_get_softc(regnode);
sys/dev/iicbus/pmic/act8846_regulator.c
293
act8846_regnode_set_voltage(struct regnode *regnode, int min_uvolt,
sys/dev/iicbus/pmic/act8846_regulator.c
300
sc = regnode_get_softc(regnode);
sys/dev/iicbus/pmic/act8846_regulator.c
326
act8846_regnode_get_voltage(struct regnode *regnode, int *uvolt)
sys/dev/iicbus/pmic/act8846_regulator.c
332
sc = regnode_get_softc(regnode);
sys/dev/iicbus/pmic/act8846_regulator.c
398
struct regnode *regnode;
sys/dev/iicbus/pmic/act8846_regulator.c
408
regnode = regnode_create(sc->dev, &act8846_regnode_class, &initdef);
sys/dev/iicbus/pmic/act8846_regulator.c
409
if (regnode == NULL) {
sys/dev/iicbus/pmic/act8846_regulator.c
414
reg_sc = regnode_get_softc(regnode);
sys/dev/iicbus/pmic/act8846_regulator.c
418
reg_sc->param = regnode_get_stdparam(regnode);
sys/dev/iicbus/pmic/act8846_regulator.c
420
regnode_register(regnode);
sys/dev/iicbus/pmic/act8846_regulator.c
425
rv = regnode_get_voltage(regnode, &volt);
sys/dev/iicbus/pmic/act8846_regulator.c
429
regnode_get_name(regnode));
sys/dev/iicbus/pmic/act8846_regulator.c
433
regnode_get_name(regnode));
sys/dev/iicbus/pmic/act8846_regulator.c
437
regnode_get_name(regnode), volt);
sys/dev/iicbus/pmic/act8846_regulator.c
88
struct regnode *regnode;
sys/dev/iicbus/pmic/fan53555.c
196
fan53555_regnode_init(struct regnode *regnode)
sys/dev/iicbus/pmic/fan53555.c
202
fan53555_regnode_enable(struct regnode *regnode, bool enable, int *udelay)
sys/dev/iicbus/pmic/fan53555.c
207
sc = regnode_get_softc(regnode);
sys/dev/iicbus/pmic/fan53555.c
224
fan53555_regnode_set_voltage(struct regnode *regnode, int min_uvolt,
sys/dev/iicbus/pmic/fan53555.c
231
sc = regnode_get_softc(regnode);
sys/dev/iicbus/pmic/fan53555.c
252
fan53555_regnode_get_voltage(struct regnode *regnode, int *uvolt)
sys/dev/iicbus/pmic/fan53555.c
258
sc = regnode_get_softc(regnode);
sys/dev/iicbus/pmic/fan53555.c
332
struct regnode *regnode;
sys/dev/iicbus/pmic/fan53555.c
365
regnode = regnode_create(sc->dev, &fan53555_regnode_class, &initdef);
sys/dev/iicbus/pmic/fan53555.c
366
if (regnode == NULL) {
sys/dev/iicbus/pmic/fan53555.c
371
reg_sc = regnode_get_softc(regnode);
sys/dev/iicbus/pmic/fan53555.c
373
reg_sc->regnode = regnode;
sys/dev/iicbus/pmic/fan53555.c
375
reg_sc->param = regnode_get_stdparam(regnode);
sys/dev/iicbus/pmic/fan53555.c
383
regnode_register(regnode);
sys/dev/iicbus/pmic/fan53555.c
388
rv = regnode_get_voltage(regnode, &volt);
sys/dev/iicbus/pmic/fan53555.c
392
regnode_get_name(regnode));
sys/dev/iicbus/pmic/fan53555.c
396
regnode_get_name(regnode));
sys/dev/iicbus/pmic/fan53555.c
400
regnode_get_name(regnode), volt);
sys/dev/iicbus/pmic/fan53555.c
88
struct regnode *regnode;
sys/dev/iicbus/pmic/rockchip/rk8xx.h
60
struct regnode *regnode;
sys/dev/iicbus/pmic/rockchip/rk8xx_regulators.c
181
rk8xx_regnode_status(struct regnode *regnode, int *status)
sys/dev/iicbus/pmic/rockchip/rk8xx_regulators.c
186
sc = regnode_get_softc(regnode);
sys/dev/iicbus/pmic/rockchip/rk8xx_regulators.c
197
rk8xx_regnode_set_voltage(struct regnode *regnode, int min_uvolt,
sys/dev/iicbus/pmic/rockchip/rk8xx_regulators.c
205
sc = regnode_get_softc(regnode);
sys/dev/iicbus/pmic/rockchip/rk8xx_regulators.c
238
rk8xx_regnode_get_voltage(struct regnode *regnode, int *uvolt)
sys/dev/iicbus/pmic/rockchip/rk8xx_regulators.c
243
sc = regnode_get_softc(regnode);
sys/dev/iicbus/pmic/rockchip/rk8xx_regulators.c
282
struct regnode *regnode;
sys/dev/iicbus/pmic/rockchip/rk8xx_regulators.c
296
regnode = regnode_create(dev, &rk8xx_regnode_class, &initdef);
sys/dev/iicbus/pmic/rockchip/rk8xx_regulators.c
297
if (regnode == NULL) {
sys/dev/iicbus/pmic/rockchip/rk8xx_regulators.c
302
reg_sc = regnode_get_softc(regnode);
sys/dev/iicbus/pmic/rockchip/rk8xx_regulators.c
303
reg_sc->regnode = regnode;
sys/dev/iicbus/pmic/rockchip/rk8xx_regulators.c
307
reg_sc->param = regnode_get_stdparam(regnode);
sys/dev/iicbus/pmic/rockchip/rk8xx_regulators.c
309
regnode_register(regnode);
sys/dev/iicbus/pmic/rockchip/rk8xx_regulators.c
42
static int rk8xx_regnode_status(struct regnode *regnode, int *status);
sys/dev/iicbus/pmic/rockchip/rk8xx_regulators.c
43
static int rk8xx_regnode_set_voltage(struct regnode *regnode, int min_uvolt,
sys/dev/iicbus/pmic/rockchip/rk8xx_regulators.c
45
static int rk8xx_regnode_get_voltage(struct regnode *regnode, int *uvolt);
sys/dev/iicbus/pmic/rockchip/rk8xx_regulators.c
51
rk8xx_regnode_init(struct regnode *regnode)
sys/dev/iicbus/pmic/rockchip/rk8xx_regulators.c
57
sc = regnode_get_softc(regnode);
sys/dev/iicbus/pmic/rockchip/rk8xx_regulators.c
59
param = regnode_get_stdparam(regnode);
sys/dev/iicbus/pmic/rockchip/rk8xx_regulators.c
64
rv = rk8xx_regnode_get_voltage(regnode, &uvolt);
sys/dev/iicbus/pmic/rockchip/rk8xx_regulators.c
75
rv = rk8xx_regnode_status(regnode, &status);
sys/dev/iicbus/pmic/rockchip/rk8xx_regulators.c
79
rv = rk8xx_regnode_set_voltage(regnode, param->min_uvolt,
sys/dev/iicbus/pmic/rockchip/rk8xx_regulators.c
88
rk8xx_regnode_enable(struct regnode *regnode, bool enable, int *udelay)
sys/dev/iicbus/pmic/rockchip/rk8xx_regulators.c
93
sc = regnode_get_softc(regnode);
sys/dev/iicbus/pmic/silergy/sy8106a.c
119
sy8106a_regnode_init(struct regnode *regnode)
sys/dev/iicbus/pmic/silergy/sy8106a.c
125
sy8106a_regnode_enable(struct regnode *regnode, bool enable, int *udelay)
sys/dev/iicbus/pmic/silergy/sy8106a.c
130
sc = regnode_get_softc(regnode);
sys/dev/iicbus/pmic/silergy/sy8106a.c
145
sy8106a_regnode_set_voltage(struct regnode *regnode, int min_uvolt,
sys/dev/iicbus/pmic/silergy/sy8106a.c
152
sc = regnode_get_softc(regnode);
sys/dev/iicbus/pmic/silergy/sy8106a.c
171
sy8106a_regnode_get_voltage(struct regnode *regnode, int *uvolt)
sys/dev/iicbus/pmic/silergy/sy8106a.c
176
sc = regnode_get_softc(regnode);
sys/dev/iicbus/pmic/silergy/sy8106a.c
201
struct regnode *regnode;
sys/dev/iicbus/pmic/silergy/sy8106a.c
207
regnode = regnode_create(dev, &sy8106a_regnode_class, &initdef);
sys/dev/iicbus/pmic/silergy/sy8106a.c
208
if (regnode == NULL) {
sys/dev/iicbus/pmic/silergy/sy8106a.c
213
reg_sc = regnode_get_softc(regnode);
sys/dev/iicbus/pmic/silergy/sy8106a.c
214
reg_sc->regnode = regnode;
sys/dev/iicbus/pmic/silergy/sy8106a.c
217
reg_sc->param = regnode_get_stdparam(regnode);
sys/dev/iicbus/pmic/silergy/sy8106a.c
219
regnode_register(regnode);
sys/dev/iicbus/pmic/silergy/sy8106a.c
64
struct regnode *regnode;
sys/dev/iicbus/pmic/silergy/syr827.c
100
syr827_regnode_init(struct regnode *regnode)
sys/dev/iicbus/pmic/silergy/syr827.c
106
syr827_regnode_enable(struct regnode *regnode, bool enable, int *udelay)
sys/dev/iicbus/pmic/silergy/syr827.c
111
sc = regnode_get_softc(regnode);
sys/dev/iicbus/pmic/silergy/syr827.c
126
syr827_regnode_set_voltage(struct regnode *regnode, int min_uvolt,
sys/dev/iicbus/pmic/silergy/syr827.c
133
sc = regnode_get_softc(regnode);
sys/dev/iicbus/pmic/silergy/syr827.c
153
syr827_regnode_get_voltage(struct regnode *regnode, int *uvolt)
sys/dev/iicbus/pmic/silergy/syr827.c
158
sc = regnode_get_softc(regnode);
sys/dev/iicbus/pmic/silergy/syr827.c
183
struct regnode *regnode;
sys/dev/iicbus/pmic/silergy/syr827.c
190
regnode = regnode_create(dev, &syr827_regnode_class, &initdef);
sys/dev/iicbus/pmic/silergy/syr827.c
191
if (regnode == NULL) {
sys/dev/iicbus/pmic/silergy/syr827.c
196
reg_sc = regnode_get_softc(regnode);
sys/dev/iicbus/pmic/silergy/syr827.c
197
reg_sc->regnode = regnode;
sys/dev/iicbus/pmic/silergy/syr827.c
200
reg_sc->param = regnode_get_stdparam(regnode);
sys/dev/iicbus/pmic/silergy/syr827.c
217
regnode_register(regnode);
sys/dev/iicbus/pmic/silergy/syr827.c
70
struct regnode *regnode;
sys/dev/regulator/regulator.c
1002
struct regnode *regnode;
sys/dev/regulator/regulator.c
1004
regnode = reg->regnode;
sys/dev/regulator/regulator.c
1005
KASSERT(regnode->ref_cnt > 0,
sys/dev/regulator/regulator.c
1006
("Attempt to access unreferenced regulator: %s\n", regnode->name));
sys/dev/regulator/regulator.c
1009
rv = regnode_get_voltage(regnode, uvolt);
sys/dev/regulator/regulator.c
101
TAILQ_ENTRY(regnode) reglist_link; /* Global list entry */
sys/dev/regulator/regulator.c
1017
struct regnode *regnode;
sys/dev/regulator/regulator.c
1020
regnode = reg->regnode;
sys/dev/regulator/regulator.c
1021
KASSERT(regnode->ref_cnt > 0,
sys/dev/regulator/regulator.c
1022
("Attempt to access unreferenced regulator: %s\n", regnode->name));
sys/dev/regulator/regulator.c
1026
rv = regnode_set_voltage_checked(regnode, reg, min_uvolt, max_uvolt);
sys/dev/regulator/regulator.c
1039
struct regnode *regnode;
sys/dev/regulator/regulator.c
1041
regnode = reg->regnode;
sys/dev/regulator/regulator.c
1042
KASSERT(regnode->ref_cnt > 0,
sys/dev/regulator/regulator.c
1043
("Attempt to access unreferenced regulator: %s\n", regnode->name));
sys/dev/regulator/regulator.c
1046
rv = REGNODE_CHECK_VOLTAGE(regnode, uvolt);
sys/dev/regulator/regulator.c
105
struct regnode *parent; /* Resolved parent */
sys/dev/regulator/regulator.c
1054
struct regnode *regnode;
sys/dev/regulator/regulator.c
1056
regnode = reg->regnode;
sys/dev/regulator/regulator.c
1057
KASSERT(regnode->ref_cnt > 0,
sys/dev/regulator/regulator.c
1058
("Attempt to access unreferenced regulator: %s\n", regnode->name));
sys/dev/regulator/regulator.c
1059
return (regnode->name);
sys/dev/regulator/regulator.c
1065
struct regnode *regnode;
sys/dev/regulator/regulator.c
1068
regnode = regnode_find_by_name(name);
sys/dev/regulator/regulator.c
1069
if (regnode == NULL) {
sys/dev/regulator/regulator.c
1073
*reg = regulator_create(regnode, cdev);
sys/dev/regulator/regulator.c
1081
struct regnode *regnode;
sys/dev/regulator/regulator.c
1085
regnode = regnode_find_by_id(pdev, id);
sys/dev/regulator/regulator.c
1086
if (regnode == NULL) {
sys/dev/regulator/regulator.c
1090
*reg = regulator_create(regnode, cdev);
sys/dev/regulator/regulator.c
1099
struct regnode *regnode;
sys/dev/regulator/regulator.c
1101
regnode = reg->regnode;
sys/dev/regulator/regulator.c
1102
KASSERT(regnode->ref_cnt > 0,
sys/dev/regulator/regulator.c
1103
("Attempt to access unreferenced regulator: %s\n", regnode->name));
sys/dev/regulator/regulator.c
1106
regnode_disable(regnode);
sys/dev/regulator/regulator.c
1109
REGNODE_XLOCK(regnode);
sys/dev/regulator/regulator.c
1110
TAILQ_REMOVE(&regnode->consumers_list, reg, link);
sys/dev/regulator/regulator.c
1111
regnode->ref_cnt--;
sys/dev/regulator/regulator.c
1112
REGNODE_UNLOCK(regnode);
sys/dev/regulator/regulator.c
134
struct regnode *regnode;
sys/dev/regulator/regulator.c
168
struct regnode *entry;
sys/dev/regulator/regulator.c
191
struct regnode *entry;
sys/dev/regulator/regulator.c
236
struct regnode *regnode = arg1;
sys/dev/regulator/regulator.c
239
if (regnode->std_param.min_uvolt == regnode->std_param.max_uvolt) {
sys/dev/regulator/regulator.c
240
uvolt = regnode->std_param.min_uvolt;
sys/dev/regulator/regulator.c
243
if ((rv = regnode_get_voltage(regnode, &uvolt)) != 0) {
sys/dev/regulator/regulator.c
259
regnode_method_init(struct regnode *regnode)
sys/dev/regulator/regulator.c
266
regnode_method_enable(struct regnode *regnode, bool enable, int *udelay)
sys/dev/regulator/regulator.c
277
regnode_method_status(struct regnode *regnode, int *status)
sys/dev/regulator/regulator.c
284
regnode_method_set_voltage(struct regnode *regnode, int min_uvolt, int max_uvolt,
sys/dev/regulator/regulator.c
288
if ((min_uvolt > regnode->std_param.max_uvolt) ||
sys/dev/regulator/regulator.c
289
(max_uvolt < regnode->std_param.min_uvolt))
sys/dev/regulator/regulator.c
296
regnode_method_get_voltage(struct regnode *regnode, int *uvolt)
sys/dev/regulator/regulator.c
299
*uvolt = regnode->std_param.min_uvolt +
sys/dev/regulator/regulator.c
300
(regnode->std_param.max_uvolt - regnode->std_param.min_uvolt) / 2;
sys/dev/regulator/regulator.c
305
regnode_method_check_voltage(struct regnode *regnode, int uvolt)
sys/dev/regulator/regulator.c
308
if ((uvolt > regnode->std_param.max_uvolt) ||
sys/dev/regulator/regulator.c
309
(uvolt < regnode->std_param.min_uvolt))
sys/dev/regulator/regulator.c
320
static struct regnode *
sys/dev/regulator/regulator.c
323
struct regnode *entry;
sys/dev/regulator/regulator.c
334
static struct regnode *
sys/dev/regulator/regulator.c
337
struct regnode *entry;
sys/dev/regulator/regulator.c
352
struct regnode *
sys/dev/regulator/regulator.c
356
struct regnode *regnode;
sys/dev/regulator/regulator.c
368
regnode = malloc(sizeof(struct regnode), M_REGULATOR,
sys/dev/regulator/regulator.c
370
kobj_init((kobj_t)regnode, (kobj_class_t)regnode_class);
sys/dev/regulator/regulator.c
371
sx_init(&regnode->lock, "Regulator node lock");
sys/dev/regulator/regulator.c
375
regnode->softc = malloc(regnode_class->size, M_REGULATOR,
sys/dev/regulator/regulator.c
382
regnode->name = def->name;
sys/dev/regulator/regulator.c
383
regnode->parent_name = def->parent_name;
sys/dev/regulator/regulator.c
385
regnode->name = strdup(def->name, M_REGULATOR);
sys/dev/regulator/regulator.c
387
regnode->parent_name = strdup(def->parent_name,
sys/dev/regulator/regulator.c
392
TAILQ_INIT(&regnode->consumers_list);
sys/dev/regulator/regulator.c
393
regnode->id = def->id;
sys/dev/regulator/regulator.c
394
regnode->pdev = pdev;
sys/dev/regulator/regulator.c
395
regnode->flags = def->flags;
sys/dev/regulator/regulator.c
396
regnode->parent = NULL;
sys/dev/regulator/regulator.c
397
regnode->std_param = def->std_param;
sys/dev/regulator/regulator.c
399
regnode->ofw_node = def->ofw_node;
sys/dev/regulator/regulator.c
402
sysctl_ctx_init(&regnode->sysctl_ctx);
sys/dev/regulator/regulator.c
403
regnode_oid = SYSCTL_ADD_NODE(&regnode->sysctl_ctx,
sys/dev/regulator/regulator.c
405
OID_AUTO, regnode->name,
sys/dev/regulator/regulator.c
408
SYSCTL_ADD_INT(&regnode->sysctl_ctx,
sys/dev/regulator/regulator.c
411
CTLFLAG_RD, &regnode->std_param.min_uvolt, 0,
sys/dev/regulator/regulator.c
413
SYSCTL_ADD_INT(&regnode->sysctl_ctx,
sys/dev/regulator/regulator.c
416
CTLFLAG_RD, &regnode->std_param.max_uvolt, 0,
sys/dev/regulator/regulator.c
418
SYSCTL_ADD_INT(&regnode->sysctl_ctx,
sys/dev/regulator/regulator.c
421
CTLFLAG_RD, &regnode->std_param.min_uamp, 0,
sys/dev/regulator/regulator.c
423
SYSCTL_ADD_INT(&regnode->sysctl_ctx,
sys/dev/regulator/regulator.c
426
CTLFLAG_RD, &regnode->std_param.max_uamp, 0,
sys/dev/regulator/regulator.c
428
SYSCTL_ADD_INT(&regnode->sysctl_ctx,
sys/dev/regulator/regulator.c
431
CTLFLAG_RD, &regnode->std_param.ramp_delay, 0,
sys/dev/regulator/regulator.c
433
SYSCTL_ADD_INT(&regnode->sysctl_ctx,
sys/dev/regulator/regulator.c
436
CTLFLAG_RD, &regnode->std_param.enable_delay, 0,
sys/dev/regulator/regulator.c
438
SYSCTL_ADD_INT(&regnode->sysctl_ctx,
sys/dev/regulator/regulator.c
441
CTLFLAG_RD, &regnode->enable_cnt, 0,
sys/dev/regulator/regulator.c
443
SYSCTL_ADD_U8(&regnode->sysctl_ctx,
sys/dev/regulator/regulator.c
446
CTLFLAG_RD, (uint8_t *) &regnode->std_param.boot_on, 0,
sys/dev/regulator/regulator.c
448
SYSCTL_ADD_U8(&regnode->sysctl_ctx,
sys/dev/regulator/regulator.c
451
CTLFLAG_RD, (uint8_t *)&regnode->std_param.always_on, 0,
sys/dev/regulator/regulator.c
454
SYSCTL_ADD_PROC(&regnode->sysctl_ctx,
sys/dev/regulator/regulator.c
458
regnode, 0, regnode_uvolt_sysctl,
sys/dev/regulator/regulator.c
462
return (regnode);
sys/dev/regulator/regulator.c
466
struct regnode *
sys/dev/regulator/regulator.c
467
regnode_register(struct regnode *regnode)
sys/dev/regulator/regulator.c
472
if (regnode->ofw_node <= 0)
sys/dev/regulator/regulator.c
473
regnode->ofw_node = ofw_bus_get_node(regnode->pdev);
sys/dev/regulator/regulator.c
474
if (regnode->ofw_node <= 0)
sys/dev/regulator/regulator.c
478
rv = REGNODE_INIT(regnode);
sys/dev/regulator/regulator.c
485
TAILQ_INSERT_TAIL(&regnode_list, regnode, reglist_link);
sys/dev/regulator/regulator.c
488
OF_device_register_xref(OF_xref_from_node(regnode->ofw_node),
sys/dev/regulator/regulator.c
489
regnode->pdev);
sys/dev/regulator/regulator.c
491
return (regnode);
sys/dev/regulator/regulator.c
495
regnode_resolve_parent(struct regnode *regnode)
sys/dev/regulator/regulator.c
499
if ((regnode->parent != NULL) ||
sys/dev/regulator/regulator.c
500
(regnode->parent_name == NULL))
sys/dev/regulator/regulator.c
503
regnode->parent = regnode_find_by_name(regnode->parent_name);
sys/dev/regulator/regulator.c
504
if (regnode->parent == NULL)
sys/dev/regulator/regulator.c
531
regnode_get_name(struct regnode *regnode)
sys/dev/regulator/regulator.c
534
return (regnode->name);
sys/dev/regulator/regulator.c
538
regnode_get_parent_name(struct regnode *regnode)
sys/dev/regulator/regulator.c
541
return (regnode->parent_name);
sys/dev/regulator/regulator.c
545
regnode_get_flags(struct regnode *regnode)
sys/dev/regulator/regulator.c
548
return (regnode->flags);
sys/dev/regulator/regulator.c
552
regnode_get_softc(struct regnode *regnode)
sys/dev/regulator/regulator.c
555
return (regnode->softc);
sys/dev/regulator/regulator.c
559
regnode_get_device(struct regnode *regnode)
sys/dev/regulator/regulator.c
562
return (regnode->pdev);
sys/dev/regulator/regulator.c
565
struct regnode_std_param *regnode_get_stdparam(struct regnode *regnode)
sys/dev/regulator/regulator.c
568
return (&regnode->std_param);
sys/dev/regulator/regulator.c
595
struct regnode *
sys/dev/regulator/regulator.c
596
regnode_get_parent(struct regnode *regnode)
sys/dev/regulator/regulator.c
602
rv = regnode_resolve_parent(regnode);
sys/dev/regulator/regulator.c
606
return (regnode->parent);
sys/dev/regulator/regulator.c
613
regnode_enable(struct regnode *regnode)
sys/dev/regulator/regulator.c
621
rv = regnode_resolve_parent(regnode);
sys/dev/regulator/regulator.c
624
if (regnode->parent != NULL) {
sys/dev/regulator/regulator.c
625
rv = regnode_enable(regnode->parent);
sys/dev/regulator/regulator.c
63
struct regnode;
sys/dev/regulator/regulator.c
631
REGNODE_XLOCK(regnode);
sys/dev/regulator/regulator.c
632
if (regnode->enable_cnt == 0) {
sys/dev/regulator/regulator.c
633
rv = REGNODE_ENABLE(regnode, true, &udelay);
sys/dev/regulator/regulator.c
635
REGNODE_UNLOCK(regnode);
sys/dev/regulator/regulator.c
640
regnode->enable_cnt++;
sys/dev/regulator/regulator.c
641
REGNODE_UNLOCK(regnode);
sys/dev/regulator/regulator.c
649
regnode_disable(struct regnode *regnode)
sys/dev/regulator/regulator.c
65
typedef TAILQ_HEAD(regnode_list, regnode) regnode_list_t;
sys/dev/regulator/regulator.c
657
REGNODE_XLOCK(regnode);
sys/dev/regulator/regulator.c
659
if (regnode->enable_cnt == 1 &&
sys/dev/regulator/regulator.c
660
(regnode->flags & REGULATOR_FLAGS_NOT_DISABLE) == 0 &&
sys/dev/regulator/regulator.c
661
!regnode->std_param.always_on) {
sys/dev/regulator/regulator.c
662
rv = REGNODE_ENABLE(regnode, false, &udelay);
sys/dev/regulator/regulator.c
664
REGNODE_UNLOCK(regnode);
sys/dev/regulator/regulator.c
669
regnode->enable_cnt--;
sys/dev/regulator/regulator.c
670
REGNODE_UNLOCK(regnode);
sys/dev/regulator/regulator.c
672
rv = regnode_resolve_parent(regnode);
sys/dev/regulator/regulator.c
675
if (regnode->parent != NULL)
sys/dev/regulator/regulator.c
676
rv = regnode_disable(regnode->parent);
sys/dev/regulator/regulator.c
684
regnode_stop(struct regnode *regnode, int depth)
sys/dev/regulator/regulator.c
69
static int regnode_method_init(struct regnode *regnode);
sys/dev/regulator/regulator.c
692
REGNODE_XLOCK(regnode);
sys/dev/regulator/regulator.c
694
if ((regnode->enable_cnt != 0) && (depth == 0)) {
sys/dev/regulator/regulator.c
695
REGNODE_UNLOCK(regnode);
sys/dev/regulator/regulator.c
699
if ((regnode->enable_cnt == 0) &&
sys/dev/regulator/regulator.c
70
static int regnode_method_enable(struct regnode *regnode, bool enable,
sys/dev/regulator/regulator.c
700
((regnode->flags & REGULATOR_FLAGS_NOT_DISABLE) == 0)) {
sys/dev/regulator/regulator.c
701
rv = REGNODE_STOP(regnode, &udelay);
sys/dev/regulator/regulator.c
703
REGNODE_UNLOCK(regnode);
sys/dev/regulator/regulator.c
708
REGNODE_UNLOCK(regnode);
sys/dev/regulator/regulator.c
710
rv = regnode_resolve_parent(regnode);
sys/dev/regulator/regulator.c
713
if (regnode->parent != NULL && regnode->parent->enable_cnt == 0)
sys/dev/regulator/regulator.c
714
rv = regnode_stop(regnode->parent, depth + 1);
sys/dev/regulator/regulator.c
72
static int regnode_method_status(struct regnode *regnode, int *status);
sys/dev/regulator/regulator.c
722
regnode_status(struct regnode *regnode, int *status)
sys/dev/regulator/regulator.c
728
REGNODE_XLOCK(regnode);
sys/dev/regulator/regulator.c
729
rv = REGNODE_STATUS(regnode, status);
sys/dev/regulator/regulator.c
73
static int regnode_method_set_voltage(struct regnode *regnode, int min_uvolt,
sys/dev/regulator/regulator.c
730
REGNODE_UNLOCK(regnode);
sys/dev/regulator/regulator.c
738
regnode_get_voltage(struct regnode *regnode, int *uvolt)
sys/dev/regulator/regulator.c
744
REGNODE_XLOCK(regnode);
sys/dev/regulator/regulator.c
745
rv = REGNODE_GET_VOLTAGE(regnode, uvolt);
sys/dev/regulator/regulator.c
746
REGNODE_UNLOCK(regnode);
sys/dev/regulator/regulator.c
75
static int regnode_method_get_voltage(struct regnode *regnode, int *uvolt);
sys/dev/regulator/regulator.c
750
rv = regnode_resolve_parent(regnode);
sys/dev/regulator/regulator.c
753
if (regnode->parent != NULL)
sys/dev/regulator/regulator.c
754
rv = regnode_get_voltage(regnode->parent, uvolt);
sys/dev/regulator/regulator.c
764
regnode_set_voltage(struct regnode *regnode, int min_uvolt, int max_uvolt)
sys/dev/regulator/regulator.c
771
REGNODE_XLOCK(regnode);
sys/dev/regulator/regulator.c
773
rv = REGNODE_SET_VOLTAGE(regnode, min_uvolt, max_uvolt, &udelay);
sys/dev/regulator/regulator.c
776
REGNODE_UNLOCK(regnode);
sys/dev/regulator/regulator.c
784
regnode_set_voltage_checked(struct regnode *regnode, struct regulator *reg,
sys/dev/regulator/regulator.c
795
REGNODE_XLOCK(regnode);
sys/dev/regulator/regulator.c
797
if ((min_uvolt > regnode->std_param.max_uvolt) ||
sys/dev/regulator/regulator.c
798
(max_uvolt < regnode->std_param.min_uvolt)) {
sys/dev/regulator/regulator.c
799
REGNODE_UNLOCK(regnode);
sys/dev/regulator/regulator.c
804
all_min_uvolt = regnode->std_param.min_uvolt;
sys/dev/regulator/regulator.c
805
all_max_uvolt = regnode->std_param.max_uvolt;
sys/dev/regulator/regulator.c
806
TAILQ_FOREACH(tmp, &regnode->consumers_list, link) {
sys/dev/regulator/regulator.c
819
REGNODE_UNLOCK(regnode);
sys/dev/regulator/regulator.c
829
rv = REGNODE_SET_VOLTAGE(regnode, min_uvolt, max_uvolt, &udelay);
sys/dev/regulator/regulator.c
831
REGNODE_UNLOCK(regnode);
sys/dev/regulator/regulator.c
836
regnode_set_constraint(struct regnode *regnode)
sys/dev/regulator/regulator.c
840
if (regnode->std_param.boot_on != true &&
sys/dev/regulator/regulator.c
841
regnode->std_param.always_on != true)
sys/dev/regulator/regulator.c
844
rv = regnode_status(regnode, &status);
sys/dev/regulator/regulator.c
848
regnode_get_name(regnode));
sys/dev/regulator/regulator.c
855
rv = regnode_get_voltage(regnode, &uvolt);
sys/dev/regulator/regulator.c
859
regnode_get_name(regnode));
sys/dev/regulator/regulator.c
863
if (uvolt < regnode->std_param.min_uvolt ||
sys/dev/regulator/regulator.c
864
uvolt > regnode->std_param.max_uvolt) {
sys/dev/regulator/regulator.c
868
regnode_get_name(regnode),
sys/dev/regulator/regulator.c
869
uvolt, regnode->std_param.min_uvolt,
sys/dev/regulator/regulator.c
870
regnode->std_param.max_uvolt);
sys/dev/regulator/regulator.c
874
rv = regnode_enable(regnode);
sys/dev/regulator/regulator.c
878
regnode_get_name(regnode));
sys/dev/regulator/regulator.c
887
regnode_get_ofw_node(struct regnode *regnode)
sys/dev/regulator/regulator.c
890
return (regnode->ofw_node);
sys/dev/regulator/regulator.c
901
regulator_create(struct regnode *regnode, device_t cdev)
sys/dev/regulator/regulator.c
910
reg->regnode = regnode;
sys/dev/regulator/regulator.c
913
REGNODE_XLOCK(regnode);
sys/dev/regulator/regulator.c
914
regnode->ref_cnt++;
sys/dev/regulator/regulator.c
915
TAILQ_INSERT_TAIL(&regnode->consumers_list, reg, link);
sys/dev/regulator/regulator.c
916
reg ->min_uvolt = regnode->std_param.min_uvolt;
sys/dev/regulator/regulator.c
917
reg ->max_uvolt = regnode->std_param.max_uvolt;
sys/dev/regulator/regulator.c
918
REGNODE_UNLOCK(regnode);
sys/dev/regulator/regulator.c
92
DEFINE_CLASS_0(regnode, regnode_class, regnode_methods, 0);
sys/dev/regulator/regulator.c
927
struct regnode *regnode;
sys/dev/regulator/regulator.c
929
regnode = reg->regnode;
sys/dev/regulator/regulator.c
930
KASSERT(regnode->ref_cnt > 0,
sys/dev/regulator/regulator.c
931
("Attempt to access unreferenced regulator: %s\n", regnode->name));
sys/dev/regulator/regulator.c
933
rv = regnode_enable(regnode);
sys/dev/regulator/regulator.c
944
struct regnode *regnode;
sys/dev/regulator/regulator.c
946
regnode = reg->regnode;
sys/dev/regulator/regulator.c
947
KASSERT(regnode->ref_cnt > 0,
sys/dev/regulator/regulator.c
948
("Attempt to access unreferenced regulator: %s\n", regnode->name));
sys/dev/regulator/regulator.c
951
regnode->name));
sys/dev/regulator/regulator.c
953
rv = regnode_disable(regnode);
sys/dev/regulator/regulator.c
964
struct regnode *regnode;
sys/dev/regulator/regulator.c
966
regnode = reg->regnode;
sys/dev/regulator/regulator.c
967
KASSERT(regnode->ref_cnt > 0,
sys/dev/regulator/regulator.c
968
("Attempt to access unreferenced regulator: %s\n", regnode->name));
sys/dev/regulator/regulator.c
970
("Attempt to stop already enabled regulator: %s\n", regnode->name));
sys/dev/regulator/regulator.c
973
rv = regnode_stop(regnode, 0);
sys/dev/regulator/regulator.c
982
struct regnode *regnode;
sys/dev/regulator/regulator.c
984
regnode = reg->regnode;
sys/dev/regulator/regulator.c
985
KASSERT(regnode->ref_cnt > 0,
sys/dev/regulator/regulator.c
986
("Attempt to access unreferenced regulator: %s\n", regnode->name));
sys/dev/regulator/regulator.c
993
rv = regnode_status(regnode, status);
sys/dev/regulator/regulator.h
100
struct regnode *regnode_register(struct regnode *regnode);
sys/dev/regulator/regulator.h
101
const char *regnode_get_name(struct regnode *regnode);
sys/dev/regulator/regulator.h
102
const char *regnode_get_parent_name(struct regnode *regnode);
sys/dev/regulator/regulator.h
103
struct regnode *regnode_get_parent(struct regnode *regnode);
sys/dev/regulator/regulator.h
104
int regnode_get_flags(struct regnode *regnode);
sys/dev/regulator/regulator.h
105
void *regnode_get_softc(struct regnode *regnode);
sys/dev/regulator/regulator.h
106
device_t regnode_get_device(struct regnode *regnode);
sys/dev/regulator/regulator.h
107
struct regnode_std_param *regnode_get_stdparam(struct regnode *regnode);
sys/dev/regulator/regulator.h
112
int regnode_enable(struct regnode *regnode);
sys/dev/regulator/regulator.h
113
int regnode_disable(struct regnode *regnode);
sys/dev/regulator/regulator.h
114
int regnode_stop(struct regnode *regnode, int depth);
sys/dev/regulator/regulator.h
115
int regnode_status(struct regnode *regnode, int *status);
sys/dev/regulator/regulator.h
116
int regnode_get_voltage(struct regnode *regnode, int *uvolt);
sys/dev/regulator/regulator.h
117
int regnode_set_voltage(struct regnode *regnode, int min_uvolt, int max_uvolt);
sys/dev/regulator/regulator.h
118
int regnode_set_constraint(struct regnode *regnode);
sys/dev/regulator/regulator.h
121
int regnode_method_check_voltage(struct regnode *regnode, int uvolt);
sys/dev/regulator/regulator.h
124
phandle_t regnode_get_ofw_node(struct regnode *regnode);
sys/dev/regulator/regulator.h
98
struct regnode *regnode_create(device_t pdev, regnode_class_t regnode_class,
sys/dev/regulator/regulator_fixed.c
142
regnode_fixed_init(struct regnode *regnode)
sys/dev/regulator/regulator_fixed.c
150
sc = regnode_get_softc(regnode);
sys/dev/regulator/regulator_fixed.c
151
dev = regnode_get_device(regnode);
sys/dev/regulator/regulator_fixed.c
152
sc->param = regnode_get_stdparam(regnode);
sys/dev/regulator/regulator_fixed.c
183
regnode_fixed_enable(struct regnode *regnode, bool enable, int *udelay)
sys/dev/regulator/regulator_fixed.c
190
sc = regnode_get_softc(regnode);
sys/dev/regulator/regulator_fixed.c
191
dev = regnode_get_device(regnode);
sys/dev/regulator/regulator_fixed.c
226
regnode_fixed_stop(struct regnode *regnode, int *udelay)
sys/dev/regulator/regulator_fixed.c
233
sc = regnode_get_softc(regnode);
sys/dev/regulator/regulator_fixed.c
234
dev = regnode_get_device(regnode);
sys/dev/regulator/regulator_fixed.c
258
regnode_fixed_status(struct regnode *regnode, int *status)
sys/dev/regulator/regulator_fixed.c
265
sc = regnode_get_softc(regnode);
sys/dev/regulator/regulator_fixed.c
283
regnode_fixed_get_voltage(struct regnode *regnode, int *uvolt)
sys/dev/regulator/regulator_fixed.c
287
sc = regnode_get_softc(regnode);
sys/dev/regulator/regulator_fixed.c
295
struct regnode *regnode;
sys/dev/regulator/regulator_fixed.c
298
regnode = regnode_create(dev, &regnode_fixed_class,
sys/dev/regulator/regulator_fixed.c
300
if (regnode == NULL) {
sys/dev/regulator/regulator_fixed.c
304
sc = regnode_get_softc(regnode);
sys/dev/regulator/regulator_fixed.c
311
regnode = regnode_register(regnode);
sys/dev/regulator/regulator_fixed.c
312
if (regnode == NULL) {
sys/dev/regulator/regulator_fixed.c
72
static int regnode_fixed_init(struct regnode *regnode);
sys/dev/regulator/regulator_fixed.c
73
static int regnode_fixed_enable(struct regnode *regnode, bool enable,
sys/dev/regulator/regulator_fixed.c
75
static int regnode_fixed_status(struct regnode *regnode, int *status);
sys/dev/regulator/regulator_fixed.c
76
static int regnode_fixed_stop(struct regnode *regnode, int *udelay);
sys/dev/regulator/regulator_fixed.c
77
static int regnode_fixed_get_voltage(struct regnode *regnode, int *uvolt);