Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/misc/amd-sbi/rmi-hwmon.c sbrmi_read() -> rmi_mailbox_xfer()

Type Parameter Key Value
PARAM_VALUE 0 data 1-u64max
PARAM_VALUE 1 msg 4916476405284597760
PARAM_VALUE 1 msg->cmd 1
PARAM_VALUE 1 msg->fw_ret_code 0
PARAM_VALUE 1 msg->mb_in_out 0
BUF_SIZE 0 data s32min-(-2),1-s32max
BUF_SIZE 0 data s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 data unit_byte
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/misc/amd-sbi/rmi-hwmon.c sbrmi_read() -> rmi_mailbox_xfer()

Type Parameter Key Value
PARAM_VALUE 0 data 1-u64max
PARAM_VALUE 1 msg 4916476405284597760
PARAM_VALUE 1 msg->cmd 3
PARAM_VALUE 1 msg->fw_ret_code 0
PARAM_VALUE 1 msg->mb_in_out 0
BUF_SIZE 0 data s32min-(-2),1-s32max
BUF_SIZE 0 data s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 data unit_byte
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/misc/amd-sbi/rmi-hwmon.c sbrmi_write() -> rmi_mailbox_xfer()

Type Parameter Key Value
PARAM_VALUE 0 data 4096-ptr_max
PARAM_VALUE 1 msg 3841697379477458944
PARAM_VALUE 1 msg->cmd 2
PARAM_VALUE 1 msg->fw_ret_code 0
BUF_SIZE 0 data s32min-(-2),1-s32max
BUF_SIZE 0 data s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 msg->mb_in_out 1-4294967294[c]
UNITS 0 data unit_byte
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/misc/amd-sbi/rmi-core.c apml_mailbox_xfer() -> rmi_mailbox_xfer()

Type Parameter Key Value
PARAM_VALUE 0 data 4096-ptr_max
PARAM_VALUE 1 msg 2784854274939269120
DATA_SOURCE 0 data $0
USER_DATA 1 msg->cmd 0-u32max
USER_DATA 1 msg->fw_ret_code 0-u32max
USER_DATA 1 msg->mb_in_out 0-u32max

drivers/misc/amd-sbi/rmi-i2c.c sbrmi_get_max_pwr_limit() -> rmi_mailbox_xfer()

Type Parameter Key Value
PARAM_VALUE 0 data 4096-ptr_max
PARAM_VALUE 0 data->lock.dep_map->name 0-255
PARAM_VALUE 0 data->lock.first_waiter 0
PARAM_VALUE 0 data->lock.magic 4096-ptr_max
PARAM_VALUE 0 data->lock.osq.tail.counter 0
PARAM_VALUE 0 data->lock.owner.counter 0
PARAM_VALUE 0 data->regmap 4096-ptr_max
PARAM_VALUE 0 *data->regmap->cache->data 0-4294967295
PARAM_VALUE 1 msg 7803095042180263936
PARAM_VALUE 1 msg->cmd 4
PARAM_VALUE 1 msg->fw_ret_code 0
PARAM_VALUE 1 msg->mb_in_out 0
BUF_SIZE 0 data 248
DATA_SOURCE 0 data $0
MEM_ZERO 0 data
RX_PATH
TASK_NOT_RUNNING