Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/host/xhci.c xhci_add_endpoint() -> xhci_get_endpoint_flag()

Type Parameter Key Value
PARAM_VALUE 0 desc 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 hcd->bandwidth_mutex
HALF_LOCKED2 &udev->dev.mutex

drivers/usb/host/xhci.c xhci_calculate_no_streams_bitmask() -> xhci_get_endpoint_flag()

Type Parameter Key Value
PARAM_VALUE 0 desc 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &xhci->lock
LOCK2 flags
HALF_LOCKED2 &dev->dev.mutex
TYPE_LOCK (struct xhci_hcd)->lock

drivers/usb/host/xhci.c xhci_calculate_streams_and_bitmask() -> xhci_get_endpoint_flag()

Type Parameter Key Value
PARAM_VALUE 0 desc 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &xhci->lock
LOCK2 flags
HALF_LOCKED2 &dev->dev.mutex
TYPE_LOCK (struct xhci_hcd)->lock

drivers/usb/host/xhci.c xhci_drop_endpoint() -> xhci_get_endpoint_flag()

Type Parameter Key Value
PARAM_VALUE 0 desc 1-u64max
RX_PATH
TASK_NOT_RUNNING
LOCK2 hcd->bandwidth_mutex
HALF_LOCKED2 &udev->dev.mutex

drivers/usb/host/xhci.c xhci_drop_endpoint() -> xhci_get_endpoint_flag()

Type Parameter Key Value
PARAM_VALUE 0 desc 1-u64max
RX_PATH
TASK_NOT_RUNNING
LOCK2 hcd->bandwidth_mutex
HALF_LOCKED2 &udev->dev.mutex

drivers/usb/host/xhci.c xhci_endpoint_reset() -> xhci_get_endpoint_flag()

Type Parameter Key Value
PARAM_VALUE 0 desc 1-u64max
PARAM_VALUE 0 desc->bmAttributes 1-255
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &udev->dev.mutex