Searched refs:initdef (Results 1 – 7 of 7) sorted by relevance
| /freebsd-13.1/sys/dev/iicbus/ |
| H A D | sy8106a.c | 205 struct regnode_init_def initdef; in sy8106a_reg_attach() local 208 memset(&initdef, 0, sizeof(initdef)); in sy8106a_reg_attach() 209 regulator_parse_ofw_stdparam(dev, node, &initdef); in sy8106a_reg_attach() 210 initdef.id = 0; in sy8106a_reg_attach() 211 initdef.ofw_node = node; in sy8106a_reg_attach() 212 regnode = regnode_create(dev, &sy8106a_regnode_class, &initdef); in sy8106a_reg_attach()
|
| H A D | syr827.c | 185 struct regnode_init_def initdef; in syr827_reg_attach() local 189 memset(&initdef, 0, sizeof(initdef)); in syr827_reg_attach() 190 regulator_parse_ofw_stdparam(dev, node, &initdef); in syr827_reg_attach() 191 initdef.id = 0; in syr827_reg_attach() 192 initdef.ofw_node = node; in syr827_reg_attach() 193 regnode = regnode_create(dev, &syr827_regnode_class, &initdef); in syr827_reg_attach()
|
| /freebsd-13.1/sys/dev/iicbus/pmic/ |
| H A D | fan53555.c | 318 struct regnode_init_def initdef; in fan53555_reg_attach() local 323 memset(&initdef, 0, sizeof(initdef)); in fan53555_reg_attach() 324 if (regulator_parse_ofw_stdparam(sc->dev, node, &initdef) != 0) { in fan53555_reg_attach() 349 initdef.id = 1; in fan53555_reg_attach() 350 initdef.ofw_node = node; in fan53555_reg_attach() 352 regnode = regnode_create(sc->dev, &fan53555_regnode_class, &initdef); in fan53555_reg_attach()
|
| H A D | act8846_regulator.c | 400 struct regnode_init_def initdef; in act8846_attach() local 403 memset(&initdef, 0, sizeof(initdef)); in act8846_attach() 404 if (act8846_fdt_parse(sc, pnode, node, def, &initdef) != 0) { in act8846_attach() 408 initdef.id = def->id; in act8846_attach() 409 initdef.ofw_node = node; in act8846_attach() 411 regnode = regnode_create(sc->dev, &act8846_regnode_class, &initdef); in act8846_attach()
|
| /freebsd-13.1/sys/arm64/rockchip/ |
| H A D | rk805.c | 556 struct regnode_init_def initdef; in rk805_reg_attach() local 559 memset(&initdef, 0, sizeof(initdef)); in rk805_reg_attach() 560 if (regulator_parse_ofw_stdparam(dev, node, &initdef) != 0) { in rk805_reg_attach() 564 if (initdef.std_param.min_uvolt == 0) in rk805_reg_attach() 565 initdef.std_param.min_uvolt = def->voltage_min; in rk805_reg_attach() 566 if (initdef.std_param.max_uvolt == 0) in rk805_reg_attach() 567 initdef.std_param.max_uvolt = def->voltage_max; in rk805_reg_attach() 568 initdef.id = def->id; in rk805_reg_attach() 569 initdef.ofw_node = node; in rk805_reg_attach() 571 regnode = regnode_create(dev, &rk805_regnode_class, &initdef); in rk805_reg_attach()
|
| /freebsd-13.1/sys/arm/allwinner/ |
| H A D | axp209.c | 1148 struct regnode_init_def initdef; in axp2xx_reg_attach() local 1151 memset(&initdef, 0, sizeof(initdef)); in axp2xx_reg_attach() 1152 if (regulator_parse_ofw_stdparam(dev, node, &initdef) != 0) { in axp2xx_reg_attach() 1156 if (initdef.std_param.min_uvolt == 0) in axp2xx_reg_attach() 1157 initdef.std_param.min_uvolt = def->voltage_min * 1000; in axp2xx_reg_attach() 1158 if (initdef.std_param.max_uvolt == 0) in axp2xx_reg_attach() 1159 initdef.std_param.max_uvolt = def->voltage_max * 1000; in axp2xx_reg_attach() 1160 initdef.id = def->id; in axp2xx_reg_attach() 1161 initdef.ofw_node = node; in axp2xx_reg_attach() 1162 regnode = regnode_create(dev, &axp2xx_regnode_class, &initdef); in axp2xx_reg_attach()
|
| H A D | axp81x.c | 1398 struct regnode_init_def initdef; in axp8xx_reg_attach() local 1401 memset(&initdef, 0, sizeof(initdef)); in axp8xx_reg_attach() 1402 if (regulator_parse_ofw_stdparam(dev, node, &initdef) != 0) in axp8xx_reg_attach() 1404 if (initdef.std_param.min_uvolt == 0) in axp8xx_reg_attach() 1405 initdef.std_param.min_uvolt = def->voltage_min * 1000; in axp8xx_reg_attach() 1406 if (initdef.std_param.max_uvolt == 0) in axp8xx_reg_attach() 1407 initdef.std_param.max_uvolt = def->voltage_max * 1000; in axp8xx_reg_attach() 1408 initdef.id = def->id; in axp8xx_reg_attach() 1409 initdef.ofw_node = node; in axp8xx_reg_attach() 1410 regnode = regnode_create(dev, &axp8xx_regnode_class, &initdef); in axp8xx_reg_attach()
|