Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/usb/cdns3/cdns3-gadget.c cdns3_gadget_ep_enable() -> cdns3_ep_config()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv_ep | 4096-ptr_max |
| PARAM_VALUE | 0 | priv_ep->cdns3_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv_ep->cdns3_dev->gadget.speed | 5-u32max |
| PARAM_VALUE | 0 | priv_ep->endpoint.comp_desc | 4096-ptr_max |
| PARAM_VALUE | 0 | priv_ep->endpoint.desc | 4096-ptr_max |
| PARAM_VALUE | 0 | priv_ep->endpoint.desc->bDescriptorType | 5 |
| PARAM_VALUE | 0 | priv_ep->endpoint.desc->wMaxPacketSize | 1-u16max |
| PARAM_VALUE | 0 | priv_ep->type | 0-3 |
| PARAM_VALUE | 0 | priv_ep->use_streams | 1 |
| BUF_SIZE | 0 | priv_ep->endpoint.desc | (-1),9 |
| FUZZY_MAX | 0 | priv_ep->cdns3_dev->gadget.speed | 5 |
| BIT_INFO | 0 | priv_ep->flags | 0x0,0xfffffffe |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | priv_ep->endpoint.desc->bDescriptorType | 5[u] |
| USER_DATA | 0 | priv_ep->endpoint.desc->bEndpointAddress | 0-255 |
| USER_DATA | 0 | priv_ep->endpoint.desc->bInterval | 0-255 |
| USER_DATA | 0 | priv_ep->endpoint.desc->bLength | 0-255 |
| USER_DATA | 0 | priv_ep->endpoint.desc->bRefresh | 0-255 |
| USER_DATA | 0 | priv_ep->endpoint.desc->bSynchAddress | 0-255 |
| USER_DATA | 0 | priv_ep->endpoint.desc->bmAttributes | 0-255 |
| USER_DATA | 0 | priv_ep->endpoint.desc->wMaxPacketSize | 1-u16max |
| USER_DATA | 0 | priv_ep->type | 0,2-3[c] |
| USER_PTR | 0 | priv_ep->endpoint.desc | |
| LOCK2 | &priv_dev->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &data->dev->lock | ||
| HALF_LOCKED2 | &data->lock | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &func->ffs->eps_lock | ||
| HALF_LOCKED2 | &port->lock | ||
| HALF_LOCKED2 | &udc->connect_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct cdns3_device)->lock |
drivers/usb/cdns3/cdns3-gadget.c cdns3_gadget_ep_enable() -> cdns3_ep_config()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv_ep | 4096-ptr_max |
| PARAM_VALUE | 0 | priv_ep->cdns3_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv_ep->endpoint.comp_desc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv_ep->endpoint.desc | 4096-ptr_max |
| PARAM_VALUE | 0 | priv_ep->endpoint.desc->bDescriptorType | 5 |
| PARAM_VALUE | 0 | priv_ep->endpoint.desc->wMaxPacketSize | 1-u16max |
| PARAM_VALUE | 0 | priv_ep->type | 0-3 |
| BUF_SIZE | 0 | priv_ep->endpoint.desc | (-1),9 |
| BIT_INFO | 0 | priv_ep->flags | 0x0,0xfffffffe |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | priv_ep->endpoint.desc->bDescriptorType | 5[u] |
| USER_DATA | 0 | priv_ep->endpoint.desc->bEndpointAddress | 0-255 |
| USER_DATA | 0 | priv_ep->endpoint.desc->bInterval | 0-255 |
| USER_DATA | 0 | priv_ep->endpoint.desc->bLength | 0-255 |
| USER_DATA | 0 | priv_ep->endpoint.desc->bRefresh | 0-255 |
| USER_DATA | 0 | priv_ep->endpoint.desc->bSynchAddress | 0-255 |
| USER_DATA | 0 | priv_ep->endpoint.desc->bmAttributes | 0-255 |
| USER_DATA | 0 | priv_ep->endpoint.desc->wMaxPacketSize | 1-u16max |
| USER_DATA | 0 | priv_ep->type | 0,2-3[c] |
| USER_PTR | 0 | priv_ep->endpoint.desc | |
| LOCK2 | &priv_dev->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &data->dev->lock | ||
| HALF_LOCKED2 | &data->lock | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &func->ffs->eps_lock | ||
| HALF_LOCKED2 | &port->lock | ||
| HALF_LOCKED2 | &udc->connect_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct cdns3_device)->lock |
drivers/usb/cdns3/cdns3-ep0.c cdns3_gadget_ep0_queue() -> cdns3_ep_config()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv_ep | 4096-ptr_max |
| PARAM_VALUE | 0 | priv_ep->cdns3_dev->ep0_stage | 2 |
| PARAM_VALUE | 0 | priv_ep->cdns3_dev->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | priv_ep->cdns3_dev->selected_ep | 0 |
| PARAM_VALUE | 1 | enable | 0 |
| BIT_INFO | 0 | priv_ep->flags | 0x100,0xfffffffe |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &priv_dev->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &vhub->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct cdns3_device)->lock |