Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/regulator/twl6030-regulator.c twl6030ldo_set_voltage_sel() -> twlreg_write()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 1 slave_subgp 4
PARAM_VALUE 2 offset 3
BUF_SIZE 0 info s32min-(-1),1-s32max
BUF_SIZE 0 info s32min-(-1),1-s32max
DATA_SOURCE 3 value $1 [m]
BIT_INFO 0 info->flags 0x0,0xff
RX_PATH
TASK_NOT_RUNNING
UNITS 0 info unit_byte

drivers/regulator/twl6030-regulator.c twl6030reg_disable() -> twlreg_write()

Type Parameter Key Value
PARAM_VALUE 1 slave_subgp 4
PARAM_VALUE 2 offset 2
PARAM_VALUE 3 value 0,224
BUF_SIZE 0 info s32min-(-2),1-s32max
BUF_SIZE 0 info s32min-(-2),1-s32max
BIT_INFO 3 value 0x0,0xe0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 info unit_byte

drivers/regulator/twl6030-regulator.c twl6030reg_enable() -> twlreg_write()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 1 slave_subgp 4
PARAM_VALUE 2 offset 2
PARAM_VALUE 3 value 1
BUF_SIZE 0 info s32min-(-2),1-s32max
BUF_SIZE 0 info s32min-(-2),1-s32max
BIT_INFO 0 info->features 0x10,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
UNITS 0 info unit_byte

drivers/regulator/twl6030-regulator.c twl6030reg_set_mode() -> twlreg_write()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 1 slave_subgp 4
PARAM_VALUE 2 offset 2
PARAM_VALUE 3 value 1,3
BUF_SIZE 0 info s32min-(-1),1-s32max
BUF_SIZE 0 info s32min-(-1),1-s32max
BIT_INFO 0 info->features 0x10,0xffffffffffffffff
BIT_INFO 3 value 0x1,0x3
RX_PATH
TASK_NOT_RUNNING
UNITS 0 info unit_byte

drivers/regulator/twl6030-regulator.c twl6030smps_set_voltage_sel() -> twlreg_write()

Type Parameter Key Value
PARAM_VALUE 1 slave_subgp 4
PARAM_VALUE 2 offset 4
BUF_SIZE 0 info s32min-(-1),1-s32max
BUF_SIZE 0 info s32min-(-1),1-s32max
CAPPED_DATA 3 value 1
DATA_SOURCE 3 value $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 info unit_byte

drivers/regulator/twl-regulator.c twl4030ldo_set_voltage_sel() -> twlreg_write()

Type Parameter Key Value
PARAM_VALUE 1 slave_subgp 4
PARAM_VALUE 2 offset 3
BUF_SIZE 0 info s32min-(-1),1-s32max
BUF_SIZE 0 info s32min-(-1),1-s32max
CAPPED_DATA 3 value 1
DATA_SOURCE 3 value $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 info unit_byte

drivers/regulator/twl-regulator.c twl4030reg_disable() -> twlreg_write()

Type Parameter Key Value
PARAM_VALUE 1 slave_subgp 4
PARAM_VALUE 2 offset 0
PARAM_VALUE 3 value 31
BUF_SIZE 0 info s32min-(-2),1-s32max
BUF_SIZE 0 info s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 info unit_byte

drivers/regulator/twl-regulator.c twl4030reg_enable() -> twlreg_write()

Type Parameter Key Value
PARAM_VALUE 1 slave_subgp 4
PARAM_VALUE 2 offset 0
BUF_SIZE 0 info s32min-(-2),1-s32max
BUF_SIZE 0 info s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 info unit_byte

drivers/regulator/twl-regulator.c twl4030smps_set_voltage() -> twlreg_write()

Type Parameter Key Value
PARAM_VALUE 1 slave_subgp 4
PARAM_VALUE 2 offset 9
BUF_SIZE 0 info s32min-(-1),1-s32max
BUF_SIZE 0 info s32min-(-1),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 info unit_byte

drivers/regulator/twl-regulator.c twlreg_probe() -> twlreg_write()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 1 slave_subgp 4
PARAM_VALUE 2 offset 2
BUF_SIZE 0 info 360
DATA_SOURCE 0 info r devm_kmemdup
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL