Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/usb/chipidea/core.c role_store() -> ci_handle_vbus_change()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->gadget.dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ci->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ci->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ci->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ci->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ci->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ci->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ci->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ci->phy->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ci->role | 1 |
| PARAM_VALUE | 0 | ci->roles | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->usb_phy | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ci->usb_phy->last_event | 0,2 |
| BUF_SIZE | 0 | ci | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ci | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &ci->mutex | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ci | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &ci->mutex | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ci_hdrc)->mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/usb/chipidea/otg.c ci_handle_id_switch() -> ci_handle_vbus_change()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ci->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ci->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | ci->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | ci->dev->power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ci->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ci->dev->type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ci->gadget.dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ci->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ci->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ci->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ci->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ci->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ci->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ci->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ci->phy->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ci->platdata | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->role | 1-2 |
| CAPPED_DATA | 0 | &ci->mutex | 1 |
| DATA_SOURCE | 0 | ci | $0 |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &ci->mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ci_hdrc)->mutex |
drivers/usb/chipidea/otg.c ci_otg_work() -> ci_handle_vbus_change()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->b_sess_valid_event | 0 |
| PARAM_VALUE | 0 | ci->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ci->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ci->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | ci->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | ci->dev->power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ci->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ci->dev->type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ci->fsm.otg | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->id_event | 0 |
| PARAM_VALUE | 0 | ci->is_otg | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |