Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/usb/chipidea/otg_fsm.c, line 791 (as a function)
- drivers/usb/chipidea/otg_fsm.h, line 89 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/usb/chipidea/udc.c ci_udc_start() -> ci_hdrc_otg_fsm_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->driver->disconnect | 1-u64max |
| PARAM_VALUE | 0 | ci->ep0in | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->ep0in->ep.desc | 8606726763996078080 |
| PARAM_VALUE | 0 | ci->ep0in->ep.enabled | 1 |
| PARAM_VALUE | 0 | ci->ep0out | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->ep0out->ep.desc | 5568705381822590976 |
| PARAM_VALUE | 0 | ci->ep0out->ep.enabled | 1 |
| PARAM_VALUE | 0 | ci->fsm.id | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | ci->is_otg | 1 |
| BUF_SIZE | 0 | ci->ep0in->ep.desc | 9 |
| BUF_SIZE | 0 | ci->ep0out->ep.desc | 9 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &udc->connect_lock | ||
| HALF_LOCKED2 | &gadget->dev.mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct usb_udc)->connect_lock |
drivers/usb/chipidea/udc.c ci_udc_stop_for_otg_fsm() -> ci_hdrc_otg_fsm_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ci->driver | 0 |
| PARAM_VALUE | 0 | ci->fsm.a_bidl_adis_tmout | 1 |
| PARAM_VALUE | 0 | ci->fsm.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ci->fsm.lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ci->fsm.lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ci->fsm.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ci->fsm.lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ci->fsm.lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ci->fsm.lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ci->fsm.otg | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->fsm.otg->state | 11 |
| PARAM_VALUE | 0 | ci->is_otg | 1 |
| PARAM_VALUE | 0 | ci->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ci->phy->dev.power.wakeirq->status | 0-4294967295 |
| CAPPED_DATA | 0 | &ci->fsm.lock | 1 |
| DATA_SOURCE | 0 | ci | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &udc->connect_lock | ||
| LOCK2 | 0 | &ci->fsm.lock | |
| HALF_LOCKED2 | &gadget->dev.mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct otg_fsm)->lock | ||
| TYPE_LOCK | (struct usb_udc)->connect_lock |