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_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->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 | addr_type | 0 |
| PARAM_VALUE | 3 | 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 |
| UNITS | 2 | addr | unit_array_size |
| 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_reset() -> npcm_i2c_slave_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->reg | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->slave | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->state | 1 |
| PARAM_VALUE | 1 | addr_type | 0 |
| PARAM_VALUE | 3 | enable | 1 |
| DATA_SOURCE | 0 | bus | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | addr | unit_array_size |