Defined in 1 files as a function:

Referenced in 2 files:

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