Home
last modified time | relevance | path

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

/linux/drivers/regulator/
H A Dvctrl-regulator.c243 u32 vrange_ctrl[2]; in vctrl_parse_dt() local
294 ret = of_property_read_u32_array(np, "ctrl-voltage-range", vrange_ctrl, in vctrl_parse_dt()
302 if (vrange_ctrl[0] >= vrange_ctrl[1]) { in vctrl_parse_dt()
304 vrange_ctrl[0], vrange_ctrl[1]); in vctrl_parse_dt()
308 vctrl->vrange.ctrl.min_uV = vrange_ctrl[0]; in vctrl_parse_dt()
309 vctrl->vrange.ctrl.max_uV = vrange_ctrl[1]; in vctrl_parse_dt()
327 struct vctrl_voltage_range *vrange_ctrl = &vctrl->vrange.ctrl; in vctrl_init_vtable() local
340 if (ctrl_uV < vrange_ctrl->min_uV || in vctrl_init_vtable()
341 ctrl_uV > vrange_ctrl->max_uV) in vctrl_init_vtable()
360 if (ctrl_uV < vrange_ctrl->min_uV || in vctrl_init_vtable()
[all …]