Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/i2c/busses/i2c-cadence.c cdns_i2c_master_xfer() -> cdns_i2c_set_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mode | 1 |
| PARAM_VALUE | 1 | id | 4096-ptr_max |
| PARAM_VALUE | 1 | id->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | id->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 1 | id->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 1 | id->dev->power.request | 0-4 |
| PARAM_VALUE | 1 | id->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 1 | id->dev->power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 1 | id->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | id->dev->type | 0,4096-ptr_max |
| PARAM_VALUE | 1 | id->dev_mode | 0 |
| PARAM_VALUE | 1 | id->slave_state | 0 |
| BUF_SIZE | 1 | id | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | id | s32min-(-2),1-s32max |
| NOCHECK_CALL | |||
| UNITS | 1 | id | unit_byte |
drivers/i2c/busses/i2c-cadence.c cdns_i2c_master_xfer() -> cdns_i2c_set_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mode | 0 |
| PARAM_VALUE | 1 | id | 4096-ptr_max |
| PARAM_VALUE | 1 | id->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | id->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 1 | id->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 1 | id->dev->power.request | 0-4 |
| PARAM_VALUE | 1 | id->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 1 | id->dev->power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 1 | id->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | id->dev->type | 0,4096-ptr_max |
| PARAM_VALUE | 1 | id->dev_mode | 1 |
| PARAM_VALUE | 1 | id->slave_state | 0 |
| BUF_SIZE | 1 | id | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | id | s32min-(-2),1-s32max |
| NOCHECK_CALL | |||
| UNITS | 1 | id | unit_byte |
drivers/i2c/busses/i2c-cadence.c cdns_reg_slave() -> cdns_i2c_set_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mode | 0 |
| PARAM_VALUE | 1 | id | 4096-ptr_max |
| PARAM_VALUE | 1 | id->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | id->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 1 | id->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 1 | id->dev->power.request | 0-4 |
| PARAM_VALUE | 1 | id->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 1 | id->dev->power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 1 | id->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | id->dev->type | 0,4096-ptr_max |
| PARAM_VALUE | 1 | id->slave | 4096-ptr_max |
| PARAM_VALUE | 1 | id->slave->adapter | 4096-ptr_max |
| PARAM_VALUE | 1 | id->slave->flags | 32-u16max |
| PARAM_VALUE | 1 | id->slave->slave_cb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | id->slave->irq | |
| UNITS | 1 | id | unit_byte |
| HALF_LOCKED2 | global &driver_clients_lock |
drivers/i2c/busses/i2c-cadence.c cdns_unreg_slave() -> cdns_i2c_set_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mode | 1 |
| PARAM_VALUE | 1 | id | 4096-ptr_max |
| PARAM_VALUE | 1 | id->dev->power.request | 0-4 |
| PARAM_VALUE | 1 | id->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 1 | id->dev->power.runtime_status | 0,2 |
| PARAM_VALUE | 1 | id->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | id->slave | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | id | unit_byte |
| HALF_LOCKED2 | global &driver_clients_lock |