Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/usb/host/xhci-mem.c, line 1467
- drivers/usb/host/xhci-ring.c
- drivers/usb/host/xhci.c, line 1343
Smatch caller information:
drivers/usb/host/xhci-mem.c xhci_endpoint_init() -> xhci_usb_endpoint_maxp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | udev | 4096-ptr_max |
| PARAM_VALUE | 0 | udev->descriptor.bcdUSB | 544 |
| PARAM_VALUE | 1 | host_ep | 4096-ptr_max |
| PARAM_VALUE | 1 | host_ep->desc.wMaxPacketSize | 0 |
| PARAM_VALUE | 1 | host_ep->eusb2_isoc_ep_comp.bDescriptorType | 1-255 |
| CAPPED_DATA | 0 | udev | 1 |
| DATA_SOURCE | 0 | udev | $2 |
| DATA_SOURCE | 1 | host_ep | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | hcd->bandwidth_mutex | ||
| HALF_LOCKED2 | 0 | &udev->dev.mutex |
drivers/usb/host/xhci-ring.c xhci_align_td() -> xhci_usb_endpoint_maxp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | udev | 4096-ptr_max |
| PARAM_VALUE | 1 | host_ep | 4096-ptr_max |
| CAPPED_DATA | 0 | udev | 1 |
| CAPPED_DATA | 0 | udev->slot_id | 1 |
| LOCK2 | &xhci->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct xhci_hcd)->lock |
drivers/usb/host/xhci-ring.c xhci_queue_isoc_tx() -> xhci_usb_endpoint_maxp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | udev | 4096-ptr_max |
| PARAM_VALUE | 1 | host_ep | 4096-ptr_max |
| CAPPED_DATA | 0 | udev | 1 |
| LOCK2 | &xhci->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct xhci_hcd)->lock |
drivers/usb/host/xhci-ring.c xhci_td_remainder() -> xhci_usb_endpoint_maxp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | udev | 4096-ptr_max |
| PARAM_VALUE | 1 | host_ep | 4096-ptr_max |
| CAPPED_DATA | 0 | udev | 1 |
| LOCK2 | &xhci->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct xhci_hcd)->lock |
drivers/usb/host/xhci.c xhci_urb_temp_buffer_required() -> xhci_usb_endpoint_maxp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | udev | 4096-ptr_max |
| PARAM_VALUE | 1 | host_ep | 4096-ptr_max |
| BUF_SIZE | 1 | host_ep | (-1),88 |
| BUF_SIZE | 1 | host_ep | (-1),88 |
| RX_PATH |