Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/usb/host/xhci-hub.c xhci_bus_resume() -> xhci_ring_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | slot_id | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | xhci | r hcd_to_xhci |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &xhci->lock | |
| TYPE_LOCK | (struct xhci_hcd)->lock |
drivers/usb/host/xhci-hub.c xhci_handle_usb2_port_link_resume() -> xhci_ring_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xhci | 4096-ptr_max |
| PARAM_VALUE | 0 | xhci->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | slot_id | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | xhci | r hcd_to_xhci |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | &xhci->lock | ||
| LOCK2 | *flags | ||
| LOCK2 | flags | ||
| LOCK2 | 0 | &xhci->lock | |
| TYPE_LOCK | (struct xhci_hcd)->lock |
drivers/usb/host/xhci-hub.c xhci_hub_control() -> xhci_ring_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | slot_id | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | xhci | r hcd_to_xhci |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &xhci->lock | |
| TYPE_LOCK | (struct xhci_hcd)->lock |
drivers/usb/host/xhci-ring.c handle_port_status() -> xhci_ring_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xhci | 4096-ptr_max |
| PARAM_VALUE | 0 | xhci->devs | 4096-ptr_max |
| PARAM_VALUE | 0 | xhci->hw_ports | 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->max_ports | 1-255 |
| PARAM_VALUE | 0 | xhci->op_regs | 4096-ptr_max |
| PARAM_VALUE | 1 | slot_id | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | xhci | $0 |
| BIT_INFO | 0 | xhci->xhc_state | 0x0,0xfffffffc |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &xhci->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct xhci_hcd)->lock |