Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 3 files:
- drivers/usb/core/port.c, line 35
- drivers/usb/core/usb-acpi.c, line 38
- drivers/usb/host/xhci-hub.c, line 669
Smatch caller information:
drivers/usb/core/port.c usb_port_allow_power_off() -> usb_acpi_power_manageable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->actconfig | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->descriptor.bNumConfigurations | 0-1 |
| PARAM_VALUE | 0 | hdev->dev.power.autosuspend_delay | s32min-0 |
| PARAM_VALUE | 0 | hdev->level | 0-5,7-255 |
| PARAM_VALUE | 0 | hdev->parent | 0 |
| PARAM_VALUE | 1 | index | 0-30 |
| CAPPED_DATA | 1 | index | 1 |
| DATA_SOURCE | 0 | hdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &usb_port_peer_mutex |
drivers/usb/host/xhci-hub.c xhci_set_port_power() -> usb_acpi_power_manageable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| UNITS | 1 | index | unit_array_size |
| LOCK2 | flags |