Searched refs:TRBS_PER_SEGMENT (Results 1 – 7 of 7) sorted by relevance
140 if (trb_per_sector > TRBS_PER_SEGMENT) in cdns3_dbg_ring()141 trb_per_sector = TRBS_PER_SEGMENT; in cdns3_dbg_ring()143 if (trb_per_sector > TRBS_PER_SEGMENT) { in cdns3_dbg_ring()
968 #define TRBS_PER_SEGMENT 40 macro972 #if TRBS_PER_SEGMENT < 2986 TRBS_PER_ISOC_SEGMENT : TRBS_PER_SEGMENT)1002 #define TRB_RING_SIZE (TRB_SIZE * TRBS_PER_SEGMENT)
877 TRBS_PER_SEGMENT > 2) in cdns3_ep_run_transfer()1098 if (TRBS_PER_SEGMENT == 2 && priv_ep->type != USB_ENDPOINT_XFER_ISOC) { in cdns3_request_handled()1163 TRBS_PER_SEGMENT == 2) in cdns3_transfer_completed()
226 prev->trbs[TRBS_PER_SEGMENT-1].link.segment_ptr = val_64; in xhci_link_segments()232 val = le32_to_cpu(prev->trbs[TRBS_PER_SEGMENT-1].link.control); in xhci_link_segments()236 prev->trbs[TRBS_PER_SEGMENT-1].link.control = cpu_to_le32(val); in xhci_link_segments()334 prev->trbs[TRBS_PER_SEGMENT-1].link.control |= in xhci_ring_alloc()563 entry->seg_size = cpu_to_le32(TRBS_PER_SEGMENT); in xhci_mem_init()
40 return trb == &seg->trbs[TRBS_PER_SEGMENT]; in last_trb()61 return ((trb == &seg->trbs[TRBS_PER_SEGMENT]) && in last_trb_on_last_seg()
1480 *size = (TRBS_PER_SEGMENT - 2) * TRB_MAX_BUFF_SIZE; in xhci_get_max_xfer_size()
991 #define TRBS_PER_SEGMENT 64 macro993 #define MAX_RSVD_CMD_TRBS (TRBS_PER_SEGMENT - 3)994 #define SEGMENT_SIZE (TRBS_PER_SEGMENT*16)