Home
last modified time | relevance | path

Searched refs:std_param (Results 1 – 8 of 8) sorted by relevance

/freebsd-14.2/sys/dev/extres/regulator/
H A Dregulator.c203 if (!entry->std_param.always_on) { in regulator_shutdown()
239 if (regnode->std_param.min_uvolt == regnode->std_param.max_uvolt) { in regnode_uvolt_sysctl()
240 uvolt = regnode->std_param.min_uvolt; in regnode_uvolt_sysctl()
299 *uvolt = regnode->std_param.min_uvolt + in regnode_method_get_voltage()
300 (regnode->std_param.max_uvolt - regnode->std_param.min_uvolt) / 2; in regnode_method_get_voltage()
397 regnode->std_param = def->std_param; in regnode_create()
568 return (&regnode->std_param); in regnode_get_stdparam()
661 !regnode->std_param.always_on) { in regnode_disable()
840 if (regnode->std_param.boot_on != true && in regnode_set_constraint()
870 regnode->std_param.max_uvolt); in regnode_set_constraint()
[all …]
H A Dregulator_fixed.c398 if (init_def->std_param.min_uvolt != init_def->std_param.max_uvolt) { in regfix_parse_fdt()
404 &init_def->std_param.enable_delay, in regfix_parse_fdt()
405 sizeof(init_def->std_param.enable_delay)); in regfix_parse_fdt()
407 init_def->std_param.enable_delay = 0; in regfix_parse_fdt()
H A Dregulator.h65 struct regnode_std_param std_param; /* Standard parameters */ member
/freebsd-14.2/sys/dev/extres/phy/
H A Dphy_usb.h44 struct phynode_usb_std_param std_param; member
50 struct phynode_usb_std_param std_param; /* Standard parameters */ member
H A Dphy_usb.c64 sc->std_param = def->std_param; in phynode_usb_create()
/freebsd-14.2/sys/dev/iicbus/pmic/rockchip/
H A Drk8xx_regulators.c290 if (initdef.std_param.min_uvolt == 0) in rk8xx_reg_attach()
291 initdef.std_param.min_uvolt = def->voltage_min; in rk8xx_reg_attach()
292 if (initdef.std_param.max_uvolt == 0) in rk8xx_reg_attach()
293 initdef.std_param.max_uvolt = def->voltage_max; in rk8xx_reg_attach()
/freebsd-14.2/sys/arm/allwinner/
H A Daxp209.c1154 if (initdef.std_param.min_uvolt == 0) in axp2xx_reg_attach()
1155 initdef.std_param.min_uvolt = def->voltage_min * 1000; in axp2xx_reg_attach()
1156 if (initdef.std_param.max_uvolt == 0) in axp2xx_reg_attach()
1157 initdef.std_param.max_uvolt = def->voltage_max * 1000; in axp2xx_reg_attach()
H A Daxp81x.c1398 if (initdef.std_param.min_uvolt == 0) in axp8xx_reg_attach()
1399 initdef.std_param.min_uvolt = def->voltage_min * 1000; in axp8xx_reg_attach()
1400 if (initdef.std_param.max_uvolt == 0) in axp8xx_reg_attach()
1401 initdef.std_param.max_uvolt = def->voltage_max * 1000; in axp8xx_reg_attach()