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_set_link_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | link_state | 0 |
| 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_set_link_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | port->port_reg | 4096-ptr_max |
| PARAM_VALUE | 1 | port->resume_timestamp | 0 |
| PARAM_VALUE | 1 | port->rexit_active | 1 |
| PARAM_VALUE | 1 | port->rexit_done.done | 0 |
| PARAM_VALUE | 1 | port->rhub | 4096-ptr_max |
| PARAM_VALUE | 1 | port->rhub->hcd | 4096-ptr_max |
| PARAM_VALUE | 2 | link_state | 0 |
| DATA_SOURCE | 0 | xhci | r hcd_to_xhci |
| DATA_SOURCE | 1 | port | $0 |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | &xhci->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct xhci_hcd)->lock |
drivers/usb/host/xhci-hub.c xhci_hub_control() -> xhci_set_link_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | port->port_reg | 4096-ptr_max |
| PARAM_VALUE | 2 | link_state | 0 |
| 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-hub.c xhci_hub_control() -> xhci_set_link_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xhci | 4096-ptr_max |
| PARAM_VALUE | 0 | xhci->devs | 4096-ptr_max |
| PARAM_VALUE | 0 | xhci->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | port->port_reg | 4096-ptr_max |
| PARAM_VALUE | 1 | port->slot_id | s32min-(-1),1-s32max |
| PARAM_VALUE | 2 | link_state | 96 |
| 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-hub.c xhci_hub_control() -> xhci_set_link_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | port->port_reg | 4096-ptr_max |
| PARAM_VALUE | 2 | link_state | 160 |
| 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-hub.c xhci_hub_control() -> xhci_set_link_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xhci | 4096-ptr_max |
| PARAM_VALUE | 1 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | port->port_reg | 4096-ptr_max |
| PARAM_VALUE | 2 | link_state | 320 |
| DATA_SOURCE | 0 | xhci | r hcd_to_xhci |
| BIT_INFO | 0 | xhci->hcc_params2 | 0x8,0xffffffffffffffff |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &xhci->lock | |
| TYPE_LOCK | (struct xhci_hcd)->lock |
drivers/usb/host/xhci-hub.c xhci_hub_control() -> xhci_set_link_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | port->port_reg | 4096-ptr_max |
| PARAM_VALUE | 2 | link_state | 0 |
| 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-hub.c xhci_hub_control() -> xhci_set_link_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | port->port_reg | 4096-ptr_max |
| PARAM_VALUE | 2 | link_state | 96 |
| 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-hub.c xhci_hub_control() -> xhci_set_link_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | port->port_reg | 4096-ptr_max |
| PARAM_VALUE | 2 | link_state | 480 |
| 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-hub.c xhci_hub_control() -> xhci_set_link_state()
| 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 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | port->port_reg | 4096-ptr_max |
| PARAM_VALUE | 2 | link_state | 0 |
| 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_set_link_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xhci | 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 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | port->hcd_portnum | s32min-254,256-s32max |
| PARAM_VALUE | 1 | port->port_reg | 4096-ptr_max |
| PARAM_VALUE | 1 | port->rhub | 4096-ptr_max |
| PARAM_VALUE | 1 | port->rhub->hcd | 4096-ptr_max |
| PARAM_VALUE | 2 | link_state | 0 |
| CAPPED_DATA | 1 | port->rhub | 1 |
| 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 |