Home
last modified time | relevance | path

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

/freebsd-12-stable/sys/dev/extres/regulator/
Dregulator.c121 struct regnode_std_param std_param; /* Standard parameters */ member
202 if (!entry->std_param.always_on) { in regulator_shutdown()
238 if (regnode->std_param.min_uvolt == regnode->std_param.max_uvolt) { in regnode_uvolt_sysctl()
239 uvolt = regnode->std_param.min_uvolt; in regnode_uvolt_sysctl()
287 if ((min_uvolt > regnode->std_param.max_uvolt) || in regnode_method_set_voltage()
288 (max_uvolt < regnode->std_param.min_uvolt)) in regnode_method_set_voltage()
298 *uvolt = regnode->std_param.min_uvolt + in regnode_method_get_voltage()
299 (regnode->std_param.max_uvolt - regnode->std_param.min_uvolt) / 2; in regnode_method_get_voltage()
307 if ((uvolt > regnode->std_param.max_uvolt) || in regnode_method_check_voltage()
308 (uvolt < regnode->std_param.min_uvolt)) in regnode_method_check_voltage()
[all …]
Dregulator_fixed.c397 if (init_def->std_param.min_uvolt != init_def->std_param.max_uvolt) { in regfix_parse_fdt()
403 &init_def->std_param.enable_delay, in regfix_parse_fdt()
404 sizeof(init_def->std_param.enable_delay)); in regfix_parse_fdt()
406 init_def->std_param.enable_delay = 0; in regfix_parse_fdt()
Dregulator.h67 struct regnode_std_param std_param; /* Standard parameters */ member
/freebsd-12-stable/sys/dev/extres/phy/
Dphy_usb.h46 struct phynode_usb_std_param std_param; member
52 struct phynode_usb_std_param std_param; /* Standard parameters */ member
Dphy_usb.c67 sc->std_param = def->std_param; in phynode_usb_create()
/freebsd-12-stable/sys/arm64/rockchip/
Drk805.c561 if (initdef.std_param.min_uvolt == 0) in rk805_reg_attach()
562 initdef.std_param.min_uvolt = def->voltage_min; in rk805_reg_attach()
563 if (initdef.std_param.max_uvolt == 0) in rk805_reg_attach()
564 initdef.std_param.max_uvolt = def->voltage_max; in rk805_reg_attach()
/freebsd-12-stable/sys/arm/allwinner/
Daxp209.c1158 if (initdef.std_param.min_uvolt == 0) in axp2xx_reg_attach()
1159 initdef.std_param.min_uvolt = def->voltage_min * 1000; in axp2xx_reg_attach()
1160 if (initdef.std_param.max_uvolt == 0) in axp2xx_reg_attach()
1161 initdef.std_param.max_uvolt = def->voltage_max * 1000; in axp2xx_reg_attach()
Daxp81x.c1389 if (initdef.std_param.min_uvolt == 0) in axp8xx_reg_attach()
1390 initdef.std_param.min_uvolt = def->voltage_min * 1000; in axp8xx_reg_attach()
1391 if (initdef.std_param.max_uvolt == 0) in axp8xx_reg_attach()
1392 initdef.std_param.max_uvolt = def->voltage_max * 1000; in axp8xx_reg_attach()