Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/cdns3/cdnsp-ep0.c cdnsp_ep0_handle_feature_intf() -> cdnsp_ep0_delegate_req()

Type Parameter Key Value
PARAM_VALUE 0 pdev 4096-ptr_max
PARAM_VALUE 0 pdev->cmd.status 0-255
PARAM_VALUE 0 pdev->ep0_expect_in 0-1
PARAM_VALUE 0 pdev->ep0_preq.pep->pdev->dev->dma_io_tlb_mem->can_grow 0-1
PARAM_VALUE 0 pdev->ep0_preq.pep->pdev->dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 pdev->ep0_preq.pep->pdev->dev->kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 pdev->ep0_preq.pep->pdev->dev->kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 pdev->ep0_preq.pep->pdev->dev->kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 pdev->ep0_preq.pep->pdev->segment_pool->size 0-4294967295
PARAM_VALUE 0 pdev->ep0_stage 0
PARAM_VALUE 0 pdev->eps 4096-ptr_max
PARAM_VALUE 0 pdev->event_ring 4096-ptr_max
PARAM_VALUE 0 pdev->event_ring->cycle_state 0-1
PARAM_VALUE 0 pdev->event_ring->dequeue 4096-ptr_max
PARAM_VALUE 0 pdev->gadget.state 1-u32max
PARAM_VALUE 0 pdev->gadget_driver 1-u64max
PARAM_VALUE 0 pdev->setup_id 0-3
PARAM_VALUE 0 pdev->setup_speed 0,128
PARAM_VALUE 0 pdev->three_stage_setup 0-1
PARAM_VALUE 1 ctrl 4096-ptr_max
PARAM_VALUE 1 ctrl->bRequest 1,3
CAPPED_DATA 0 pdev->event_ring->cycle_state 1
DATA_SOURCE 0 pdev $0
DATA_SOURCE 1 ctrl $1
FUZZY_MAX 0 pdev->ep0_expect_in 1
FUZZY_MAX 0 pdev->three_stage_setup 1
BIT_INFO 0 pdev->setup_speed 0x0,0x80
BIT_INFO 1 ctrl->bRequestType 0x0,0x9f
HARD_MAX 0 pdev->ep0_expect_in 1
HARD_MAX 0 pdev->three_stage_setup 1
HARD_MAX 1 ctrl->bRequest 3
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 bh
LOCK2 flags
LOCK2 0 &pdev->lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct cdnsp_device)->lock

drivers/usb/cdns3/cdnsp-ep0.c cdnsp_ep0_handle_status() -> cdnsp_ep0_delegate_req()

Type Parameter Key Value
PARAM_VALUE 0 pdev 4096-ptr_max
PARAM_VALUE 0 pdev->cmd.status 0-255
PARAM_VALUE 0 pdev->ep0_expect_in 0-1
PARAM_VALUE 0 pdev->ep0_preq.pep->pdev->dev->dma_io_tlb_mem->can_grow 0-1
PARAM_VALUE 0 pdev->ep0_preq.pep->pdev->dev->iommu_group->default_domain 0-s64max
PARAM_VALUE 0 pdev->ep0_preq.pep->pdev->segment_pool->size 0-4294967295
PARAM_VALUE 0 pdev->ep0_preq.pep->stream_info.first_prime_det 0-1
PARAM_VALUE 0 pdev->ep0_stage 0
PARAM_VALUE 0 pdev->eps 4096-ptr_max
PARAM_VALUE 0 pdev->event_ring 4096-ptr_max
PARAM_VALUE 0 pdev->event_ring->cycle_state 0-1
PARAM_VALUE 0 pdev->event_ring->dequeue 4096-ptr_max
PARAM_VALUE 0 pdev->gadget.state 1-u32max
PARAM_VALUE 0 pdev->gadget_driver 1-u64max
PARAM_VALUE 0 pdev->out_ctx.ctx_size 32,64
PARAM_VALUE 0 pdev->out_ctx.size 1024,1056,1088,2048,2080,2112
PARAM_VALUE 0 pdev->setup_id 0-3
PARAM_VALUE 0 pdev->setup_speed 0,128
PARAM_VALUE 0 pdev->three_stage_setup 0-1
PARAM_VALUE 1 ctrl 4096-ptr_max
PARAM_VALUE 1 ctrl->bRequest 0
BUF_SIZE 1 ctrl 8
CAPPED_DATA 0 pdev->event_ring->cycle_state 1
DATA_SOURCE 0 pdev $0
DATA_SOURCE 1 ctrl $1
FUZZY_MAX 0 pdev->ep0_expect_in 1
FUZZY_MAX 0 pdev->three_stage_setup 1
BIT_INFO 0 pdev->setup_speed 0x0,0x80
BIT_INFO 1 ctrl->bRequestType 0x0,0x9f
HARD_MAX 0 pdev->ep0_expect_in 1
HARD_MAX 0 pdev->three_stage_setup 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 bh
LOCK2 flags
LOCK2 0 &pdev->lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct cdnsp_device)->lock

