Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/host/xhci-ring.c handle_tx_event() -> xhci_get_virt_ep()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xhci | 4096-ptr_max |
| PARAM_VALUE | 0 | xhci->interrupters | 4096-ptr_max |
| PARAM_VALUE | 0 | xhci->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | xhci->op_regs | 4096-ptr_max |
| PARAM_VALUE | 1 | slot_id | 0-255 |
| PARAM_VALUE | 2 | ep_index | 0-30,u32max |
| DATA_SOURCE | 0 | xhci | $0 |
| BIT_INFO | 0 | xhci->xhc_state | 0x0,0xfffffffc |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &xhci->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct xhci_hcd)->lock |
drivers/usb/host/xhci-ring.c xhci_handle_cmd_reset_ep() -> xhci_get_virt_ep()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xhci | 4096-ptr_max |
| PARAM_VALUE | 0 | xhci->cmd_ring | 4096-ptr_max |
| PARAM_VALUE | 0 | xhci->cmd_ring->deq_seg | 4096-ptr_max |
| PARAM_VALUE | 0 | xhci->cmd_ring->dequeue | 4096-ptr_max |
| PARAM_VALUE | 0 | xhci->cmd_ring->dequeue->generic.field | 4096-ptr_max |
| PARAM_VALUE | 0 | xhci->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | slot_id | 0-255 |
| PARAM_VALUE | 2 | ep_index | 0-30,u32max |
| CAPPED_DATA | 0 | xhci->cmd_ring->deq_seg->trbs | 1 |
| CAPPED_DATA | 0 | xhci->cmd_ring->dequeue | 1 |
| CAPPED_DATA | 1 | slot_id | 1 |
| DATA_SOURCE | 0 | xhci | $0 |
| DATA_SOURCE | 1 | slot_id | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &xhci->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct xhci_hcd)->lock |
drivers/usb/host/xhci-ring.c xhci_handle_cmd_set_deq() -> xhci_get_virt_ep()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xhci | 4096-ptr_max |
| PARAM_VALUE | 0 | xhci->cmd_ring | 4096-ptr_max |
| PARAM_VALUE | 0 | xhci->cmd_ring->deq_seg | 4096-ptr_max |
| PARAM_VALUE | 0 | xhci->cmd_ring->dequeue | 4096-ptr_max |
| PARAM_VALUE | 0 | xhci->cmd_ring->dequeue->generic.field | 4096-ptr_max |
| PARAM_VALUE | 0 | xhci->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | slot_id | 0-255 |
| PARAM_VALUE | 2 | ep_index | 0-30,u32max |
| CAPPED_DATA | 0 | xhci->cmd_ring->deq_seg->trbs | 1 |
| CAPPED_DATA | 0 | xhci->cmd_ring->dequeue | 1 |
| CAPPED_DATA | 1 | slot_id | 1 |
| DATA_SOURCE | 0 | xhci | $0 |
| DATA_SOURCE | 1 | slot_id | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &xhci->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct xhci_hcd)->lock |
drivers/usb/host/xhci-ring.c xhci_handle_cmd_stop_ep() -> xhci_get_virt_ep()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xhci | 4096-ptr_max |
| PARAM_VALUE | 0 | xhci->cmd_ring | 4096-ptr_max |
| PARAM_VALUE | 0 | xhci->cmd_ring->deq_seg | 4096-ptr_max |
| PARAM_VALUE | 0 | xhci->cmd_ring->dequeue | 4096-ptr_max |
| PARAM_VALUE | 0 | xhci->cmd_ring->dequeue->generic.field | 4096-ptr_max |
| PARAM_VALUE | 0 | xhci->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | slot_id | 0-255 |
| PARAM_VALUE | 2 | ep_index | 0-30,u32max |
| CAPPED_DATA | 0 | xhci->cmd_ring->deq_seg->trbs | 1 |
| CAPPED_DATA | 0 | xhci->cmd_ring->dequeue | 1 |
| CAPPED_DATA | 1 | slot_id | 1 |
| DATA_SOURCE | 0 | xhci | $0 |
| DATA_SOURCE | 1 | slot_id | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &xhci->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct xhci_hcd)->lock |
drivers/usb/host/xhci-ring.c xhci_handle_command_timeout() -> xhci_get_virt_ep()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xhci | 4096-ptr_max |
| PARAM_VALUE | 0 | xhci->current_cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | xhci->current_cmd->command_trb | 4096-ptr_max |
| PARAM_VALUE | 0 | xhci->current_cmd->command_trb->generic.field | 4096-ptr_max |
| PARAM_VALUE | 0 | xhci->op_regs | 4096-ptr_max |
| PARAM_VALUE | 1 | slot_id | 0-255 |
| PARAM_VALUE | 2 | ep_index | 0-30,u32max |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | flags | ||
| LOCK2 | 0 | &xhci->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct xhci_hcd)->lock |
drivers/usb/host/xhci-ring.c xhci_kill_endpoint_urbs() -> xhci_get_virt_ep()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xhci | 4096-ptr_max |
| PARAM_VALUE | 0 | xhci->current_cmd | 0 |
| PARAM_VALUE | 0 | xhci->devs | 4096-ptr_max |
| PARAM_VALUE | 1 | slot_id | 0-255 |
| PARAM_VALUE | 2 | ep_index | 0-30 |
| CAPPED_DATA | 1 | slot_id | 1 |
| DATA_SOURCE | 0 | xhci | $0 |
| DATA_SOURCE | 1 | slot_id | $1 |
| DATA_SOURCE | 2 | ep_index | $2 |
| BIT_INFO | 0 | xhci->xhc_state | 0x1,0xffffffffffffffff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &xhci->lock | |
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct xhci_hcd)->lock |
drivers/usb/host/xhci-ring.c xhci_triad_to_transfer_ring() -> xhci_get_virt_ep()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | xhci | $0 |
| DATA_SOURCE | 1 | slot_id | $1 |
| DATA_SOURCE | 2 | ep_index | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &xhci->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | 0 | &xhci->lock | |
| TYPE_LOCK | (struct xhci_hcd)->lock |