Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/regulator/qcom_spmi-regulator.c spmi_regulator_common_set_bypass() -> spmi_vreg_update_bits()

Type Parameter Key Value
PARAM_VALUE 1 addr 69
PARAM_VALUE 2 val 0,32
PARAM_VALUE 3 mask 32
BUF_SIZE 0 vreg s32min-(-2),1-s32max
BUF_SIZE 0 vreg s32min-(-2),1-s32max
FUZZY_MAX 2 val 0
PARAM_COMPARE 2 val <= $3
PARAM_COMPARE 3 mask >= $2
BIT_INFO 2 val 0x0,0x20
RX_PATH
TASK_NOT_RUNNING
UNITS 0 vreg unit_byte

drivers/regulator/qcom_spmi-regulator.c spmi_regulator_common_set_mode() -> spmi_vreg_update_bits()

Type Parameter Key Value
PARAM_VALUE 1 addr 69
PARAM_VALUE 2 val 0,64,128
PARAM_VALUE 3 mask 192
BUF_SIZE 0 vreg s32min-(-1),1-s32max
BUF_SIZE 0 vreg s32min-(-1),1-s32max
FUZZY_MAX 2 val 128
BIT_INFO 2 val 0x0,0xc0
HARD_MAX 2 val 128
RX_PATH
TASK_NOT_RUNNING
UNITS 0 vreg unit_byte

drivers/regulator/qcom_spmi-regulator.c spmi_regulator_common_set_pull_down() -> spmi_vreg_update_bits()

Type Parameter Key Value
PARAM_VALUE 1 addr 72
PARAM_VALUE 2 val 128
PARAM_VALUE 3 mask 128
BUF_SIZE 0 vreg s32min-(-1),1-s32max
BUF_SIZE 0 vreg s32min-(-1),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 vreg unit_byte

drivers/regulator/qcom_spmi-regulator.c spmi_regulator_common_set_soft_start() -> spmi_vreg_update_bits()

Type Parameter Key Value
PARAM_VALUE 1 addr 76
PARAM_VALUE 2 val 128
PARAM_VALUE 3 mask 128
BUF_SIZE 0 vreg s32min-(-1),1-s32max
BUF_SIZE 0 vreg s32min-(-1),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 vreg unit_byte

drivers/regulator/qcom_spmi-regulator.c spmi_regulator_ftsmps426_set_mode() -> spmi_vreg_update_bits()

Type Parameter Key Value
PARAM_VALUE 1 addr 69
PARAM_VALUE 2 val 5-7
PARAM_VALUE 3 mask 7
BUF_SIZE 0 vreg s32min-(-1),1-s32max
BUF_SIZE 0 vreg s32min-(-1),1-s32max
FUZZY_MAX 2 val 7
BIT_INFO 2 val 0x4,0x7
HARD_MAX 2 val 7
RX_PATH
TASK_NOT_RUNNING
UNITS 0 vreg unit_byte

drivers/regulator/qcom_spmi-regulator.c spmi_regulator_hfsmps_set_mode() -> spmi_vreg_update_bits()

Type Parameter Key Value
PARAM_VALUE 1 addr 69
PARAM_VALUE 2 val 3-4,6-7
PARAM_VALUE 3 mask 7
BUF_SIZE 0 vreg s32min-(-1),1-s32max
BUF_SIZE 0 vreg s32min-(-1),1-s32max
FUZZY_MAX 2 val 7
HARD_MAX 2 val 7
RX_PATH
TASK_NOT_RUNNING
UNITS 0 vreg unit_byte

drivers/regulator/qcom_spmi-regulator.c spmi_regulator_hfsmps_set_pull_down() -> spmi_vreg_update_bits()

Type Parameter Key Value
PARAM_VALUE 1 addr 160
PARAM_VALUE 2 val 128
PARAM_VALUE 3 mask 128
BUF_SIZE 0 vreg s32min-(-1),1-s32max
BUF_SIZE 0 vreg s32min-(-1),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 vreg unit_byte

