Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/regulator/vctrl-regulator.c vctrl_get_voltage() -> vctrl_calc_output_voltage()

Type Parameter Key Value
BUF_SIZE 0 vctrl s32min-(-1),1-s32max
BUF_SIZE 0 vctrl s32min-(-1),1-s32max
DATA_SOURCE 1 ctrl_uV r regulator_get_voltage_rdev
RX_PATH
TASK_NOT_RUNNING
UNITS 0 vctrl unit_byte

drivers/regulator/vctrl-regulator.c vctrl_init_vtable() -> vctrl_calc_output_voltage()

Type Parameter Key Value
PARAM_VALUE 0 vctrl 4096-ptr_max
PARAM_VALUE 0 vctrl->desc.n_voltages 1-u32max
PARAM_VALUE 0 vctrl->vtable 4096-ptr_max
BUF_SIZE 0 vctrl s32min-(-2),1-s32max
BUF_SIZE 0 vctrl s32min-(-2),1-s32max
BUF_SIZE 0 vctrl->vtable 12-51539607540
CAPPED_DATA 1 ctrl_uV 1
DATA_SOURCE 1 ctrl_uV r regulator_list_voltage
MEM_ZERO 0 vctrl->vtable
RX_PATH
TASK_NOT_RUNNING
UNITS 0 vctrl unit_byte

drivers/regulator/vctrl-regulator.c vctrl_set_voltage() -> vctrl_calc_output_voltage()

Type Parameter Key Value
BUF_SIZE 0 vctrl s32min-(-1),1-s32max
BUF_SIZE 0 vctrl s32min-(-1),1-s32max
DATA_SOURCE 1 ctrl_uV r regulator_get_voltage_rdev
RX_PATH
TASK_NOT_RUNNING
UNITS 0 vctrl unit_byte