Defined in 2 files as a function:
- drivers/usb/gadget/udc/bdc/bdc_ep.c, line 1384 (as a function)
- drivers/usb/mtu3/mtu3_gadget_ep0.c, line 185 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/usb/mtu3/mtu3_gadget_ep0.c handle_standard_request() -> ep0_set_sel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdc | 4096-ptr_max |
| PARAM_VALUE | 0 | bdc->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | bdc->ep0 | 4096-ptr_max |
| PARAM_VALUE | 0 | bdc->ep0->mtu | 4096-ptr_max |
| PARAM_VALUE | 0 | bdc->ep0_state | 1-3 |
| PARAM_VALUE | 1 | setup_pkt | 1340159299045199872 |
| PARAM_VALUE | 1 | setup_pkt->bRequest | 48 |
| DATA_SOURCE | 0 | bdc | $0 |
| DATA_SOURCE | 1 | setup_pkt | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &bdc->lock | |
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct mtu3)->lock |
drivers/usb/gadget/udc/bdc/bdc_ep.c handle_control_request() -> ep0_set_sel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdc | 4096-ptr_max |
| PARAM_VALUE | 0 | bdc->bdc_ep_array | 4096-ptr_max |
| PARAM_VALUE | 0 | bdc->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bdc->num_eps | 1-u32max |
| PARAM_VALUE | 0 | bdc->sr_handler | 4096-ptr_max |
| PARAM_VALUE | 0 | bdc->srr.sr_bds | 4096-ptr_max |
| PARAM_VALUE | 0 | *bdc->ep0_response_buff | 0-u16max |
| PARAM_VALUE | 1 | setup_pkt | 4096-ptr_max |
| PARAM_VALUE | 1 | setup_pkt->bRequest | 48 |
| BUF_SIZE | 1 | setup_pkt | 8 |
| DATA_SOURCE | 0 | bdc | $0 |
| PARAM_COMPARE | 0 | &bdc->setup_pkt | == $1 |
| BIT_INFO | 0 | bdc->devstatus | 0x0,0xfffbffff |
| BIT_INFO | 1 | setup_pkt->bRequestType | 0x0,0x9f |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &bdc->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct bdc)->lock |