Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/i2c/busses/i2c-aspeed.c aspeed_i2c_bus_irq() -> aspeed_i2c_do_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->master_state | 1 |
| PARAM_VALUE | 0 | bus->slave_state | 0 |
| DATA_SOURCE | 0 | bus | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | bus->slave->dev.driver_data->buffer_idx | 0-u16max |
| HOST_DATA | 0 | bus->slave->dev.driver_data->part_buf.address | 0-255 |
| HOST_DATA | 0 | bus->slave->dev.driver_data->part_buf.length | 0-255 |
| HOST_DATA | 0 | bus->slave->dev.platform_data->addr | 0-255 |
| LOCK2 | 0 | &bus->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct aspeed_i2c_bus)->lock |
drivers/i2c/busses/i2c-aspeed.c aspeed_i2c_master_xfer() -> aspeed_i2c_do_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->msgs_index | 0 |
| BUF_SIZE | 0 | bus | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | bus | s32min-(-2),1-s32max |
| BIT_INFO | 0 | bus->msgs_count | 0x0,0xffffffff |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| UNITS | 0 | bus | unit_byte |
| LOCK2 | flags | ||
| LOCK2 | 0 | &bus->lock | |
| TYPE_LOCK | (struct aspeed_i2c_bus)->lock |
drivers/i2c/busses/i2c-aspeed.c aspeed_i2c_next_msg_or_stop() -> aspeed_i2c_do_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->master_state | 3-6 |
| PARAM_VALUE | 0 | bus->msgs | 4096-ptr_max |
| DATA_SOURCE | 0 | bus | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &bus->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct aspeed_i2c_bus)->lock |