Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/host/xhci-ring.c xhci_queue_isoc_tx() -> count_isoc_trbs_needed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | urb | 4096-ptr_max |
| PARAM_VALUE | 0 | urb->iso_frame_desc | 4096-ptr_max |
| PARAM_VALUE | 1 | i | 0-s32max |
| CAPPED_DATA | 0 | urb->dev | 1 |
| CAPPED_DATA | 0 | urb->transfer_buffer_length | 1 |
| CAPPED_DATA | 1 | i | 1 |
| DATA_SOURCE | 0 | urb | $2 |
| HOST_DATA | 0 | urb->start_frame | 0[c] |
| NO_OVERFLOW_SIMPLE | 0 | urb->num_mapped_sgs | |
| UNITS | 1 | i | unit_array_size |
| LOCK2 | &xhci->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct xhci_hcd)->lock |
drivers/usb/host/xhci-ring.c xhci_queue_isoc_tx_prepare() -> count_isoc_trbs_needed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | i | 0-s32max |
| CAPPED_DATA | 0 | urb->dev | 1 |
| CAPPED_DATA | 0 | urb->interval | 1 |
| CAPPED_DATA | 0 | urb->transfer_buffer_length | 1 |
| CAPPED_DATA | 1 | i | 1 |
| DATA_SOURCE | 0 | urb | $2 |
| NO_OVERFLOW_SIMPLE | 0 | urb->num_mapped_sgs | |
| UNITS | 1 | i | unit_array_size |
| LOCK2 | &xhci->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct xhci_hcd)->lock |