Searched refs:TRBS_PER_SEGMENT (Results 1 – 5 of 5) sorted by relevance
59 for (i = 0; i < TRBS_PER_SEGMENT; i++) in xhci_segment_alloc()107 prev->trbs[TRBS_PER_SEGMENT-1].link.segment_ptr = in xhci_link_segments()111 val = le32_to_cpu(prev->trbs[TRBS_PER_SEGMENT-1].link.control); in xhci_link_segments()120 prev->trbs[TRBS_PER_SEGMENT-1].link.control = cpu_to_le32(val); in xhci_link_segments()141 ring->num_trbs_free += (TRBS_PER_SEGMENT - 1) * num_segs; in xhci_link_rings()144 ring->last_seg->trbs[TRBS_PER_SEGMENT-1].link.control in xhci_link_rings()146 last->trbs[TRBS_PER_SEGMENT-1].link.control in xhci_link_rings()314 ring->num_trbs_free = ring->num_segs * (TRBS_PER_SEGMENT - 1) - 1; in xhci_initialize_ring_info()387 ring->last_seg->trbs[TRBS_PER_SEGMENT - 1].link.control |= in xhci_ring_alloc()434 sizeof(union xhci_trb)*TRBS_PER_SEGMENT); in xhci_reinit_cached_ring()[all …]
1273 #define TRBS_PER_SEGMENT 256 macro1275 #define MAX_RSVD_CMD_TRBS (TRBS_PER_SEGMENT - 3)1276 #define TRB_SEGMENT_SIZE (TRBS_PER_SEGMENT*16)
318 for (i = 0; i < TRBS_PER_SEGMENT; ++i) { in xhci_debug_segment()
85 if (segment_offset >= TRBS_PER_SEGMENT) in xhci_trb_virt_to_dma()97 return (trb == &seg->trbs[TRBS_PER_SEGMENT]) && in last_trb_on_last_seg()111 return trb == &seg->trbs[TRBS_PER_SEGMENT]; in last_trb()1692 &cur_seg->trbs[TRBS_PER_SEGMENT - 1]); in trb_in_td()
840 sizeof(union xhci_trb) * (TRBS_PER_SEGMENT - 1)); in xhci_clear_command_ring()841 seg->trbs[TRBS_PER_SEGMENT - 1].link.control &= in xhci_clear_command_ring()852 ring->num_trbs_free = ring->num_segs * (TRBS_PER_SEGMENT - 1) - 1; in xhci_clear_command_ring()