drivers/usb/cdns3/cdnsp-ep0.c cdnsp_ep0_set_config() -> cdnsp_ep0_delegate_req()

Type Parameter Key Value
PARAM_VALUE 0 pdev 4096-ptr_max
PARAM_VALUE 0 pdev->cmd.status 0-255
PARAM_VALUE 0 pdev->ep0_expect_in 0-1
PARAM_VALUE 0 pdev->ep0_preq.pep->pdev->dev->dma_io_tlb_mem->can_grow 0-1
PARAM_VALUE 0 pdev->ep0_preq.pep->pdev->dev->iommu_group->default_domain 0-s64max
PARAM_VALUE 0 pdev->ep0_preq.pep->pdev->segment_pool->size 0-4294967295
PARAM_VALUE 0 pdev->ep0_preq.pep->stream_info.first_prime_det 0-1
PARAM_VALUE 0 pdev->ep0_stage 0
PARAM_VALUE 0 pdev->eps 4096-ptr_max
PARAM_VALUE 0 pdev->event_ring 4096-ptr_max
PARAM_VALUE 0 pdev->event_ring->cycle_state 0-1
PARAM_VALUE 0 pdev->event_ring->dequeue 4096-ptr_max
PARAM_VALUE 0 pdev->gadget.state 1-u32max
PARAM_VALUE 0 pdev->gadget_driver 1-u64max
PARAM_VALUE 0 pdev->out_ctx.ctx_size 32,64
PARAM_VALUE 0 pdev->out_ctx.size 1024,1056,1088,2048,2080,2112
PARAM_VALUE 0 pdev->setup_id 0-3
PARAM_VALUE 0 pdev->setup_speed 0,128
PARAM_VALUE 0 pdev->three_stage_setup 0-1
PARAM_VALUE 1 ctrl 4096-ptr_max
PARAM_VALUE 1 ctrl->bRequest 9
BUF_SIZE 1 ctrl 8
CAPPED_DATA 0 pdev->event_ring->cycle_state 1
DATA_SOURCE 0 pdev $0
DATA_SOURCE 1 ctrl $1
FUZZY_MAX 0 pdev->ep0_expect_in 1
FUZZY_MAX 0 pdev->three_stage_setup 1
BIT_INFO 0 pdev->setup_speed 0x0,0x80
BIT_INFO 1 ctrl->bRequestType 0x0,0x9f
HARD_MAX 0 pdev->ep0_expect_in 1
HARD_MAX 0 pdev->three_stage_setup 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 bh
LOCK2 flags
LOCK2 0 &pdev->lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct cdnsp_device)->lock

drivers/usb/cdns3/cdnsp-ep0.c cdnsp_ep0_std_request() -> cdnsp_ep0_delegate_req()

