Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/usb/cdns3/cdns3-gadget.c
- drivers/usb/cdns3/cdnsp-gadget.c, line 2026
- drivers/usb/cdns3/drd.c, line 304
Smatch caller information:
drivers/usb/cdns3/cdns3-gadget.c __cdns3_gadget_init() -> cdns_drd_gadget_off()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdns | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cdns->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cdns->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | cdns->dev->dma_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | cdns->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | cdns->dev->power.runtime_status | 0,2 |
| PARAM_VALUE | 0 | cdns->dev->power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cdns->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | cdns->dev->type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cdns->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cdns->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cdns->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | cdns->mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cdns->mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | cdns->mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | cdns->mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | cdns->mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | cdns->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | cdns->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cdns->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | cdns->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | cdns->role | 0-2 |
| PARAM_VALUE | 0 | cdns->roles | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns->usb2_phy->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | cdns->usb3_phy->dev.power.wakeirq->status | 0-4294967295 |
| BUF_SIZE | 0 | cdns | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | cdns | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | cdns->dev | (-1),1616 |
| BUF_SIZE | 0 | cdns->dev_irq | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | cdns->otg_irq | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | cdns->pdata | (-1),1-s32max |
| CAPPED_DATA | 0 | cdns->dev | 1 |
| DATA_SOURCE | 0 | cdns | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | cdns->dev_irq | s32min-s32max |
| NO_OVERFLOW_SIMPLE | 0 | cdns->dev_irq | |
| NO_OVERFLOW_SIMPLE | 0 | cdns->otg_irq | |
| LOCK2 | 0 | &cdns->mutex | |
| HALF_LOCKED2 | &sw->lock | ||
| HALF_LOCKED2 | 0 | &cdns->lock | |
| TYPE_LOCK | (struct cdns)->mutex |
drivers/usb/cdns3/cdns3-gadget.c cdns3_gadget_exit() -> cdns_drd_gadget_off()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdns | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | cdns->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | cdns->dev->power.runtime_status | 0,2 |
| PARAM_VALUE | 0 | cdns->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | cdns->gadget_dev | 0 |
| PARAM_VALUE | 0 | cdns->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cdns->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cdns->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | cdns->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | cdns->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cdns->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | cdns->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | cdns->role | 0-2 |
| PARAM_VALUE | 0 | cdns->roles | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns->usb2_phy->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | cdns->usb3_phy->dev.power.wakeirq->status | 0-4294967295 |
| BUF_SIZE | 0 | cdns | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | cdns | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | cdns->dev | (-1),1616 |
| BUF_SIZE | 0 | cdns->dev_irq | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | cdns->otg_irq | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | cdns->pdata | (-1),1-s32max |
| BUF_SIZE | 0 | cdns->wakeup_irq | s32min,(-1)-s32max |
| DATA_SOURCE | 0 | cdns | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | cdns->dev_irq | s32min-s32max |
| NO_OVERFLOW_SIMPLE | 0 | cdns->dev_irq | |
| NO_OVERFLOW_SIMPLE | 0 | cdns->otg_irq | |
| LOCK2 | 0 | &cdns->mutex | |
| HALF_LOCKED2 | &sw->lock | ||
| HALF_LOCKED2 | 0 | &cdns->lock | |
| TYPE_LOCK | (struct cdns)->mutex |
drivers/usb/cdns3/cdnsp-gadget.c cdnsp_gadget_exit() -> cdns_drd_gadget_off()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdns | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | cdns->dev->power.runtime_status | 0,2 |
| PARAM_VALUE | 0 | cdns->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | cdns->gadget_dev | 0 |
| PARAM_VALUE | 0 | cdns->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cdns->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cdns->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | cdns->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | cdns->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cdns->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | cdns->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | cdns->role | 0-2 |
| PARAM_VALUE | 0 | cdns->roles | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns->usb2_phy->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | cdns->usb3_phy->dev.power.wakeirq->status | 0-4294967295 |
| BUF_SIZE | 0 | cdns | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | cdns | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | cdns->dev | (-1),1616 |
| BUF_SIZE | 0 | cdns->dev_irq | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | cdns->otg_irq | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | cdns->pdata | (-1),1-s32max |
| DATA_SOURCE | 0 | cdns | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | cdns->dev_irq | 1-s32max |
| NO_OVERFLOW_SIMPLE | 0 | cdns->dev_irq | |
| NO_OVERFLOW_SIMPLE | 0 | cdns->otg_irq | |
| LOCK2 | 0 | &cdns->mutex | |
| HALF_LOCKED2 | &sw->lock | ||
| HALF_LOCKED2 | 0 | &cdns->lock | |
| TYPE_LOCK | (struct cdns)->mutex |