Defined in 1 files as a function:
Referenced in 2 files:
-
drivers/usb/core/hub.c
- line 151
- line 415
- line 428
- line 1119
- line 1175
- line 1216
- line 1231
- line 1253
- line 1290
- line 1354
- line 1499
- line 1516
- line 1537
- line 1547
- line 2615
- line 2955
- line 3026
- line 3051
- line 3071
- line 3123
- line 3198
- line 3251
- line 3283
- line 3552
- line 3834
- line 3857
- line 3926
- line 4006
- line 4664
- line 5290
- line 5464
- line 5497
- line 5821
- line 6526
- drivers/usb/core/port.c
Smatch caller information:
drivers/usb/core/port.c usb_hub_create_port_device() -> hub_is_superspeed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &usb_port_peer_mutex |
drivers/usb/core/port.c usb_port_runtime_resume() -> hub_is_superspeed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
drivers/usb/core/hub.c get_hub_descriptor() -> hub_is_superspeed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| DATA_SOURCE | 0 | hdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/core/hub.c get_hub_descriptor() -> hub_is_superspeed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| DATA_SOURCE | 0 | hdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/core/hub.c hub_activate() -> hub_is_superspeed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/core/hub.c hub_activate() -> hub_is_superspeed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/core/hub.c hub_activate() -> hub_is_superspeed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &hdev->dev.mutex |
drivers/usb/core/hub.c hub_activate() -> hub_is_superspeed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &hdev->dev.mutex |
drivers/usb/core/hub.c hub_activate() -> hub_is_superspeed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->dev.mutex |
drivers/usb/core/hub.c hub_activate() -> hub_is_superspeed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->dev.mutex |
drivers/usb/core/hub.c hub_activate() -> hub_is_superspeed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->dev.mutex |
drivers/usb/core/hub.c hub_configure() -> hub_is_superspeed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/core/hub.c hub_configure() -> hub_is_superspeed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/core/hub.c hub_configure() -> hub_is_superspeed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/core/hub.c hub_configure() -> hub_is_superspeed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/core/hub.c hub_handle_remote_wakeup() -> hub_is_superspeed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| LOCK2 | &hdev->dev.mutex | ||
| LOCK2 | &port_dev->status_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct usb_port)->status_lock |
drivers/usb/core/hub.c hub_port_connect() -> hub_is_superspeed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| CAPPED_DATA | 0 | hdev->maxchild | 1 |
| LOCK2 | &hdev->dev.mutex | ||
| LOCK2 | &port_dev->status_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/usb/core/hub.c hub_port_connect() -> hub_is_superspeed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &hdev->dev.mutex | ||
| LOCK2 | &port_dev->status_lock | ||
| LOCK2 | &port_dev->status_lock | ||
| LOCK2 | hcd->address0_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct usb_port)->status_lock |
drivers/usb/core/hub.c hub_port_disable() -> hub_is_superspeed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &port_dev->status_lock |
drivers/usb/core/hub.c hub_port_reset() -> hub_is_superspeed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->descriptor.bDeviceProtocol | 3 |
| LOCK2 | &hdev->dev.mutex | ||
| LOCK2 | &port_dev->status_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct usb_port)->status_lock |
drivers/usb/core/hub.c hub_port_reset() -> hub_is_superspeed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->descriptor.bDeviceProtocol | 3 |
| LOCK2 | &hdev->dev.mutex | ||
| LOCK2 | &port_dev->status_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &ehci_cf_port_reset_rwsem | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct usb_port)->status_lock |
drivers/usb/core/hub.c hub_port_reset() -> hub_is_superspeed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->descriptor.bDeviceProtocol | 3 |
| LOCK2 | &hdev->dev.mutex | ||
| LOCK2 | &port_dev->status_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &ehci_cf_port_reset_rwsem | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct usb_port)->status_lock |
drivers/usb/core/hub.c hub_port_wait_reset() -> hub_is_superspeed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->descriptor.bDeviceProtocol | 3 |
| CAPPED_DATA | 0 | hdev->maxchild | 1 |
| LOCK2 | &hdev->dev.mutex | ||
| LOCK2 | &port_dev->status_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &ehci_cf_port_reset_rwsem | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct usb_port)->status_lock |
drivers/usb/core/hub.c hub_port_wait_reset() -> hub_is_superspeed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->descriptor.bDeviceProtocol | 3 |
| CAPPED_DATA | 0 | hdev->maxchild | 1 |
| LOCK2 | &hdev->dev.mutex | ||
| LOCK2 | &port_dev->status_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &ehci_cf_port_reset_rwsem | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct usb_port)->status_lock |
drivers/usb/core/hub.c hub_port_warm_reset_required() -> hub_is_superspeed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &port_dev->status_lock |
drivers/usb/core/hub.c hub_power_remaining() -> hub_is_superspeed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 1-u64max |
| LOCK2 | &hdev->dev.mutex | ||
| LOCK2 | &pool->lock | ||
| LOCK2 | &port_dev->status_lock | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/usb/core/hub.c hub_suspend() -> hub_is_superspeed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| CAPPED_DATA | 0 | hdev->maxchild | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/core/hub.c port_event() -> hub_is_superspeed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| LOCK2 | &hdev->dev.mutex | ||
| LOCK2 | &port_dev->status_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct usb_port)->status_lock |
drivers/usb/core/hub.c port_is_suspended() -> hub_is_superspeed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &port_dev->status_lock | ||
| TYPE_LOCK | (struct usb_port)->status_lock |
drivers/usb/core/hub.c portspeed() -> hub_is_superspeed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| CAPPED_DATA | 0 | hdev->maxchild | 1 |
| LOCK2 | &hdev->dev.mutex | ||
| LOCK2 | &port_dev->status_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct usb_port)->status_lock |
drivers/usb/core/hub.c set_usb_port_removable() -> hub_is_superspeed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| HALF_LOCKED2 | &hdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &port_dev->status_lock | ||
| HALF_LOCKED2 | global &usb_bus_idr_lock |
drivers/usb/core/hub.c usb_hub_adjust_deviceremovable() -> hub_is_superspeed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| DATA_SOURCE | 0 | hdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | hdev->maxchild |
drivers/usb/core/hub.c usb_port_is_power_on() -> hub_is_superspeed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->dev.mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &port_dev->status_lock |
drivers/usb/core/hub.c usb_port_resume() -> hub_is_superspeed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &port_dev->status_lock | ||
| TYPE_LOCK | (struct usb_port)->status_lock |
drivers/usb/core/hub.c usb_port_resume() -> hub_is_superspeed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &port_dev->status_lock | ||
| TYPE_LOCK | (struct usb_port)->status_lock |
drivers/usb/core/hub.c usb_port_suspend() -> hub_is_superspeed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &port_dev->status_lock | ||
| TYPE_LOCK | (struct usb_port)->status_lock |