Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/usb/dwc3/core.h, line 1693 (as a function)
- drivers/usb/dwc3/gadget.c, line 312 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/usb/dwc3/ep0.c dwc3_ep0_end_control_data() -> dwc3_send_gadget_ep_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dep | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 264,65800-16711944 |
| PARAM_VALUE | 2 | params | 1472313275351089152 |
| DATA_SOURCE | 0 | dep | $1 |
| BIT_INFO | 1 | cmd | 0x108,0x108 |
| MEM_ZERO | 2 | params | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &dwc->lock | ||
| HALF_LOCKED2 | bh | ||
| TYPE_LOCK | (struct dwc3)->lock |
drivers/usb/dwc3/ep0.c dwc3_ep0_start_trans() -> dwc3_send_gadget_ep_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dep | 4096-ptr_max |
| PARAM_VALUE | 0 | dep->dwc | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 6 |
| PARAM_VALUE | 2 | params | 1874036560995471360 |
| DATA_SOURCE | 0 | dep | $0 |
| BIT_INFO | 0 | dep->flags | 0x0,0xfffffff7 |
| MEM_ZERO | 2 | params | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dwc->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags |
drivers/usb/dwc3/gadget.c __dwc3_gadget_ep_enable() -> dwc3_send_gadget_ep_cmd()
| 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 | cmd | 6 |
| PARAM_VALUE | 2 | params | 2850700315463995392 |
| DATA_SOURCE | 0 | dep | $0 |
| BIT_INFO | 0 | dep->flags | 0x1,0xffffffffffffffff |
| MEM_ZERO | 2 | params | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dwc->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags |
drivers/usb/dwc3/gadget.c __dwc3_gadget_ep_set_halt() -> dwc3_send_gadget_ep_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dep | 4096-ptr_max |
| PARAM_VALUE | 0 | dep->dwc->ep0_trb | 4096-ptr_max |
| PARAM_VALUE | 0 | dep->endpoint.desc | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 4 |
| PARAM_VALUE | 2 | params | 6732495891419602944 |
| CAPPED_DATA | 0 | &dep->started_list | 1 |
| DATA_SOURCE | 0 | dep | $0 |
| MEM_ZERO | 2 | params | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dwc->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct dwc3)->lock |
drivers/usb/dwc3/gadget.c __dwc3_gadget_kick_transfer() -> dwc3_send_gadget_ep_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dep | 4096-ptr_max |
| PARAM_VALUE | 0 | dep->dwc->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 2 | params | 2092578464366981120 |
| CAPPED_DATA | 0 | dep | 1 |
| DATA_SOURCE | 0 | dep | $0 |
| PARAM_COMPARE | 0 | &dep->started_list | != $0->started_list.next |
| BIT_INFO | 1 | cmd | 0x6,0xffff0007 |
| MEM_ZERO | 2 | params | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dwc->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags |
drivers/usb/dwc3/gadget.c __dwc3_stop_active_transfer() -> dwc3_send_gadget_ep_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dep | 4096-ptr_max |
| PARAM_VALUE | 0 | dep->dwc->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | cmd | 0-16777215 |
| PARAM_VALUE | 2 | params | 6907475371156840448 |
| CAPPED_DATA | 0 | dep | 1 |
| DATA_SOURCE | 0 | dep | $0 |
| BIT_INFO | 0 | dep->flags | 0x0,0xffffffef |
| BIT_INFO | 1 | cmd | 0x8,0xfff |
| MEM_ZERO | 2 | params | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dwc->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags |
drivers/usb/dwc3/gadget.c dwc3_gadget_set_ep_config() -> dwc3_send_gadget_ep_cmd()
| 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.comp_desc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dep->endpoint.desc | 4096-ptr_max |
| PARAM_VALUE | 0 | dep->endpoint.desc->bmAttributes | 1-255 |
| PARAM_VALUE | 1 | cmd | 1 |
| PARAM_VALUE | 2 | params | 8147005043976019968 |
| PARAM_VALUE | 2 | params->param1 | 0-1073741823 |
| DATA_SOURCE | 0 | dep | $0 |
| MEM_ZERO | 2 | params | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dwc->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags |
drivers/usb/dwc3/gadget.c dwc3_gadget_set_xfer_resource() -> dwc3_send_gadget_ep_cmd()
| 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 | 1 | cmd | 2 |
| PARAM_VALUE | 2 | params | 4685148990792777728 |
| PARAM_VALUE | 2 | params->param0 | 1 |
| DATA_SOURCE | 0 | dep | $0 |
| BIT_INFO | 0 | dep->flags | 0x0,0xffffbfff |
| MEM_ZERO | 2 | params | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dwc->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags |
drivers/usb/dwc3/gadget.c dwc3_gadget_start_config() -> dwc3_send_gadget_ep_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 9,131081 |
| PARAM_VALUE | 2 | params | 5296589862141059072 |
| BIT_INFO | 1 | cmd | 0x9,0x20009 |
| MEM_ZERO | 2 | params | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dwc->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags |
drivers/usb/dwc3/gadget.c dwc3_gadget_start_isoc_quirk() -> dwc3_send_gadget_ep_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dep | 4096-ptr_max |
| PARAM_VALUE | 0 | dep->combo_num | 0-1 |
| 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 | cmd | 6,65542-4294901766 |
| PARAM_VALUE | 2 | params | 2362496400423227392 |
| 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 |
| BIT_INFO | 0 | dep->flags | 0x0,0xffffffef |
| BIT_INFO | 1 | cmd | 0x6,0xffff0006 |
| HARD_MAX | 0 | dep->dwc->gadget->speed | 3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dwc->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct dwc3)->lock |
drivers/usb/dwc3/gadget.c dwc3_send_clear_stall_ep_cmd() -> dwc3_send_gadget_ep_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dep | 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 | cmd | 5,2053 |
| PARAM_VALUE | 2 | params | 9213287369671024640 |
| DATA_SOURCE | 0 | dep | $0 |
| FUZZY_MAX | 1 | cmd | 5 |
| BIT_INFO | 1 | cmd | 0x5,0x805 |
| MEM_ZERO | 2 | params | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dwc->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags |