Searched refs:initdef (Results 1 – 5 of 5) sorted by relevance
| /freebsd-12.1/sys/dev/iicbus/ |
| H A D | sy8106a.c | 206 struct regnode_init_def initdef; in sy8106a_reg_attach() local 209 memset(&initdef, 0, sizeof(initdef)); in sy8106a_reg_attach() 210 regulator_parse_ofw_stdparam(dev, node, &initdef); in sy8106a_reg_attach() 211 initdef.id = 0; in sy8106a_reg_attach() 212 initdef.ofw_node = node; in sy8106a_reg_attach() 213 regnode = regnode_create(dev, &sy8106a_regnode_class, &initdef); in sy8106a_reg_attach()
|
| H A D | syr827.c | 214 struct regnode_init_def initdef; in syr827_reg_attach() local 218 memset(&initdef, 0, sizeof(initdef)); in syr827_reg_attach() 219 regulator_parse_ofw_stdparam(dev, node, &initdef); in syr827_reg_attach() 220 initdef.id = 0; in syr827_reg_attach() 221 initdef.ofw_node = node; in syr827_reg_attach() 222 regnode = regnode_create(dev, &syr827_regnode_class, &initdef); in syr827_reg_attach()
|
| /freebsd-12.1/sys/arm64/rockchip/ |
| H A D | rk805.c | 383 struct regnode_init_def initdef; in rk805_reg_attach() local 386 memset(&initdef, 0, sizeof(initdef)); in rk805_reg_attach() 387 if (regulator_parse_ofw_stdparam(dev, node, &initdef) != 0) { in rk805_reg_attach() 391 if (initdef.std_param.min_uvolt == 0) in rk805_reg_attach() 392 initdef.std_param.min_uvolt = def->voltage_min; in rk805_reg_attach() 393 if (initdef.std_param.max_uvolt == 0) in rk805_reg_attach() 394 initdef.std_param.max_uvolt = def->voltage_max; in rk805_reg_attach() 395 initdef.id = def->id; in rk805_reg_attach() 396 initdef.ofw_node = node; in rk805_reg_attach() 398 regnode = regnode_create(dev, &rk805_regnode_class, &initdef); in rk805_reg_attach()
|
| /freebsd-12.1/sys/arm/allwinner/ |
| H A D | axp209.c | 1132 struct regnode_init_def initdef; in axp2xx_reg_attach() local 1135 memset(&initdef, 0, sizeof(initdef)); in axp2xx_reg_attach() 1136 if (regulator_parse_ofw_stdparam(dev, node, &initdef) != 0) { in axp2xx_reg_attach() 1140 if (initdef.std_param.min_uvolt == 0) in axp2xx_reg_attach() 1141 initdef.std_param.min_uvolt = def->voltage_min * 1000; in axp2xx_reg_attach() 1142 if (initdef.std_param.max_uvolt == 0) in axp2xx_reg_attach() 1143 initdef.std_param.max_uvolt = def->voltage_max * 1000; in axp2xx_reg_attach() 1144 initdef.id = def->id; in axp2xx_reg_attach() 1145 initdef.ofw_node = node; in axp2xx_reg_attach() 1146 regnode = regnode_create(dev, &axp2xx_regnode_class, &initdef); in axp2xx_reg_attach()
|
| H A D | axp81x.c | 1353 struct regnode_init_def initdef; in axp8xx_reg_attach() local 1356 memset(&initdef, 0, sizeof(initdef)); in axp8xx_reg_attach() 1357 if (regulator_parse_ofw_stdparam(dev, node, &initdef) != 0) in axp8xx_reg_attach() 1359 if (initdef.std_param.min_uvolt == 0) in axp8xx_reg_attach() 1360 initdef.std_param.min_uvolt = def->voltage_min * 1000; in axp8xx_reg_attach() 1361 if (initdef.std_param.max_uvolt == 0) in axp8xx_reg_attach() 1362 initdef.std_param.max_uvolt = def->voltage_max * 1000; in axp8xx_reg_attach() 1363 initdef.id = def->id; in axp8xx_reg_attach() 1364 initdef.ofw_node = node; in axp8xx_reg_attach() 1365 regnode = regnode_create(dev, &axp8xx_regnode_class, &initdef); in axp8xx_reg_attach()
|