Lines Matching defs:last
96 * Change the last TRB in the prev segment to be a Link TRB which points to the
113 /* Set the last TRB in the segment to have a TRB type ID of Link TRB */
128 struct xhci_segment *first, struct xhci_segment *last,
134 if (!ring || !first || !last)
144 xhci_link_segments(last, next, ring->type, chain_links);
150 last->trbs[TRBS_PER_SEGMENT-1].link.control
152 ring->last_seg = last;
322 struct xhci_segment **first, struct xhci_segment **last,
359 *last = prev;
368 * Set the end flag and the cycle toggle bit on the last segment.
427 struct xhci_segment *last;
430 ret = xhci_alloc_segments_for_ring(xhci, &first, &last,
438 ring, first, last, flags);
444 if (first == last)
451 xhci_link_rings(xhci, ring, first, last, num_new_segs);