Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/cdns3/cdns3-gadget.c cdns3_ep_run_transfer() -> cdns3_get_dma_pos()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv_dev->regs | 4096-ptr_max |
| PARAM_VALUE | 1 | priv_ep | 4096-ptr_max |
| CAPPED_DATA | 1 | priv_ep->cdns3_dev->selected_ep | 1 |
| DATA_SOURCE | 1 | priv_ep | $0 |
| BIT_INFO | 1 | priv_ep->flags | 0x40,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &priv_dev->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct cdns3_device)->lock |
drivers/usb/cdns3/cdns3-gadget.c cdns3_transfer_completed() -> cdns3_get_dma_pos()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv_dev->regs | 4096-ptr_max |
| PARAM_VALUE | 1 | priv_ep | 4096-ptr_max |
| CAPPED_DATA | 1 | &priv_ep->pending_req_list | 1 |
| DATA_SOURCE | 0 | priv_dev | $0 |
| DATA_SOURCE | 1 | priv_ep | $1 |
| PARAM_COMPARE | 1 | &priv_ep->pending_req_list | != $1->pending_req_list.next |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &priv_dev->lock | ||
| LOCK2 | bh | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct cdns3_device)->lock |
drivers/usb/cdns3/cdns3-gadget.c cdns3_trb_handled() -> cdns3_get_dma_pos()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv_dev->regs | 4096-ptr_max |
| PARAM_VALUE | 1 | priv_ep | 4096-ptr_max |
| DATA_SOURCE | 1 | priv_ep | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &priv_dev->lock | ||
| LOCK2 | bh | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct cdns3_device)->lock |
drivers/usb/cdns3/cdns3-gadget.c cdns3_wa1_tray_restore_cycle_bit() -> cdns3_get_dma_pos()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv_dev->regs | 4096-ptr_max |
| PARAM_VALUE | 1 | priv_ep | 4096-ptr_max |
| CAPPED_DATA | 1 | priv_ep->cdns3_dev->selected_ep | 1 |
| DATA_SOURCE | 0 | priv_dev | $0 |
| DATA_SOURCE | 1 | priv_ep | $1 |
| BIT_INFO | 1 | priv_ep->flags | 0x40,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &priv_dev->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct cdns3_device)->lock |