Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/i2c/busses/i2c-amd-mp2-plat.c i2c_amd_probe() -> amd_mp2_unregister_cb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i2c_common | 4096-ptr_max |
| PARAM_VALUE | 0 | i2c_common->bus_id | 0-1 |
| PARAM_VALUE | 0 | i2c_common->mp2_dev | 4096-ptr_max |
| NOSPEC | 0 | i2c_common->bus_id | |
| MEM_ZERO | 0 | i2c_common | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | i2c_common->bus_id | 0-1[c] |
| NO_OVERFLOW_SIMPLE | 0 | i2c_common->bus_id | |
| LOCK2 | &i2c_dev->common.mp2_dev->c2p_lock | ||
| TYPE_LOCK | (struct amd_mp2_dev)->c2p_lock |
drivers/i2c/busses/i2c-amd-mp2-plat.c i2c_amd_remove() -> amd_mp2_unregister_cb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | i2c_common | 80 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &i2c_dev->common.mp2_dev->c2p_lock | ||
| HALF_LOCKED2 | &_dev->mutex | ||
| TYPE_LOCK | (struct amd_mp2_dev)->c2p_lock |