Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/i2c/busses/i2c-img-scb.c img_i2c_atomic_op() -> img_i2c_readl()

Type Parameter Key Value
PARAM_VALUE 0 i2c 4096-ptr_max
PARAM_VALUE 1 offset 0
DATA_SOURCE 0 i2c $0
STR_LEN 0 i2c->adap.name (-1)
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 i2c->line_status 0-u32max
LOCK2 0 &i2c->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct img_i2c)->lock

drivers/i2c/busses/i2c-img-scb.c img_i2c_check_timer() -> img_i2c_readl()

Type Parameter Key Value
PARAM_VALUE 0 i2c 4096-ptr_max
PARAM_VALUE 1 offset 0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 0 &i2c->lock
TYPE_LOCK (struct img_i2c)->lock

drivers/i2c/busses/i2c-img-scb.c img_i2c_init() -> img_i2c_readl()

Type Parameter Key Value
PARAM_VALUE 0 i2c 4096-ptr_max
PARAM_VALUE 1 offset 128
BUF_SIZE 0 i2c s32min-(-2),1-s32max
BUF_SIZE 0 i2c s32min-(-2),1-s32max
BUF_SIZE 0 i2c->adap.algo (-1),56
BUF_SIZE 0 i2c->adap.dev.parent (-1),1616
BUF_SIZE 0 i2c->scb_clk (-1),1-s32max
BUF_SIZE 0 i2c->sys_clk (-1),1-s32max
DATA_SOURCE 0 i2c $0
STR_LEN 0 i2c->adap.name (-1),47
RX_PATH
TASK_NOT_RUNNING
UNITS 0 i2c unit_byte

drivers/i2c/busses/i2c-img-scb.c img_i2c_isr() -> img_i2c_readl()

Type Parameter Key Value
PARAM_VALUE 1 offset 64
DATA_SOURCE 0 i2c $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags

drivers/i2c/busses/i2c-img-scb.c img_i2c_isr() -> img_i2c_readl()

Type Parameter Key Value
PARAM_VALUE 0 i2c 4096-ptr_max
PARAM_VALUE 1 offset 0
DATA_SOURCE 0 i2c $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags

drivers/i2c/busses/i2c-img-scb.c img_i2c_read_fifo() -> img_i2c_readl()

Type Parameter Key Value
PARAM_VALUE 0 i2c 4096-ptr_max
PARAM_VALUE 1 offset 28
DATA_SOURCE 0 i2c $0
BIT_INFO 0 i2c->msg.flags 0x1,0xffffffffffffffff
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 i2c->line_status 0-u32max
LOCK2 0 &i2c->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct img_i2c)->lock

drivers/i2c/busses/i2c-img-scb.c img_i2c_read_fifo() -> img_i2c_readl()

Type Parameter Key Value
PARAM_VALUE 0 i2c 4096-ptr_max
PARAM_VALUE 1 offset 20
DATA_SOURCE 0 i2c $0
BIT_INFO 0 i2c->msg.flags 0x1,0xffffffffffffffff
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 i2c->line_status 0-u32max
LOCK2 0 &i2c->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct img_i2c)->lock

drivers/i2c/busses/i2c-img-scb.c img_i2c_transaction_halt() -> img_i2c_readl()

Type Parameter Key Value
PARAM_VALUE 0 i2c 4096-ptr_max
PARAM_VALUE 1 offset 76
BUF_SIZE 0 i2c s32min-(-1),1-s32max
BUF_SIZE 0 i2c s32min-(-1),1-s32max
DATA_SOURCE 0 i2c $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 i2c->line_status 0-u32max
UNITS 0 i2c unit_byte
LOCK2 0 &i2c->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct img_i2c)->lock

drivers/i2c/busses/i2c-img-scb.c img_i2c_write_fifo() -> img_i2c_readl()

Type Parameter Key Value
PARAM_VALUE 0 i2c 4096-ptr_max
PARAM_VALUE 1 offset 28
BUF_SIZE 0 i2c s32min-(-1),1-s32max
BUF_SIZE 0 i2c s32min-(-1),1-s32max
DATA_SOURCE 0 i2c $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 i2c->line_status 0-u32max
UNITS 0 i2c unit_byte
LOCK2 0 &i2c->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct img_i2c)->lock