Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/gadget/udc/gr_udc.c gr_setup_in_desc_list() -> gr_add_dma_desc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->dev->driver | 1-u64max |
| PARAM_VALUE | 0 | ep->dev->ep0state | 0-6,8-u32max |
| PARAM_VALUE | 0 | ep->dev->gadget.dev.parent->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->dev->gadget.dev.parent->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->dev->gadget.dev.parent->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->dev->gadget.dev.parent->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | ep->dev->gadget.dev.parent->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | ep->dev->gadget.speed | 1-u32max |
| PARAM_VALUE | 0 | ep->is_in | 1 |
| PARAM_VALUE | 0 | ep->num | 0-15 |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->first_desc | 0,4096-ptr_max |
| PARAM_VALUE | 1 | req->first_desc->ctrl | 8192-16383,32768 |
| PARAM_VALUE | 1 | req->queue.next | 4096-ptr_max |
| PARAM_VALUE | 1 | req->req.buf | 1-u64max |
| PARAM_VALUE | 1 | req->req.dma | 0-18446744073709551614 |
| PARAM_VALUE | 1 | req->req.dma_mapped | 1 |
| PARAM_VALUE | 1 | req->req.sg->dma_flags | 0,2-u32max |
| PARAM_VALUE | 1 | req->req.sg->dma_length | 0 |
| PARAM_VALUE | 4 | gfp_flags | 2080 |
| BUF_SIZE | 0 | ep | (-1),2432 |
| BUF_SIZE | 0 | ep | (-1),2432 |
| CAPPED_DATA | 3 | size | 1 |
| DATA_SOURCE | 0 | ep | $0 |
| DATA_SOURCE | 1 | req | $1 |
| DATA_SOURCE | 4 | gfp_flags | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | size | unit_byte |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | 0 | &ep->dev->lock | |
| TYPE_LOCK | (struct gr_udc)->lock |
drivers/usb/gadget/udc/gr_udc.c gr_setup_in_desc_list() -> gr_add_dma_desc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->dev->desc_pool | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->dev->desc_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ep->dev->desc_pool->size | 0-s32max |
| PARAM_VALUE | 0 | ep->dev->driver | 1-u64max |
| PARAM_VALUE | 0 | ep->dev->ep0state | 0-6,8-u32max |
| PARAM_VALUE | 0 | ep->dev->gadget.dev.parent->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->dev->gadget.dev.parent->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->dev->gadget.dev.parent->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->dev->gadget.dev.parent->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | ep->dev->gadget.dev.parent->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | ep->dev->gadget.speed | 1-u32max |
| PARAM_VALUE | 0 | ep->is_in | 1 |
| PARAM_VALUE | 0 | ep->num | 0-15 |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->first_desc | 4096-ptr_max |
| PARAM_VALUE | 1 | req->first_desc->ctrl | 8192-16383,32768 |
| PARAM_VALUE | 1 | req->last_desc | 4096-ptr_max |
| PARAM_VALUE | 1 | req->last_desc->ctrl | 8192-16383,32768 |
| PARAM_VALUE | 1 | req->queue.next | 4096-ptr_max |
| PARAM_VALUE | 1 | req->req.buf | 1-u64max |
| PARAM_VALUE | 1 | req->req.dma | 0-18446744073709551614 |
| PARAM_VALUE | 1 | req->req.dma_mapped | 1 |
| PARAM_VALUE | 1 | req->req.sg->dma_flags | 0,2-u32max |
| PARAM_VALUE | 1 | req->req.sg->dma_length | 0 |
| PARAM_VALUE | 1 | req->req.zero | 1 |
| PARAM_VALUE | 2 | data | 0 |
| PARAM_VALUE | 3 | size | 0 |
| PARAM_VALUE | 4 | gfp_flags | 2080 |
| BUF_SIZE | 0 | ep | (-1),2432 |
| BUF_SIZE | 0 | ep | (-1),2432 |
| CAPPED_DATA | 0 | ep->dev->desc_pool->size | 1 |
| DATA_SOURCE | 0 | ep | $0 |
| DATA_SOURCE | 1 | req | $1 |
| DATA_SOURCE | 4 | gfp_flags | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | 0 | &ep->dev->lock | |
| TYPE_LOCK | (struct gr_udc)->lock |
drivers/usb/gadget/udc/gr_udc.c gr_setup_out_desc_list() -> gr_add_dma_desc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->dev->driver | 1-u64max |
| PARAM_VALUE | 0 | ep->dev->ep0state | 0-6,8-u32max |
| PARAM_VALUE | 0 | ep->dev->gadget.dev.parent->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->dev->gadget.dev.parent->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->dev->gadget.dev.parent->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->dev->gadget.dev.parent->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | ep->dev->gadget.dev.parent->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | ep->dev->gadget.speed | 1-u32max |
| PARAM_VALUE | 0 | ep->is_in | 0 |
| PARAM_VALUE | 0 | ep->num | 0-15 |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->first_desc | 0,4096-ptr_max |
| PARAM_VALUE | 1 | req->first_desc->ctrl | 8192-16383,32768 |
| PARAM_VALUE | 1 | req->queue.next | 4096-ptr_max |
| PARAM_VALUE | 1 | req->req.buf | 1-u64max |
| PARAM_VALUE | 1 | req->req.dma | 0-18446744073709551614 |
| PARAM_VALUE | 1 | req->req.dma_mapped | 1 |
| PARAM_VALUE | 1 | req->req.sg->dma_flags | 0,2-u32max |
| PARAM_VALUE | 1 | req->req.sg->dma_length | 0 |
| PARAM_VALUE | 4 | gfp_flags | 2080 |
| BUF_SIZE | 0 | ep | (-1),2432 |
| BUF_SIZE | 0 | ep | (-1),2432 |
| CAPPED_DATA | 3 | size | 1 |
| DATA_SOURCE | 0 | ep | $0 |
| DATA_SOURCE | 1 | req | $1 |
| DATA_SOURCE | 4 | gfp_flags | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | size | unit_byte |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | 0 | &ep->dev->lock | |
| TYPE_LOCK | (struct gr_udc)->lock |