Type Parameter Key Value
PARAM_VALUE 0 pdev 4096-ptr_max
PARAM_VALUE 0 pdev->cmd.status 0-255
PARAM_VALUE 0 pdev->ep0_expect_in 0-1
PARAM_VALUE 0 pdev->ep0_preq.pep->pdev->dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 pdev->ep0_preq.pep->pdev->dev->iommu_group->default_domain 0-s64max
PARAM_VALUE 0 pdev->ep0_preq.pep->stream_info.first_prime_det 0-1
PARAM_VALUE 0 pdev->ep0_stage 0
PARAM_VALUE 0 pdev->eps 4096-ptr_max
PARAM_VALUE 0 pdev->event_ring 4096-ptr_max
PARAM_VALUE 0 pdev->event_ring->cycle_state 0-1
PARAM_VALUE 0 pdev->event_ring->dequeue 4096-ptr_max
PARAM_VALUE 0 pdev->gadget.state 1-u32max
PARAM_VALUE 0 pdev->gadget_driver 1-u64max
PARAM_VALUE 0 pdev->setup_id 0-3
PARAM_VALUE 0 pdev->setup_speed 0,128
PARAM_VALUE 0 pdev->three_stage_setup 0-1
PARAM_VALUE 1 ctrl 4096-ptr_max
PARAM_VALUE 1 ctrl->bRequest 2,4,6-8,10-47,50-255
BUF_SIZE 1 ctrl 8
CAPPED_DATA 0 pdev->event_ring->cycle_state 1
DATA_SOURCE 0 pdev $0
DATA_SOURCE 1 ctrl $1
FUZZY_MAX 0 pdev->ep0_expect_in 1
FUZZY_MAX 0 pdev->three_stage_setup 1
BIT_INFO 0 pdev->setup_speed 0x0,0x80
BIT_INFO 1 ctrl->bRequestType 0x0,0x9f
HARD_MAX 0 pdev->ep0_expect_in 1
HARD_MAX 0 pdev->three_stage_setup 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 bh
LOCK2 flags
LOCK2 0 &pdev->lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct cdnsp_device)->lock

drivers/usb/cdns3/cdnsp-ep0.c cdnsp_setup_analyze() -> cdnsp_ep0_delegate_req()

Type Parameter Key Value
PARAM_VALUE 0 pdev 4096-ptr_max
PARAM_VALUE 0 pdev->cmd.status 0-255
PARAM_VALUE 0 pdev->ep0_expect_in 0-1
PARAM_VALUE 0 pdev->ep0_stage 0
PARAM_VALUE 0 pdev->eps 4096-ptr_max
PARAM_VALUE 0 pdev->event_ring 4096-ptr_max
PARAM_VALUE 0 pdev->event_ring->cycle_state 0-1
PARAM_VALUE 0 pdev->event_ring->dequeue 4096-ptr_max
PARAM_VALUE 0 pdev->gadget.state 1-u32max
PARAM_VALUE 0 pdev->gadget_driver 1-u64max
PARAM_VALUE 0 pdev->setup.bRequestType 32-255
PARAM_VALUE 0 pdev->setup_id 0-3
PARAM_VALUE 0 pdev->setup_speed 0,128
PARAM_VALUE 0 pdev->three_stage_setup 0-1
PARAM_VALUE 1 ctrl 4096-ptr_max
PARAM_VALUE 1 ctrl->bRequestType 32-255
BUF_SIZE 1 ctrl 8
CAPPED_DATA 0 pdev->event_ring->cycle_state 1
DATA_SOURCE 0 pdev $0
FUZZY_MAX 0 pdev->ep0_expect_in 1
FUZZY_MAX 0 pdev->three_stage_setup 1
PARAM_COMPARE 0 &pdev->setup == $1
BIT_INFO 0 pdev->setup_speed 0x0,0x80
HARD_MAX 0 pdev->ep0_expect_in 1
HARD_MAX 0 pdev->three_stage_setup 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 bh
LOCK2 flags
LOCK2 0 &pdev->lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct cdnsp_device)->lock