Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/usb/dwc2/core.h, line 1527 (as a function)
- drivers/usb/dwc2/hcd.c, line 3775 (as a function)
Referenced in 4 files:
- drivers/usb/dwc2/hcd.c, line 4530
- drivers/usb/dwc2/hcd_ddma.c
- drivers/usb/dwc2/hcd_intr.c
- drivers/usb/dwc2/hcd_queue.c
Smatch caller information:
drivers/usb/dwc2/hcd_ddma.c dwc2_calc_starting_frame() -> dwc2_hcd_get_frame_number()
| 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->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | hsotg->dev->iommu->pci_32bit_workaround | 0-1 |
| 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->gadget.dev.kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | hsotg->gadget.dev.kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | hsotg->gadget.dev.kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | hsotg->params.dma_desc_enable | 1 |
| PARAM_VALUE | 0 | hsotg->params.host_dma | 1 |
| PARAM_VALUE | 0 | hsotg->wq_otg->flags | 0-4294967295 |
| PARAM_VALUE | 0 | hsotg->wq_otg->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | hsotg->wq_otg->nr_drainers | s32min-s32max |
| PARAM_VALUE | 0 | hsotg->wq_otg->work_color | s32min-s32max |
| PARAM_VALUE | 0 | hsotg->wq_otg->wq_dev | 0-s64max |
| DATA_SOURCE | 0 | hsotg | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &hsotg->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct dwc2_hsotg)->lock |
drivers/usb/dwc2/hcd_ddma.c dwc2_cmpl_host_isoc_dma_desc() -> dwc2_hcd_get_frame_number()
| 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 |
| DATA_SOURCE | 0 | hsotg | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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_init_isoc_dma_desc() -> dwc2_hcd_get_frame_number()
| 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->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->gadget.dev.kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | hsotg->gadget.dev.kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | hsotg->gadget.dev.kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | hsotg->params.dma_desc_enable | 1 |
| PARAM_VALUE | 0 | hsotg->params.host_dma | 1 |
| PARAM_VALUE | 0 | hsotg->wq_otg->flags | 0-4294967295 |
| PARAM_VALUE | 0 | hsotg->wq_otg->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | hsotg->wq_otg->nr_drainers | s32min-s32max |
| PARAM_VALUE | 0 | hsotg->wq_otg->work_color | s32min-s32max |
| PARAM_VALUE | 0 | hsotg->wq_otg->wq_dev | 0-s64max |
| DATA_SOURCE | 0 | hsotg | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &hsotg->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct dwc2_hsotg)->lock |
drivers/usb/dwc2/hcd_queue.c dwc2_hcd_qh_deactivate() -> dwc2_hcd_get_frame_number()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hsotg | 4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->dev->dma_io_tlb_mem->can_grow | 0-1 |
| DATA_SOURCE | 0 | hsotg | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &hsotg->lock | |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct dwc2_hsotg)->lock |
drivers/usb/dwc2/hcd_queue.c dwc2_pick_first_frame() -> dwc2_hcd_get_frame_number()
| 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->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->gadget.dev.kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | hsotg->gadget.dev.kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | hsotg->gadget.dev.kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | hsotg->wq_otg->flags | 0-4294967295 |
| PARAM_VALUE | 0 | hsotg->wq_otg->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | hsotg->wq_otg->nr_drainers | s32min-s32max |
| PARAM_VALUE | 0 | hsotg->wq_otg->work_color | s32min-s32max |
| PARAM_VALUE | 0 | hsotg->wq_otg->wq_dev | 0-s64max |
| DATA_SOURCE | 0 | hsotg | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &hsotg->lock | |
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct dwc2_hsotg)->lock |
drivers/usb/dwc2/hcd.c _dwc2_hcd_get_frame_number() -> dwc2_hcd_get_frame_number()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | hsotg | r dwc2_hcd_to_hsotg |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &subs->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/usb/dwc2/hcd_intr.c dwc2_hc_nyet_intr() -> dwc2_hcd_get_frame_number()
| 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.uframe_sched | 0 |
| DATA_SOURCE | 0 | hsotg | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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_sof_intr() -> dwc2_hcd_get_frame_number()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hsotg | 4096-ptr_max |
| PARAM_VALUE | 0 | hsotg->lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | hsotg | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |