Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/i2c/busses/i2c-npcm7xx.c npcm_i2c_init_clk() -> npcm_i2c_select_bank()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
PARAM_VALUE 0 bus->adap.algo 5493310248509554688
PARAM_VALUE 0 bus->adap.algo_data 4096-ptr_max
PARAM_VALUE 0 bus->adap.dev.of_node 1-u64max
PARAM_VALUE 0 bus->adap.dev.parent 4096-ptr_max
PARAM_VALUE 0 bus->adap.dev.parent->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 bus->adap.dev.parent->driver 4096-ptr_max
PARAM_VALUE 0 bus->adap.dev.parent->of_node 1-u64max
PARAM_VALUE 0 bus->adap.owner 0
PARAM_VALUE 0 bus->adap.quirks 8224873242327580672
PARAM_VALUE 0 bus->adap.retries 3
PARAM_VALUE 0 bus->adap.timeout 500
PARAM_VALUE 0 bus->bus_freq 10000-1000000
PARAM_VALUE 0 bus->cmd_complete.done 0
PARAM_VALUE 0 bus->cmd_complete.wait.lock.magic 3735899821
PARAM_VALUE 0 bus->cmd_complete.wait.lock.owner (-1)
PARAM_VALUE 0 bus->cmd_complete.wait.lock.owner_cpu u32max
PARAM_VALUE 0 bus->cmd_complete.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 bus->cmd_complete.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 bus->cmd_complete.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 0 bus->cmd_complete.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 bus->cmd_complete.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 bus->data 4096-ptr_max
PARAM_VALUE 0 bus->dev 4096-ptr_max
PARAM_VALUE 0 bus->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 bus->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 bus->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 bus->dev->of_node 1-u64max
PARAM_VALUE 0 bus->int_time_stamp 0
PARAM_VALUE 0 bus->master_or_slave 1
PARAM_VALUE 0 bus->reg 4096-ptr_max
PARAM_VALUE 0 bus->slave 0
PARAM_VALUE 0 bus->state 0
PARAM_VALUE 0 *bus->dev->p->deferred_probe_reason 0-255
PARAM_VALUE 1 bank 0
BUF_SIZE 0 bus->dev 1616
DATA_SOURCE 0 bus $0
MEM_ZERO 0 bus
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/i2c/busses/i2c-npcm7xx.c npcm_i2c_init_clk() -> npcm_i2c_select_bank()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
PARAM_VALUE 0 bus->adap.algo 5493310248509554688
PARAM_VALUE 0 bus->adap.algo_data 4096-ptr_max
PARAM_VALUE 0 bus->adap.dev.of_node 1-u64max
PARAM_VALUE 0 bus->adap.dev.parent 4096-ptr_max
PARAM_VALUE 0 bus->adap.dev.parent->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 bus->adap.dev.parent->driver 4096-ptr_max
PARAM_VALUE 0 bus->adap.dev.parent->of_node 1-u64max
PARAM_VALUE 0 bus->adap.owner 0
PARAM_VALUE 0 bus->adap.quirks 8224873242327580672
PARAM_VALUE 0 bus->adap.retries 3
PARAM_VALUE 0 bus->adap.timeout 500
PARAM_VALUE 0 bus->bus_freq 10000-1000000
PARAM_VALUE 0 bus->cmd_complete.done 0
PARAM_VALUE 0 bus->cmd_complete.wait.lock.magic 3735899821
PARAM_VALUE 0 bus->cmd_complete.wait.lock.owner (-1)
PARAM_VALUE 0 bus->cmd_complete.wait.lock.owner_cpu u32max
PARAM_VALUE 0 bus->cmd_complete.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 bus->cmd_complete.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 bus->cmd_complete.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 0 bus->cmd_complete.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 bus->cmd_complete.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 bus->data 4096-ptr_max
PARAM_VALUE 0 bus->dev 4096-ptr_max
PARAM_VALUE 0 bus->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 bus->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 bus->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 bus->dev->of_node 1-u64max
PARAM_VALUE 0 bus->int_time_stamp 0
PARAM_VALUE 0 bus->master_or_slave 1
PARAM_VALUE 0 bus->reg 4096-ptr_max
PARAM_VALUE 0 bus->slave 0
PARAM_VALUE 0 bus->state 0
PARAM_VALUE 0 *bus->dev->p->deferred_probe_reason 0-255
PARAM_VALUE 1 bank 1
BUF_SIZE 0 bus->dev 1616
DATA_SOURCE 0 bus $0
MEM_ZERO 0 bus
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/i2c/busses/i2c-npcm7xx.c npcm_i2c_init_module() -> npcm_i2c_select_bank()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
PARAM_VALUE 0 bus->adap.algo 5493310248509554688
PARAM_VALUE 0 bus->adap.algo_data 4096-ptr_max
PARAM_VALUE 0 bus->adap.dev.of_node 1-u64max
PARAM_VALUE 0 bus->adap.dev.parent 4096-ptr_max
PARAM_VALUE 0 bus->adap.dev.parent->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 bus->adap.dev.parent->driver 4096-ptr_max
PARAM_VALUE 0 bus->adap.dev.parent->of_node 1-u64max
PARAM_VALUE 0 bus->adap.owner 0
PARAM_VALUE 0 bus->adap.quirks 8224873242327580672
PARAM_VALUE 0 bus->adap.retries 3
PARAM_VALUE 0 bus->adap.timeout 500
PARAM_VALUE 0 bus->cmd_complete.done 0
PARAM_VALUE 0 bus->cmd_complete.wait.lock.magic 3735899821
PARAM_VALUE 0 bus->cmd_complete.wait.lock.owner (-1)
PARAM_VALUE 0 bus->cmd_complete.wait.lock.owner_cpu u32max
PARAM_VALUE 0 bus->cmd_complete.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 bus->cmd_complete.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 bus->cmd_complete.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 0 bus->cmd_complete.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 bus->cmd_complete.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 bus->data 4096-ptr_max
PARAM_VALUE 0 bus->dev 4096-ptr_max
PARAM_VALUE 0 bus->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 bus->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 bus->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 bus->dev->of_node 1-u64max
PARAM_VALUE 0 bus->fifo_use 1
PARAM_VALUE 0 bus->int_time_stamp 0
PARAM_VALUE 0 bus->master_or_slave 1
PARAM_VALUE 0 bus->reg 4096-ptr_max
PARAM_VALUE 0 bus->slave 0
PARAM_VALUE 0 bus->state 0
PARAM_VALUE 0 *bus->dev->p->deferred_probe_reason 0-255
PARAM_VALUE 1 bank 0
BUF_SIZE 0 bus 2896
BUF_SIZE 0 bus->dev 1616
DATA_SOURCE 0 bus $0
MEM_ZERO 0 bus
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/i2c/busses/i2c-npcm7xx.c npcm_i2c_init_module() -> npcm_i2c_select_bank()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
PARAM_VALUE 0 bus->adap.algo 5493310248509554688
PARAM_VALUE 0 bus->adap.algo_data 4096-ptr_max
PARAM_VALUE 0 bus->adap.dev.of_node 1-u64max
PARAM_VALUE 0 bus->adap.dev.parent 4096-ptr_max
PARAM_VALUE 0 bus->adap.dev.parent->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 bus->adap.dev.parent->driver 4096-ptr_max
PARAM_VALUE 0 bus->adap.dev.parent->of_node 1-u64max
PARAM_VALUE 0 bus->adap.owner 0
PARAM_VALUE 0 bus->adap.quirks 8224873242327580672
PARAM_VALUE 0 bus->adap.retries 3
PARAM_VALUE 0 bus->adap.timeout 500
PARAM_VALUE 0 bus->cmd_complete.done 0
PARAM_VALUE 0 bus->cmd_complete.wait.lock.magic 3735899821
PARAM_VALUE 0 bus->cmd_complete.wait.lock.owner (-1)
PARAM_VALUE 0 bus->cmd_complete.wait.lock.owner_cpu u32max
PARAM_VALUE 0 bus->cmd_complete.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 bus->cmd_complete.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 bus->cmd_complete.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 0 bus->cmd_complete.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 bus->cmd_complete.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 bus->data 4096-ptr_max
PARAM_VALUE 0 bus->dev 4096-ptr_max
PARAM_VALUE 0 bus->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 bus->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 bus->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 bus->dev->of_node 1-u64max
PARAM_VALUE 0 bus->fifo_use 1
PARAM_VALUE 0 bus->int_time_stamp 0
PARAM_VALUE 0 bus->master_or_slave 1
PARAM_VALUE 0 bus->reg 4096-ptr_max
PARAM_VALUE 0 bus->slave 0
PARAM_VALUE 0 bus->state 0
PARAM_VALUE 0 *bus->dev->p->deferred_probe_reason 0-255
PARAM_VALUE 1 bank 1
BUF_SIZE 0 bus 2896
BUF_SIZE 0 bus->dev 1616
DATA_SOURCE 0 bus $0
MEM_ZERO 0 bus
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/i2c/busses/i2c-npcm7xx.c npcm_i2c_irq_handle_sda() -> npcm_i2c_select_bank()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
PARAM_VALUE 0 bus->data 4096-ptr_max
PARAM_VALUE 0 bus->fifo_use 1
PARAM_VALUE 0 bus->master_or_slave 0
PARAM_VALUE 0 bus->reg 4096-ptr_max
PARAM_VALUE 0 bus->state 1
PARAM_VALUE 0 bus->stop_ind 9
PARAM_VALUE 1 bank 1
DATA_SOURCE 0 bus $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags

