Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/i3c/master/i3c-master-cdns.c cdns_i3c_master_i2c_xfers() -> cdns_i3c_master_alloc_xfer()

Type Parameter Key Value
PARAM_VALUE 0 master 4096-ptr_max
PARAM_VALUE 0 master->caps.cmdfifodepth 1-u32max
PARAM_VALUE 1 ncmds 1-s32max
CAPPED_DATA 1 ncmds 1
DATA_SOURCE 0 master r to_cdns_i3c_master
DATA_SOURCE 1 ncmds $2
PARAM_COMPARE 0 master->caps.cmdfifodepth >= $1
PARAM_COMPARE 1 ncmds <= $0->caps.cmdfifodepth
RX_PATH
TASK_NOT_RUNNING
LOCK2 &master->bus.lock
TYPE_LOCK (struct i3c_bus)->lock

drivers/i3c/master/i3c-master-cdns.c cdns_i3c_master_i3c_xfers() -> cdns_i3c_master_alloc_xfer()

Type Parameter Key Value
PARAM_VALUE 0 master 4096-ptr_max
PARAM_VALUE 0 master->caps.cmdfifodepth 1-u32max
PARAM_VALUE 0 master->caps.cmdrfifodepth 1-u32max
PARAM_VALUE 1 ncmds 1-2
CAPPED_DATA 1 ncmds 1
DATA_SOURCE 0 master r to_cdns_i3c_master
DATA_SOURCE 1 ncmds $2
PARAM_COMPARE 0 master->caps.cmdfifodepth >= $1
PARAM_COMPARE 0 master->caps.cmdrfifodepth >= $1
PARAM_COMPARE 1 ncmds <= $0->caps.cmdfifodepth
PARAM_COMPARE 1 ncmds <= $0->caps.cmdrfifodepth
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dev->bus->lock
HALF_LOCKED2 &mi->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct i3c_bus)->lock

drivers/i3c/master/i3c-master-cdns.c cdns_i3c_master_send_ccc_cmd() -> cdns_i3c_master_alloc_xfer()

Type Parameter Key Value
PARAM_VALUE 0 master 4096-ptr_max
PARAM_VALUE 1 ncmds 1
DATA_SOURCE 0 master r to_cdns_i3c_master
TASK_NOT_RUNNING
HALF_LOCKED2 &m->bus.lock
HALF_LOCKED2 &m->bus.lock