Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/spmi/spmi-pmic-arb.c pmic_arb_masked_write() -> pmic_arb_fmt_write_cmd()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
PARAM_VALUE 0 bus->last_apid 0-s16max
PARAM_VALUE 0 bus->pmic_arb 4096-ptr_max
PARAM_VALUE 0 bus->pmic_arb->ver_ops 4096-ptr_max
PARAM_VALUE 0 bus->pmic_arb->ver_ops->offset 4096-ptr_max
PARAM_VALUE 1 opc 48
PARAM_VALUE 3 addr 17,273-65297
PARAM_VALUE 4 len 3
PARAM_VALUE 5 cmd 6063051084429623296
PARAM_VALUE 6 offset 8438644403038588928
BUF_SIZE 0 bus s32min-(-2),1-s32max
BUF_SIZE 0 bus s32min-(-2),1-s32max
DATA_SOURCE 2 sid $1
DATA_SOURCE 3 addr $2
DATA_SOURCE 4 len $5
RX_PATH
TASK_NOT_RUNNING
UNITS 0 bus unit_byte
UNITS 4 len unit_byte
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &probing_active
HALF_LOCKED2 irq

drivers/spmi/spmi-pmic-arb.c pmic_arb_write_cmd() -> pmic_arb_fmt_write_cmd()

Type Parameter Key Value
PARAM_VALUE 1 opc 0,48,64,128
PARAM_VALUE 4 len 1-16
PARAM_VALUE 5 cmd 330255982119170048
PARAM_VALUE 6 offset 161852112910557184
BUF_SIZE 0 bus s32min-(-2),1-s32max
BUF_SIZE 0 bus s32min-(-2),1-s32max
CAPPED_DATA 4 len 1
CAPPED_DATA 4 len 1
DATA_SOURCE 1 opc $1
DATA_SOURCE 2 sid $2
DATA_SOURCE 3 addr $3
DATA_SOURCE 4 len $5
HARD_MAX 1 opc 128
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 3 addr 4-277[c]
HOST_DATA 4 len 1-15[c]
USER_DATA 3 addr 1-277[c][u]
USER_DATA 4 len 1-15[c]
UNITS 0 bus unit_byte