drivers/regulator/qcom_spmi-regulator.c spmi_regulator_init_registers() -> spmi_vreg_update_bits()

Type Parameter Key Value
PARAM_VALUE 0 vreg 4096-ptr_max
PARAM_VALUE 0 vreg->ocp_max_retries s32min-(-1),1-s32max
PARAM_VALUE 0 vreg->ocp_retry_delay_ms s32min-(-1),1-s32max
PARAM_VALUE 0 vreg->regmap 4096-ptr_max
PARAM_VALUE 0 vreg->regmap->cache_dirty 0-1
PARAM_VALUE 0 *vreg->regmap->work_buf (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 addr 76
PARAM_VALUE 2 val 0-3
PARAM_VALUE 3 mask 3
BUF_SIZE 0 vreg s32min-(-2),1-s32max
BUF_SIZE 0 vreg s32min-(-2),1-s32max
DATA_SOURCE 0 vreg $0
FUZZY_MAX 0 vreg->ocp_max_retries 10
FUZZY_MAX 0 vreg->ocp_retry_delay_ms 30
RX_PATH
TASK_NOT_RUNNING
UNITS 0 vreg unit_byte

drivers/regulator/qcom_spmi-regulator.c spmi_regulator_set_ilim() -> spmi_vreg_update_bits()

Type Parameter Key Value
PARAM_VALUE 0 vreg 4096-ptr_max
PARAM_VALUE 1 addr 74-75
PARAM_VALUE 2 val 128-135
PARAM_VALUE 3 mask 135
BUF_SIZE 0 vreg s32min-(-1),1-s32max
BUF_SIZE 0 vreg s32min-(-1),1-s32max
BIT_INFO 1 addr 0x4a,0x4b
BIT_INFO 2 val 0x80,0x87
RX_PATH
TASK_NOT_RUNNING
UNITS 0 vreg unit_byte

drivers/regulator/qcom_spmi-regulator.c spmi_regulator_ult_lo_smps_set_voltage() -> spmi_vreg_update_bits()

Type Parameter Key Value
PARAM_VALUE 0 vreg 4096-ptr_max
PARAM_VALUE 0 vreg->set_points 4096-ptr_max
PARAM_VALUE 0 vreg->set_points->range->n_voltages 0,2,8,25,32,37,55,62-64,77,85,94,96,124-125,128,186,202,212,216
PARAM_VALUE 1 addr 65
PARAM_VALUE 3 mask 255
BUF_SIZE 0 vreg s32min-(-1),1-s32max
BUF_SIZE 0 vreg s32min-(-1),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 vreg unit_byte

drivers/regulator/qcom_spmi-regulator.c spmi_regulator_vs_clear_ocp() -> spmi_vreg_update_bits()

Type Parameter Key Value
PARAM_VALUE 0 vreg 4096-ptr_max
PARAM_VALUE 1 addr 70
PARAM_VALUE 2 val 0
PARAM_VALUE 3 mask 128
DATA_SOURCE 0 vreg $0
RX_PATH
TASK_NOT_RUNNING

drivers/regulator/qcom_spmi-regulator.c spmi_regulator_vs_clear_ocp() -> spmi_vreg_update_bits()

Type Parameter Key Value
PARAM_VALUE 0 vreg 4096-ptr_max
PARAM_VALUE 0 vreg->regmap 4096-ptr_max
PARAM_VALUE 0 vreg->regmap->async 0
PARAM_VALUE 1 addr 70
PARAM_VALUE 2 val 128
PARAM_VALUE 3 mask 128
CAPPED_DATA 0 vreg->regmap->rd_table->n_yes_ranges 1
CAPPED_DATA 0 vreg->regmap->volatile_table->n_no_ranges 1
CAPPED_DATA 0 vreg->regmap->volatile_table->n_yes_ranges 1
DATA_SOURCE 0 vreg $0
RX_PATH
TASK_NOT_RUNNING