Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/host/ehci-hcd.c check_intr_schedule() -> tt_available()

Type Parameter Key Value
PARAM_VALUE 0 ehci 4096-ptr_max
PARAM_VALUE 1 ps 4096-ptr_max
PARAM_VALUE 2 tt 0-ptr_max
PARAM_VALUE 3 frame 0-254
PARAM_VALUE 4 uframe 0-5
BUF_SIZE 2 tt (-1),64
BUF_SIZE 2 tt (-1),64
CAPPED_DATA 3 frame 1
DATA_SOURCE 0 ehci $0
DATA_SOURCE 2 tt $5
DATA_SOURCE 3 frame $1
DATA_SOURCE 4 uframe $2
HARD_MAX 4 uframe 5
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &ehci->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct ehci_hcd)->lock

drivers/usb/host/ehci-hcd.c sitd_slot_ok() -> tt_available()

Type Parameter Key Value
PARAM_VALUE 0 ehci 4096-ptr_max
PARAM_VALUE 1 ps 4096-ptr_max
PARAM_VALUE 2 tt 0-ptr_max
PARAM_VALUE 3 frame 0-8191
PARAM_VALUE 4 uframe 0-6
BUF_SIZE 2 tt (-1),64
BUF_SIZE 2 tt (-1),64
DATA_SOURCE 0 ehci $0
DATA_SOURCE 2 tt $4
PREEMPT_ADD
LOCK2 flags
LOCK2 0 &ehci->lock
TYPE_LOCK (struct ehci_hcd)->lock