Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/usb/dwc2/hcd_ddma.c dwc2_complete_non_isoc_xfer_ddma() -> dwc2_hcd_save_data_toggle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hsotg | 4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->dev->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | hsotg->hc_ptr_array | 4096-ptr_max |
| PARAM_VALUE | 1 | chan | 4096-ptr_max |
| PARAM_VALUE | 1 | chan->ep_type | 0,2-3 |
| PARAM_VALUE | 1 | chan->halt_status | 0-12,14-u32max |
| PARAM_VALUE | 1 | chan->qh | 1-u64max |
| PARAM_VALUE | 1 | chan->qh->ep_type | 1-255 |
| PARAM_VALUE | 2 | chnum | 0-255 |
| PARAM_VALUE | 3 | qtd | 0 |
| CAPPED_DATA | 2 | chnum | 1 |
| DATA_SOURCE | 0 | hsotg | $0 |
| DATA_SOURCE | 1 | chan | $1 |
| DATA_SOURCE | 2 | chnum | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | chan->hcint | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | hsotg->unaligned_cache->object_size | |
| LOCK2 | 0 | &hsotg->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct dwc2_hsotg)->lock |
drivers/usb/dwc2/hcd_ddma.c dwc2_process_non_isoc_desc() -> dwc2_hcd_save_data_toggle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hsotg | 4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->dev->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | hsotg->dev->flags | 4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | hsotg->dev->iommu_group->default_domain | 0-s64max |
| PARAM_VALUE | 0 | hsotg->dev->kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | hsotg->dev->kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | hsotg->dev->kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | hsotg->hc_ptr_array | 4096-ptr_max |
| PARAM_VALUE | 1 | chan | 4096-ptr_max |
| PARAM_VALUE | 1 | chan->ep_type | 0,2-3 |
| PARAM_VALUE | 1 | chan->halt_status | 0-12,14-u32max |
| PARAM_VALUE | 1 | chan->qh | 4096-ptr_max |
| PARAM_VALUE | 1 | chan->qh->desc_list | 4096-ptr_max |
| PARAM_VALUE | 1 | chan->qh->ep_type | 0 |
| PARAM_VALUE | 1 | chan->qh->n_bytes | 4096-ptr_max |
| PARAM_VALUE | 2 | chnum | 0-255 |
| PARAM_VALUE | 3 | qtd | 4096-ptr_max |
| PARAM_VALUE | 3 | qtd->control_phase | 1 |
| PARAM_VALUE | 3 | qtd->urb | 1-u64max |
| PARAM_VALUE | 3 | qtd->urb->status | 0,4294967181,4294967221,4294967225,4294967264,4294967291 |
| CAPPED_DATA | 2 | chnum | 1 |
| CAPPED_DATA | 3 | qtd->n_desc | 1 |
| DATA_SOURCE | 0 | hsotg | $0 |
| DATA_SOURCE | 1 | chan | $1 |
| DATA_SOURCE | 2 | chnum | $2 |
| DATA_SOURCE | 3 | qtd | $3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | chan->hcint | 0-u32max |
| LOCK2 | 0 | &hsotg->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct dwc2_hsotg)->lock |
drivers/usb/dwc2/hcd_intr.c dwc2_hc_chhltd_intr_dma() -> dwc2_hcd_save_data_toggle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hsotg | 4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->dev->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | hsotg->dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | hsotg->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | hsotg->hc_ptr_array | 4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hsotg->params.host_dma | 1 |
| PARAM_VALUE | 1 | chan | 4096-ptr_max |
| PARAM_VALUE | 1 | chan->ep_type | 0,2 |
| PARAM_VALUE | 1 | chan->halt_status | 0-12,14-u32max |
| PARAM_VALUE | 1 | chan->qh | 4096-ptr_max |
| PARAM_VALUE | 2 | chnum | 0-255 |
| PARAM_VALUE | 3 | qtd | 4096-ptr_max |
| PARAM_VALUE | 3 | qtd->urb | 4096-ptr_max |
| CAPPED_DATA | 2 | chnum | 1 |
| CAPPED_DATA | 3 | qtd->urb->length | 1 |
| DATA_SOURCE | 0 | hsotg | $0 |
| DATA_SOURCE | 1 | chan | $1 |
| DATA_SOURCE | 2 | chnum | $2 |
| DATA_SOURCE | 3 | qtd | $3 |
| FUZZY_MAX | 1 | chan->ep_type | 2 |
| FUZZY_MAX | 1 | chan->halt_status | 11 |
| BIT_INFO | 1 | chan->hcint | 0x0,0xfffffcf6 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | chan->hcint | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | hsotg->unaligned_cache->object_size | |
| LOCK2 | 0 | &hsotg->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct dwc2_hsotg)->lock |
drivers/usb/dwc2/hcd_intr.c dwc2_hc_nak_intr() -> dwc2_hcd_save_data_toggle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hsotg | 4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->dev->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | hsotg->hc_ptr_array | 4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | chan | 4096-ptr_max |
| PARAM_VALUE | 1 | chan->do_split | 0 |
| PARAM_VALUE | 1 | chan->qh | 4096-ptr_max |
| PARAM_VALUE | 1 | chan->qh->ping_state | 0 |
| PARAM_VALUE | 2 | chnum | 0-255 |
| PARAM_VALUE | 3 | qtd | 4096-ptr_max |
| PARAM_VALUE | 3 | qtd->error_count | 0 |
| PARAM_VALUE | 3 | qtd->urb | 4096-ptr_max |
| CAPPED_DATA | 2 | chnum | 1 |
| CAPPED_DATA | 3 | qtd | 1 |
| DATA_SOURCE | 0 | hsotg | $0 |
| DATA_SOURCE | 1 | chan | $1 |
| DATA_SOURCE | 2 | chnum | $2 |
| DATA_SOURCE | 3 | qtd | $3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | chan->hcint | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | hsotg->unaligned_cache->object_size | |
| LOCK2 | 0 | &hsotg->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct dwc2_hsotg)->lock |
drivers/usb/dwc2/hcd_intr.c dwc2_hc_nyet_intr() -> dwc2_hcd_save_data_toggle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hsotg | 4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->dev->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | hsotg->hc_ptr_array | 4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | chan | 4096-ptr_max |
| PARAM_VALUE | 1 | chan->qh | 4096-ptr_max |
| PARAM_VALUE | 1 | chan->qh->ping_state | 1 |
| PARAM_VALUE | 2 | chnum | 0-255 |
| PARAM_VALUE | 3 | qtd | 4096-ptr_max |
| PARAM_VALUE | 3 | qtd->error_count | 0 |
| PARAM_VALUE | 3 | qtd->urb | 4096-ptr_max |
| CAPPED_DATA | 2 | chnum | 1 |
| CAPPED_DATA | 3 | qtd | 1 |
| DATA_SOURCE | 0 | hsotg | $0 |
| DATA_SOURCE | 1 | chan | $1 |
| DATA_SOURCE | 2 | chnum | $2 |
| DATA_SOURCE | 3 | qtd | $3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | chan->hcint | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | hsotg->unaligned_cache->object_size | |
| LOCK2 | 0 | &hsotg->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct dwc2_hsotg)->lock |
drivers/usb/dwc2/hcd_intr.c dwc2_hc_xacterr_intr() -> dwc2_hcd_save_data_toggle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hsotg | 4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->dev->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | hsotg->hc_ptr_array | 4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hsotg->params.dma_desc_enable | 0 |
| PARAM_VALUE | 1 | chan | 4096-ptr_max |
| PARAM_VALUE | 1 | chan->qh | 4096-ptr_max |
| PARAM_VALUE | 1 | chan->qh->ping_state | 0 |
| PARAM_VALUE | 2 | chnum | 0-255 |
| PARAM_VALUE | 3 | qtd | 4096-ptr_max |
| PARAM_VALUE | 3 | qtd->urb | 4096-ptr_max |
| CAPPED_DATA | 2 | chnum | 1 |
| CAPPED_DATA | 3 | qtd | 1 |
| DATA_SOURCE | 0 | hsotg | $0 |
| DATA_SOURCE | 1 | chan | $1 |
| DATA_SOURCE | 2 | chnum | $2 |
| DATA_SOURCE | 3 | qtd | $3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | chan->hcint | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | hsotg->unaligned_cache->object_size | |
| LOCK2 | 0 | &hsotg->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct dwc2_hsotg)->lock |
drivers/usb/dwc2/hcd_intr.c dwc2_hc_xfercomp_intr() -> dwc2_hcd_save_data_toggle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hsotg | 4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->dev->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | hsotg->hc_ptr_array | 4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hsotg->params.dma_desc_enable | 0 |
| PARAM_VALUE | 1 | chan | 4096-ptr_max |
| PARAM_VALUE | 1 | chan->qh | 4096-ptr_max |
| PARAM_VALUE | 2 | chnum | 0-255 |
| PARAM_VALUE | 3 | qtd | 4096-ptr_max |
| PARAM_VALUE | 3 | qtd->control_phase | 1 |
| PARAM_VALUE | 3 | qtd->urb | 4096-ptr_max |
| PARAM_VALUE | 3 | qtd->urb->flags | 2-u32max |
| CAPPED_DATA | 2 | chnum | 1 |
| DATA_SOURCE | 0 | hsotg | $0 |
| DATA_SOURCE | 1 | chan | $1 |
| DATA_SOURCE | 2 | chnum | $2 |
| DATA_SOURCE | 3 | qtd | $3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | chan->hcint | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | hsotg->unaligned_cache->object_size | |
| LOCK2 | 0 | &hsotg->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct dwc2_hsotg)->lock |
drivers/usb/dwc2/hcd_intr.c dwc2_hc_xfercomp_intr() -> dwc2_hcd_save_data_toggle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hsotg | 4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->dev->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | hsotg->hc_ptr_array | 4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hsotg->params.dma_desc_enable | 0 |
| PARAM_VALUE | 1 | chan | 4096-ptr_max |
| PARAM_VALUE | 1 | chan->qh | 4096-ptr_max |
| PARAM_VALUE | 2 | chnum | 0-255 |
| PARAM_VALUE | 3 | qtd | 4096-ptr_max |
| PARAM_VALUE | 3 | qtd->urb | 0,4096-ptr_max |
| PARAM_VALUE | 3 | qtd->urb->flags | 2-u32max |
| CAPPED_DATA | 2 | chnum | 1 |
| DATA_SOURCE | 0 | hsotg | $0 |
| DATA_SOURCE | 1 | chan | $1 |
| DATA_SOURCE | 2 | chnum | $2 |
| DATA_SOURCE | 3 | qtd | $3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | chan->hcint | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | hsotg->unaligned_cache->object_size | |
| LOCK2 | 0 | &hsotg->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct dwc2_hsotg)->lock |
drivers/usb/dwc2/hcd_intr.c dwc2_hc_xfercomp_intr() -> dwc2_hcd_save_data_toggle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hsotg | 4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->dev->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | hsotg->hc_ptr_array | 4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hsotg->params.dma_desc_enable | 0 |
| PARAM_VALUE | 1 | chan | 4096-ptr_max |
| PARAM_VALUE | 1 | chan->qh | 4096-ptr_max |
| PARAM_VALUE | 2 | chnum | 0-255 |
| PARAM_VALUE | 3 | qtd | 4096-ptr_max |
| PARAM_VALUE | 3 | qtd->urb | 0,4096-ptr_max |
| PARAM_VALUE | 3 | qtd->urb->flags | 2-u32max |
| CAPPED_DATA | 2 | chnum | 1 |
| DATA_SOURCE | 0 | hsotg | $0 |
| DATA_SOURCE | 1 | chan | $1 |
| DATA_SOURCE | 2 | chnum | $2 |
| DATA_SOURCE | 3 | qtd | $3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | chan->hcint | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | hsotg->unaligned_cache->object_size | |
| LOCK2 | 0 | &hsotg->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct dwc2_hsotg)->lock |