drivers/i2c/busses/i2c-npcm7xx.c npcm_i2c_master_start_xmit() -> npcm_i2c_select_bank()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
PARAM_VALUE 0 bus->PEC_mask 0
PARAM_VALUE 0 bus->ber_state 0
PARAM_VALUE 0 bus->cmd_complete.done 0
PARAM_VALUE 0 bus->cmd_err 0
PARAM_VALUE 0 bus->dest_addr 0,2-254
PARAM_VALUE 0 bus->fifo_use 1
PARAM_VALUE 0 bus->int_time_stamp 0
PARAM_VALUE 0 bus->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 bus->master_or_slave 1
PARAM_VALUE 0 bus->msgs 4096-ptr_max
PARAM_VALUE 0 bus->operation 1-2
PARAM_VALUE 0 bus->rd_ind 0
PARAM_VALUE 0 bus->rd_size 0-s16max
PARAM_VALUE 0 bus->reg 4096-ptr_max
PARAM_VALUE 0 bus->slave 0,4096-ptr_max
PARAM_VALUE 0 bus->state 1
PARAM_VALUE 0 bus->stop_ind 0
PARAM_VALUE 0 bus->wr_ind 0
PARAM_VALUE 0 bus->wr_size 0-s16max
PARAM_VALUE 1 bank 1
BUF_SIZE 0 bus->rd_buf s32min-(-2),0-s32max
BUF_SIZE 0 bus->wr_buf s32min-(-2),0-s32max
DATA_SOURCE 0 bus $0
FUZZY_MAX 0 bus->operation 2
BIT_INFO 0 bus->dest_addr 0x0,0xfe
HARD_MAX 0 bus->operation 2
NOCHECK_CALL

drivers/i2c/busses/i2c-npcm7xx.c npcm_i2c_master_stop() -> npcm_i2c_select_bank()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
PARAM_VALUE 0 bus->fifo_use 1
PARAM_VALUE 0 bus->reg 4096-ptr_max
PARAM_VALUE 1 bank 1
DATA_SOURCE 0 bus $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/i2c/busses/i2c-npcm7xx.c npcm_i2c_recovery_tgclk() -> npcm_i2c_select_bank()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
PARAM_VALUE 0 bus->reg 4096-ptr_max
PARAM_VALUE 0 bus->state 1
PARAM_VALUE 1 bank 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/i2c/busses/i2c-npcm7xx.c npcm_i2c_set_fifo() -> npcm_i2c_select_bank()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
PARAM_VALUE 0 bus->fifo_use 1
PARAM_VALUE 0 bus->reg 4096-ptr_max
PARAM_VALUE 1 bank 1
DATA_SOURCE 0 bus $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 bus->rd_size 2-33[c]