Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/soundwire/amd_manager.c _amd_sdw_xfer_msg() -> amd_sdw_ctl_word_prep()

Type Parameter Key Value
PARAM_VALUE 0 lower_word 1239951295587315712
PARAM_VALUE 0 *lower_word 0
PARAM_VALUE 1 upper_word 5983886462900469760
PARAM_VALUE 1 *upper_word 0
PARAM_VALUE 2 msg 4096-ptr_max
PARAM_VALUE 2 msg->flags 0-1
PARAM_VALUE 2 msg->len 1-32768
PARAM_VALUE 3 cmd_offset 0-s16max
CAPPED_DATA 2 msg->len 1
CAPPED_DATA 3 cmd_offset 1
DATA_SOURCE 2 msg $1
DATA_SOURCE 3 cmd_offset $2
NOSPEC 2 msg->len
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 msg->addr 0-u16max[c]
HOST_DATA 2 msg->addr_page1 0-255[c]
HOST_DATA 2 msg->addr_page2 0-255[c]
HOST_DATA 2 msg->len 1-16,32753-32764,32768[c]
USER_DATA 2 msg->addr 0-u16max[c][u]
USER_DATA 2 msg->addr_page1 0-255[c]
USER_DATA 2 msg->addr_page2 0-255[c]
USER_DATA 2 msg->len 1-32768[c]
UNITS 3 cmd_offset unit_byte
HALF_LOCKED2 &attr->mutex
HALF_LOCKED2 &bus->bus_lock
HALF_LOCKED2 &bus->msg_lock

drivers/soundwire/amd_manager.c amd_program_scp_addr() -> amd_sdw_ctl_word_prep()

Type Parameter Key Value
PARAM_VALUE 0 lower_word 1472130915629907968
PARAM_VALUE 0 *lower_word 0
PARAM_VALUE 1 upper_word 2372339330413379584
PARAM_VALUE 1 *upper_word 0
PARAM_VALUE 2 msg 9125297471007248384
PARAM_VALUE 2 msg->addr 72
PARAM_VALUE 2 msg->buf 4096-ptr_max
PARAM_VALUE 2 msg->flags 1
PARAM_VALUE 2 msg->len 0
PARAM_VALUE 2 msg->page 0
PARAM_VALUE 2 msg->ssp_sync 0
PARAM_VALUE 3 cmd_offset 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_PTR 2 msg->buf
HALF_LOCKED2 &attr->mutex
HALF_LOCKED2 &bus->bus_lock
HALF_LOCKED2 &bus->msg_lock

drivers/soundwire/amd_manager.c amd_program_scp_addr() -> amd_sdw_ctl_word_prep()

Type Parameter Key Value
PARAM_VALUE 0 lower_word 1472130915629907968
PARAM_VALUE 1 upper_word 2372339330413379584
PARAM_VALUE 1 *upper_word 0-s16max
PARAM_VALUE 2 msg 9125297471007248384
PARAM_VALUE 2 msg->addr 73
PARAM_VALUE 2 msg->buf 4096-ptr_max
PARAM_VALUE 2 msg->flags 1
PARAM_VALUE 2 msg->len 0
PARAM_VALUE 2 msg->page 0
PARAM_VALUE 2 msg->ssp_sync 0
PARAM_VALUE 3 cmd_offset 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 *lower_word 0-u32max[c]
HOST_DATA 1 *upper_word 0-s16max[c]
USER_DATA 0 *lower_word 0-u32max[c][u]
USER_DATA 1 *upper_word 0-s16max[c][u]
USER_PTR 0 lower_word
USER_PTR 1 upper_word
USER_PTR 2 msg->buf
HALF_LOCKED2 &attr->mutex
HALF_LOCKED2 &bus->bus_lock
HALF_LOCKED2 &bus->msg_lock