Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

drivers/fsi/fsi-core.c fsi_slave_init() -> crc4()

Type Parameter Key Value
PARAM_VALUE 0 c 0
PARAM_VALUE 2 bits 32
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 x 0-u32max
LOCK2 &master->scan_lock
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct fsi_master)->scan_lock

drivers/fsi/fsi-core.c fsi_slave_scan() -> crc4()

Type Parameter Key Value
PARAM_VALUE 0 c 0
PARAM_VALUE 2 bits 32
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 x 0-u32max
LOCK2 &master->scan_lock
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct fsi_master)->scan_lock

drivers/fsi/fsi-master-ast-cf.c msg_push_crc() -> crc4()

Type Parameter Key Value
PARAM_VALUE 0 c 0
PARAM_VALUE 2 bits 1-4
BIT_INFO 1 x 0x0,0x3fffffffffffffff
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 x 0-u64max[c]
USER_DATA 1 x 0-u64max[c]
LOCK2 &master->lock
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct fsi_master_acf)->lock

drivers/fsi/fsi-master-ast-cf.c msg_push_crc() -> crc4()

Type Parameter Key Value
PARAM_VALUE 0 c 0-15
PARAM_VALUE 2 bits 2-44
DATA_SOURCE 0 c r crc4
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 x 0-u64max[c]
USER_DATA 1 x 0-274877906943[c][u]
LOCK2 &master->lock
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct fsi_master_acf)->lock

drivers/fsi/fsi-master-ast-cf.c read_copro_response() -> crc4()

Type Parameter Key Value
PARAM_VALUE 0 c 0
PARAM_VALUE 1 x 1
PARAM_VALUE 2 bits 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &master->lock
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct fsi_master_acf)->lock

drivers/fsi/fsi-master-ast-cf.c read_copro_response() -> crc4()

Type Parameter Key Value
PARAM_VALUE 0 c 0-15
PARAM_VALUE 1 x 0-15
PARAM_VALUE 2 bits 4
DATA_SOURCE 0 c r crc4
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 x 0-15
LOCK2 &master->lock
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct fsi_master_acf)->lock

drivers/fsi/fsi-master-ast-cf.c read_copro_response() -> crc4()

Type Parameter Key Value
PARAM_VALUE 0 c 0-15
PARAM_VALUE 2 bits 8-16,32
DATA_SOURCE 0 c r crc4
DATA_SOURCE 1 x r ioread32be
DATA_SOURCE 2 bits $1
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 x 0-u32max
HOST_DATA 2 bits 8-16,32[c]
USER_DATA 2 bits 8-16[c]
LOCK2 &master->lock
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct fsi_master_acf)->lock

drivers/fsi/fsi-master-ast-cf.c read_copro_response() -> crc4()

Type Parameter Key Value
PARAM_VALUE 0 c 0-15
PARAM_VALUE 1 x 0-15
PARAM_VALUE 2 bits 4
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 x 0-15
LOCK2 &master->lock
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct fsi_master_acf)->lock

drivers/fsi/fsi-master-gpio.c msg_push_crc() -> crc4()

Type Parameter Key Value
PARAM_VALUE 0 c 0
PARAM_VALUE 2 bits 1-4
BIT_INFO 1 x 0x0,0x3fffffffffffffff
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 x 0-u64max[c]
USER_DATA 1 x 0-u64max[c]
LOCK2 &master->cmd_lock
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct fsi_master_gpio)->cmd_lock

drivers/fsi/fsi-master-gpio.c msg_push_crc() -> crc4()

Type Parameter Key Value
PARAM_VALUE 0 c 0-15
PARAM_VALUE 2 bits 2-44
DATA_SOURCE 0 c r crc4
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 x 0-u64max[c]
USER_DATA 1 x 0-274877906943[c][u]
LOCK2 &master->cmd_lock
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct fsi_master_gpio)->cmd_lock

drivers/fsi/fsi-master-gpio.c read_one_response() -> crc4()

Type Parameter Key Value
PARAM_VALUE 0 c 0
PARAM_VALUE 1 x 1
PARAM_VALUE 2 bits 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &master->cmd_lock
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct fsi_master_gpio)->cmd_lock

drivers/fsi/fsi-master-gpio.c read_one_response() -> crc4()

Type Parameter Key Value
PARAM_VALUE 0 c 0-15
PARAM_VALUE 1 x 0-7
PARAM_VALUE 2 bits 8,16-24,40
DATA_SOURCE 0 c r crc4
RX_PATH
TASK_NOT_RUNNING
LOCK2 &master->cmd_lock
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct fsi_master_gpio)->cmd_lock