Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/usb/dwc3/ep0.c dwc3_ep0_out_start() -> dwc3_stop_active_transfer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dep | 4096-ptr_max |
| PARAM_VALUE | 0 | dep->flags | 0-4294959103 |
| PARAM_VALUE | 1 | force | 1 |
| PARAM_VALUE | 2 | interrupt | 1 |
| BIT_INFO | 0 | dep->flags | 0x0,0xffffdfff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dwc->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags |
drivers/usb/dwc3/gadget.c __dwc3_gadget_ep_enable() -> dwc3_stop_active_transfer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dep | 4096-ptr_max |
| PARAM_VALUE | 0 | dep->dwc | 4096-ptr_max |
| PARAM_VALUE | 0 | dep->dwc->gadget | 4096-ptr_max |
| PARAM_VALUE | 0 | dep->endpoint.desc | 4096-ptr_max |
| PARAM_VALUE | 0 | dep->endpoint.desc->bmAttributes | 1-255 |
| PARAM_VALUE | 0 | dep->resource_index | 0-127 |
| PARAM_VALUE | 0 | dep->stream_capable | 1 |
| PARAM_VALUE | 0 | dep->trb_pool | 4096-ptr_max |
| PARAM_VALUE | 1 | force | 1 |
| PARAM_VALUE | 2 | interrupt | 1 |
| DATA_SOURCE | 0 | dep | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dwc->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags |
drivers/usb/dwc3/gadget.c __dwc3_gadget_ep_set_halt() -> dwc3_stop_active_transfer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dep | 4096-ptr_max |
| PARAM_VALUE | 0 | dep->endpoint.desc | 4096-ptr_max |
| PARAM_VALUE | 0 | dep->number | 2-255 |
| PARAM_VALUE | 1 | force | 1 |
| PARAM_VALUE | 2 | interrupt | 1 |
| DATA_SOURCE | 0 | dep | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dwc->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags |
drivers/usb/dwc3/gadget.c __dwc3_gadget_kick_transfer() -> dwc3_stop_active_transfer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dep | 4096-ptr_max |
| PARAM_VALUE | 0 | dep->dwc | 4096-ptr_max |
| PARAM_VALUE | 0 | dep->dwc->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | dep->dwc->gadget | 4096-ptr_max |
| PARAM_VALUE | 1 | force | 1 |
| PARAM_VALUE | 2 | interrupt | 1 |
| CAPPED_DATA | 0 | dep | 1 |
| DATA_SOURCE | 0 | dep | $0 |
| PARAM_COMPARE | 0 | &dep->started_list | != $0->started_list.next |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dwc->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags |
drivers/usb/dwc3/gadget.c dwc3_gadget_endpoint_trbs_complete() -> dwc3_stop_active_transfer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dep | 4096-ptr_max |
| PARAM_VALUE | 0 | dep->dwc->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | dep->dwc->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | dep->dwc->dev->power.runtime_status | 0,2 |
| PARAM_VALUE | 0 | dep->dwc->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | dep->dwc->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dep->endpoint.desc | 4096-ptr_max |
| PARAM_VALUE | 0 | dep->started_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dep->trb_dequeue | 0-254 |
| PARAM_VALUE | 1 | force | 1 |
| PARAM_VALUE | 2 | interrupt | 1 |
| CAPPED_DATA | 0 | &dep->pending_list | 1 |
| CAPPED_DATA | 0 | &dep->started_list | 1 |
| DATA_SOURCE | 0 | dep | $0 |
| PARAM_COMPARE | 0 | &dep->started_list | == $0->started_list.next |
| BIT_INFO | 0 | dep->flags | 0x0,0xffffffef |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dwc->lock | ||
| LOCK2 | bh | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct dwc3)->lock |
drivers/usb/dwc3/gadget.c dwc3_gadget_ep_dequeue() -> dwc3_stop_active_transfer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dep | 4096-ptr_max |
| PARAM_VALUE | 1 | force | 1 |
| PARAM_VALUE | 2 | interrupt | 1 |
| CAPPED_DATA | 0 | &dep->cancelled_list | 1 |
| CAPPED_DATA | 0 | &dep->pending_list | 1 |
| CAPPED_DATA | 0 | &dep->started_list | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dwc->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &ctx->ctx_lock | ||
| HALF_LOCKED2 | &epdata->dev->lock | ||
| HALF_LOCKED2 | &epdata->lock | ||
| HALF_LOCKED2 | &epfile->dmabufs_mutex | ||
| HALF_LOCKED2 | &epfile->ffs->eps_lock | ||
| HALF_LOCKED2 | &ffs->eps_lock | ||
| HALF_LOCKED2 | &port->port_lock | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct dwc3)->lock |
drivers/usb/dwc3/gadget.c dwc3_gadget_start_isoc_quirk() -> dwc3_stop_active_transfer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dep | 4096-ptr_max |
| PARAM_VALUE | 0 | dep->direction | 1 |
| PARAM_VALUE | 0 | dep->dwc | 4096-ptr_max |
| PARAM_VALUE | 0 | dep->dwc->connected | 1 |
| PARAM_VALUE | 0 | dep->dwc->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | dep->dwc->dis_start_transfer_quirk | 0 |
| PARAM_VALUE | 0 | dep->dwc->gadget | 4096-ptr_max |
| PARAM_VALUE | 0 | dep->dwc->gadget->speed | 0-3 |
| PARAM_VALUE | 0 | dep->dwc->ip | 13105 |
| PARAM_VALUE | 0 | dep->dwc->revision | 0-825700394 |
| PARAM_VALUE | 0 | dep->dwc->version_type | 1700868145-u32max |
| PARAM_VALUE | 0 | dep->pending_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | force | 1 |
| PARAM_VALUE | 2 | interrupt | 1 |
| CAPPED_DATA | 0 | dep | 1 |
| DATA_SOURCE | 0 | dep | $0 |
| FUZZY_MAX | 0 | dep->dwc->gadget->speed | 3 |
| FUZZY_MAX | 0 | dep->dwc->revision | 825700394 |
| HARD_MAX | 0 | dep->dwc->gadget->speed | 3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dwc->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct dwc3)->lock |
drivers/usb/dwc3/gadget.c dwc3_nostream_work() -> dwc3_stop_active_transfer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dep | 4096-ptr_max |
| PARAM_VALUE | 0 | dep->dwc | 4096-ptr_max |
| PARAM_VALUE | 1 | force | 1 |
| PARAM_VALUE | 2 | interrupt | 1 |
| BIT_INFO | 0 | dep->flags | 0x40,0xfffffaff |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &dwc->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dwc3)->lock |
drivers/usb/dwc3/gadget.c dwc3_remove_requests() -> dwc3_stop_active_transfer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dep | 1-u64max |
| PARAM_VALUE | 0 | dep->dwc->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | force | 1 |
| PARAM_VALUE | 2 | interrupt | 0 |
| DATA_SOURCE | 0 | dep | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dwc->lock | ||
| HALF_LOCKED2 | flags |