Defined in 1 files as a member:
Defined in 2 files as a function:
- drivers/usb/gadget/udc/fsl_udc_core.c, line 515 (as a function)
- drivers/usb/gadget/udc/goku_udc.c, line 1419 (as a function)
Referenced in 3 files:
- drivers/usb/gadget/udc/fsl_udc_core.c
- drivers/usb/gadget/udc/goku_udc.c, line 1631
- drivers/usb/gadget/udc/omap_udc.c
Smatch caller information:
drivers/usb/gadget/udc/goku_udc.c goku_irq() -> ep0_setup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | udc | 4096-ptr_max |
| PARAM_VALUE | 0 | udc->ep | 4096-ptr_max |
| PARAM_VALUE | 0 | udc->lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | udc | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &udc->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct goku_udc)->lock |
drivers/usb/gadget/udc/fsl_udc_core.c fsl_udc_probe() -> ep0_setup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | udc | 4096-ptr_max |
| PARAM_VALUE | 0 | udc->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | udc->ep0_dir | 0 |
| PARAM_VALUE | 0 | udc->ep_qh | 1-ptr_max |
| PARAM_VALUE | 0 | udc->ep_qh->buff_ptr0 | 0 |
| PARAM_VALUE | 0 | udc->ep_qh->buff_ptr1 | 0 |
| PARAM_VALUE | 0 | udc->ep_qh->buff_ptr2 | 0 |
| PARAM_VALUE | 0 | udc->ep_qh->buff_ptr3 | 0 |
| PARAM_VALUE | 0 | udc->ep_qh->buff_ptr4 | 0 |
| PARAM_VALUE | 0 | udc->ep_qh->curr_dtd_ptr | 0 |
| PARAM_VALUE | 0 | udc->ep_qh->max_pkt_length | 0 |
| PARAM_VALUE | 0 | udc->ep_qh->next_dtd_ptr | 0 |
| PARAM_VALUE | 0 | udc->ep_qh->res1 | 0 |
| PARAM_VALUE | 0 | udc->ep_qh->size_ioc_int_sts | 0 |
| PARAM_VALUE | 0 | udc->ep_qh_size | 0,2048-3968,4096 |
| PARAM_VALUE | 0 | udc->eps | 4096-ptr_max |
| PARAM_VALUE | 0 | udc->gadget.ep_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | udc->gadget.ep_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | udc->gadget.ep_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | udc->gadget.ep_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | udc->gadget.ep_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | udc->gadget.max_speed | 3 |
| PARAM_VALUE | 0 | udc->gadget.name | 9099962588582866944 |
| PARAM_VALUE | 0 | udc->gadget.ops | 6557630859287470080 |
| PARAM_VALUE | 0 | udc->gadget.speed | 0 |
| PARAM_VALUE | 0 | udc->irq | 1-s32max |
| PARAM_VALUE | 0 | udc->max_ep | 0-62 |
| PARAM_VALUE | 0 | udc->pdata | 4096-ptr_max |
| PARAM_VALUE | 0 | udc->remote_wakeup | 0 |
| PARAM_VALUE | 0 | udc->resume_state | 0 |
| PARAM_VALUE | 0 | udc->status_req | 4096-ptr_max |
| PARAM_VALUE | 0 | udc->status_req->req.buf | 4096-ptr_max |
| PARAM_VALUE | 0 | udc->stopped | 1 |
| PARAM_VALUE | 0 | udc->usb_state | 2 |
| BUF_SIZE | 0 | udc | 2112 |
| BUF_SIZE | 0 | udc->dev | 1616 |
| BUF_SIZE | 0 | udc->gadget.ep0 | 72 |
| BUF_SIZE | 0 | udc->gadget.name | 13 |
| BUF_SIZE | 0 | udc->gadget.ops | 136 |
| BUF_SIZE | 0 | udc->pdata | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | udc | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | udc->ep_qh_size | 0,2048-3968,4096[c] |
| HOST_DATA | 0 | udc->max_ep | 0-62[c] |
| NO_OVERFLOW_SIMPLE | 0 | udc->max_ep |
drivers/usb/gadget/udc/fsl_udc_core.c reset_irq() -> ep0_setup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | udc | 4096-ptr_max |
| PARAM_VALUE | 0 | udc->device_address | 0 |
| PARAM_VALUE | 0 | udc->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | udc->driver->disconnect | 4096-ptr_max |
| PARAM_VALUE | 0 | udc->ep0_dir | 0 |
| PARAM_VALUE | 0 | udc->ep0_state | 0 |
| PARAM_VALUE | 0 | udc->gadget.a_alt_hnp_support | 0 |
| PARAM_VALUE | 0 | udc->gadget.a_hnp_support | 0 |
| PARAM_VALUE | 0 | udc->gadget.b_hnp_enable | 0 |
| PARAM_VALUE | 0 | udc->gadget.dev.driver_data->config | 0 |
| PARAM_VALUE | 0 | udc->gadget.dev.driver_data->ev_next | 0-5 |
| PARAM_VALUE | 0 | udc->gadget.dev.driver_data->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | udc->gadget.dev.driver_data->queue.sema.count | 0-4294967295 |
| PARAM_VALUE | 0 | udc->gadget.dev.driver_data->queue.sema.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | udc->gadget.dev.driver_data->queue.sema.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | udc->gadget.dev.driver_data->queue.sema.lock.owner | (-1) |
| PARAM_VALUE | 0 | udc->gadget.dev.driver_data->queue.sema.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | udc->gadget.dev.driver_data->queue.size | s32min-16 |
| PARAM_VALUE | 0 | udc->gadget.dev.driver_data->state | 2,6 |
| PARAM_VALUE | 0 | udc->gadget.dev.driver_data->suspended | 0 |
| PARAM_VALUE | 0 | udc->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | udc->max_pipes | 0-255 |
| PARAM_VALUE | 0 | udc->remote_wakeup | 0 |
| PARAM_VALUE | 0 | udc->resume_state | 0 |
| PARAM_VALUE | 0 | udc->stopped | 0 |
| CAPPED_DATA | 0 | udc->max_pipes | 1 |
| DATA_SOURCE | 0 | udc | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &udc->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct fsl_udc)->lock |