Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 11 files:
- drivers/usb/core/hcd.c, line 1100
- drivers/usb/dwc2/hcd.c, line 1013
- drivers/usb/dwc2/hcd_queue.c
- drivers/usb/fotg210/fotg210-hcd.c
- drivers/usb/host/ehci-q.c
- drivers/usb/host/ehci-sched.c, line 1083
- drivers/usb/host/isp116x-hcd.c, line 757
- drivers/usb/host/ohci-q.c, line 459
- drivers/usb/host/oxu210hp-hcd.c
- drivers/usb/host/sl811-hcd.c, line 883
- drivers/usb/host/uhci-q.c, line 279
Smatch caller information:
drivers/usb/host/uhci-hcd.c uhci_alloc_qh() -> usb_calc_bus_time()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | is_input | 0-1 |
| PARAM_VALUE | 2 | isoc | 0-1 |
| PARAM_VALUE | 3 | bytecount | 0-2047 |
| FUZZY_MAX | 2 | isoc | 1 |
| BIT_INFO | 1 | is_input | 0x0,0x1 |
| BIT_INFO | 3 | bytecount | 0x0,0x7ff |
| HARD_MAX | 2 | isoc | 1 |
| PREEMPT_ADD | |||
| LOCK2 | &uhci->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct uhci_hcd)->lock |
drivers/usb/host/isp116x-hcd.c isp116x_urb_enqueue() -> usb_calc_bus_time()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | is_input | 0-1 |
| PARAM_VALUE | 2 | isoc | 0-1 |
| PARAM_VALUE | 3 | bytecount | 0-2047 |
| FUZZY_MAX | 1 | is_input | 1 |
| FUZZY_MAX | 2 | isoc | 1 |
| HARD_MAX | 1 | is_input | 1 |
| HARD_MAX | 2 | isoc | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &isp116x->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct isp116x)->lock |
drivers/usb/host/ehci-hcd.c iso_stream_init() -> usb_calc_bus_time()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | speed | s32min-2,4-s32max |
| PARAM_VALUE | 1 | is_input | 0,128 |
| PARAM_VALUE | 2 | isoc | 1 |
| PARAM_VALUE | 3 | bytecount | 0-2047 |
| DATA_SOURCE | 3 | bytecount | r usb_endpoint_maxp |
| FUZZY_MAX | 1 | is_input | 128 |
| BIT_INFO | 1 | is_input | 0x0,0x80 |
| HARD_MAX | 1 | is_input | 128 |
| PREEMPT_ADD | |||
| LOCK2 | &ehci->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct ehci_hcd)->lock |
drivers/usb/host/ehci-hcd.c qh_make() -> usb_calc_bus_time()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | speed | 3 |
| PARAM_VALUE | 1 | is_input | 0,128 |
| PARAM_VALUE | 2 | isoc | 0 |
| PARAM_VALUE | 3 | bytecount | 0-4096 |
| BIT_INFO | 1 | is_input | 0x0,0x80 |
| RX_PATH | |||
| LOCK2 | &ehci->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct ehci_hcd)->lock |
drivers/usb/host/ehci-hcd.c qh_make() -> usb_calc_bus_time()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | speed | s32min-2,4-s32max |
| PARAM_VALUE | 1 | is_input | 0,128 |
| PARAM_VALUE | 2 | isoc | 0 |
| PARAM_VALUE | 3 | bytecount | 0-1024 |
| DATA_SOURCE | 3 | bytecount | r usb_endpoint_maxp |
| FUZZY_MAX | 3 | bytecount | 1024 |
| BIT_INFO | 1 | is_input | 0x0,0x80 |
| HARD_MAX | 3 | bytecount | 1024 |
| RX_PATH | |||
| LOCK2 | &ehci->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct ehci_hcd)->lock |
drivers/usb/host/ehci-hcd.c qh_make() -> usb_calc_bus_time()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | speed | s32min-2,4-s32max |
| PARAM_VALUE | 1 | is_input | 0,128 |
| PARAM_VALUE | 2 | isoc | 0 |
| PARAM_VALUE | 3 | bytecount | 0-1024 |
| DATA_SOURCE | 3 | bytecount | r usb_endpoint_maxp |
| FUZZY_MAX | 3 | bytecount | 1024 |
| BIT_INFO | 1 | is_input | 0x0,0x80 |
| HARD_MAX | 3 | bytecount | 1024 |
| RX_PATH | |||
| LOCK2 | &ehci->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct ehci_hcd)->lock |
drivers/usb/fotg210/fotg210-hcd.c iso_stream_init() -> usb_calc_bus_time()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | speed | 2 |
| PARAM_VALUE | 1 | is_input | 0,128 |
| PARAM_VALUE | 2 | isoc | 1 |
| PARAM_VALUE | 3 | bytecount | 0-8188 |
| FUZZY_MAX | 1 | is_input | 128 |
| BIT_INFO | 1 | is_input | 0x0,0x80 |
| HARD_MAX | 1 | is_input | 128 |
| PREEMPT_ADD | |||
| LOCK2 | &fotg210->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct fotg210_hcd)->lock |
drivers/usb/fotg210/fotg210-hcd.c qh_make() -> usb_calc_bus_time()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | speed | 3 |
| PARAM_VALUE | 1 | is_input | 0,128 |
| PARAM_VALUE | 2 | isoc | 0 |
| PARAM_VALUE | 3 | bytecount | 0-4096 |
| BIT_INFO | 1 | is_input | 0x0,0x80 |
| LOCK2 | &fotg210->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct fotg210_hcd)->lock |
drivers/usb/fotg210/fotg210-hcd.c qh_make() -> usb_calc_bus_time()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | speed | s32min-2,4-s32max |
| PARAM_VALUE | 1 | is_input | 0,128 |
| PARAM_VALUE | 2 | isoc | 0 |
| PARAM_VALUE | 3 | bytecount | 0-1024 |
| DATA_SOURCE | 3 | bytecount | r usb_endpoint_maxp |
| FUZZY_MAX | 3 | bytecount | 1024 |
| BIT_INFO | 1 | is_input | 0x0,0x80 |
| HARD_MAX | 3 | bytecount | 1024 |
| LOCK2 | &fotg210->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct fotg210_hcd)->lock |
drivers/usb/fotg210/fotg210-hcd.c qh_make() -> usb_calc_bus_time()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | speed | s32min-2,4-s32max |
| PARAM_VALUE | 1 | is_input | 0,128 |
| PARAM_VALUE | 2 | isoc | 0 |
| PARAM_VALUE | 3 | bytecount | 0-1024 |
| DATA_SOURCE | 3 | bytecount | r usb_endpoint_maxp |
| FUZZY_MAX | 3 | bytecount | 1024 |
| BIT_INFO | 1 | is_input | 0x0,0x80 |
| HARD_MAX | 3 | bytecount | 1024 |
| LOCK2 | &fotg210->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct fotg210_hcd)->lock |
drivers/usb/dwc2/hcd_queue.c dwc2_qh_init() -> usb_calc_bus_time()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | bytecount | 0-8188 |
drivers/usb/dwc2/hcd_queue.c dwc2_qh_init() -> usb_calc_bus_time()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | bytecount | 0-8188 |
| DATA_SOURCE | 0 | speed | r dwc2_host_get_speed |
drivers/usb/host/oxu210hp-hcd.c qh_make() -> usb_calc_bus_time()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | speed | 3 |
| PARAM_VALUE | 1 | is_input | 0,128 |
| PARAM_VALUE | 2 | isoc | 0 |
| PARAM_VALUE | 3 | bytecount | 0-2047 |
| BIT_INFO | 1 | is_input | 0x0,0x80 |
| LOCK2 | &oxu->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct oxu_hcd)->lock |
drivers/usb/host/oxu210hp-hcd.c qh_make() -> usb_calc_bus_time()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | speed | s32min-2,4-s32max |
| PARAM_VALUE | 1 | is_input | 0,128 |
| PARAM_VALUE | 2 | isoc | 0 |
| PARAM_VALUE | 3 | bytecount | 0-2047 |
| DATA_SOURCE | 3 | bytecount | r usb_maxpacket |
| BIT_INFO | 1 | is_input | 0x0,0x80 |
| LOCK2 | &oxu->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct oxu_hcd)->lock |
drivers/usb/host/oxu210hp-hcd.c qh_make() -> usb_calc_bus_time()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | speed | s32min-2,4-s32max |
| PARAM_VALUE | 1 | is_input | 0,128 |
| PARAM_VALUE | 2 | isoc | 0 |
| PARAM_VALUE | 3 | bytecount | 0-2047 |
| BIT_INFO | 1 | is_input | 0x0,0x80 |
| LOCK2 | &oxu->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct oxu_hcd)->lock |
drivers/usb/host/sl811-hcd.c sl811h_urb_enqueue() -> usb_calc_bus_time()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | is_input | 0-1 |
| PARAM_VALUE | 2 | isoc | 0-1 |
| PARAM_VALUE | 3 | bytecount | 0-2047 |
| FUZZY_MAX | 1 | is_input | 1 |
| FUZZY_MAX | 2 | isoc | 1 |
| HARD_MAX | 1 | is_input | 1 |
| HARD_MAX | 2 | isoc | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &sl811->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct sl811)->lock |
drivers/usb/dwc2/hcd.c dwc2_hc_set_even_odd_frame() -> usb_calc_bus_time()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | speed | 0-15 |
| PARAM_VALUE | 1 | is_input | 0 |
| PARAM_VALUE | 2 | isoc | 0 |
| FUZZY_MAX | 0 | speed | 3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | bytecount | unit_byte |
| LOCK2 | &hsotg->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct dwc2_hsotg)->lock |
drivers/usb/host/ohci-hcd.c ed_get() -> usb_calc_bus_time()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | is_input | 0-1 |
| PARAM_VALUE | 2 | isoc | 0-1 |
| PARAM_VALUE | 3 | bytecount | 0-2047 |
| FUZZY_MAX | 1 | is_input | 1 |
| FUZZY_MAX | 2 | isoc | 1 |
| HARD_MAX | 1 | is_input | 1 |
| HARD_MAX | 2 | isoc | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &ohci->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct ohci_hcd)->lock |