Home
last modified time | relevance | path

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

/freebsd/sys/dev/regulator/
H A Dregulator.c122 struct regnode_std_param std_param; /* Standard parameters */ member
203 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()
288 if ((min_uvolt > regnode->std_param.max_uvolt) || in regnode_method_set_voltage()
289 (max_uvolt < regnode->std_param.min_uvolt)) in regnode_method_set_voltage()
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()
308 if ((uvolt > regnode->std_param.max_uvolt) || in regnode_method_check_voltage()
309 (uvolt < regnode->std_param.min_uvolt)) in regnode_method_check_voltage()
[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.h66 struct regnode_std_param std_param; /* Standard parameters */ member
/freebsd/sys/dev/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.c63 sc->std_param = def->std_param; in phynode_usb_create()
/freebsd/sys/dev/iicbus/pmic/rockchip/
H A Drk8xx_regulators.c289 if (initdef.std_param.min_uvolt == 0) in rk8xx_reg_attach()
290 initdef.std_param.min_uvolt = def->voltage_min; in rk8xx_reg_attach()
291 if (initdef.std_param.max_uvolt == 0) in rk8xx_reg_attach()
292 initdef.std_param.max_uvolt = def->voltage_max; in rk8xx_reg_attach()
/freebsd/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.c1397 if (initdef.std_param.min_uvolt == 0) in axp8xx_reg_attach()
1398 initdef.std_param.min_uvolt = def->voltage_min * 1000; in axp8xx_reg_attach()
1399 if (initdef.std_param.max_uvolt == 0) in axp8xx_reg_attach()
1400 initdef.std_param.max_uvolt = def->voltage_max * 1000; in axp8xx_reg_attach()