Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/i2c/busses/i2c-npcm7xx.c npcm_i2c_reg_slave() -> npcm_i2c_slave_int_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->PEC_mask | 0 |
| PARAM_VALUE | 0 | bus->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bus->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bus->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bus->dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bus->int_time_stamp | 0 |
| PARAM_VALUE | 0 | bus->master_or_slave | 1 |
| PARAM_VALUE | 0 | bus->rd_ind | 0 |
| PARAM_VALUE | 0 | bus->rd_size | 0 |
| PARAM_VALUE | 0 | bus->read_block_use | 0 |
| PARAM_VALUE | 0 | bus->reg | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->slave | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->slave->adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->slave->flags | 32-u16max |
| PARAM_VALUE | 0 | bus->slave->slave_cb | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->slv_rd_ind | 0 |
| PARAM_VALUE | 0 | bus->slv_rd_size | 0 |
| PARAM_VALUE | 0 | bus->slv_wr_ind | 0 |
| PARAM_VALUE | 0 | bus->slv_wr_size | 0 |
| PARAM_VALUE | 0 | bus->stop_ind | 0 |
| PARAM_VALUE | 0 | bus->wr_ind | 0 |
| PARAM_VALUE | 0 | bus->wr_size | 0 |
| PARAM_VALUE | 1 | enable | 1 |
| BUF_SIZE | 0 | bus | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | bus | s32min-(-2),1-s32max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | bus->slave->irq | |
| UNITS | 0 | bus | unit_byte |
| LOCK2 | lock_flags | ||
| LOCK2 | 0 | &bus->lock | |
| HALF_LOCKED2 | global &driver_clients_lock | ||
| TYPE_LOCK | (struct npcm_i2c)->lock |
drivers/i2c/busses/i2c-npcm7xx.c npcm_i2c_slave_enable() -> npcm_i2c_slave_int_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->slave | 4096-ptr_max |
| PARAM_VALUE | 1 | enable | 1 |
| BUF_SIZE | 0 | bus | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | bus | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | bus->slave | (-1),1696 |
| DATA_SOURCE | 0 | bus | $0 |
| DATA_SOURCE | 1 | enable | $3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | bus->slave->init_irq | |
| NO_OVERFLOW_SIMPLE | 0 | bus->slave->irq | |
| UNITS | 0 | bus | unit_byte |
| HALF_LOCKED2 | lock_flags | ||
| HALF_LOCKED2 | 0 | &bus->lock |
drivers/i2c/busses/i2c-npcm7xx.c npcm_i2c_unreg_slave() -> npcm_i2c_slave_int_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->slave | 1-u64max |
| PARAM_VALUE | 1 | enable | 0 |
| BUF_SIZE | 0 | bus | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | bus | s32min-(-2),1-s32max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | bus | unit_byte |
| LOCK2 | lock_flags | ||
| LOCK2 | 0 | &bus->lock | |
| HALF_LOCKED2 | global &driver_clients_lock | ||
| TYPE_LOCK | (struct npcm_i2c)->lock |