• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/usb/host/

Lines Matching defs:link

26  * 1. Each segment is initialized to zero, except for link TRBs.
34 * into a link TRB and expand the ring.
36 * link TRB, then load the pointer with the address in the link TRB. If the
37 * link TRB had its toggle bit set, you may need to update the ring cycle
39 * until you reach a non-link TRB.
45 * in a link TRB, it must toggle the ring cycle state.
47 * in a link TRB, it must toggle the ring cycle state.
93 /* Does this link TRB point to the first segment in a ring,
103 return trb->link.control & LINK_TOGGLE;
106 /* Is this TRB a link TRB or was the last TRB the last TRB in this event ring
116 return (trb->link.control & TRB_TYPE_BITMASK) == TRB_TYPE(TRB_LINK);
121 struct xhci_link_trb *link = &ring->enqueue->link;
122 return ((link->control & TRB_TYPE_BITMASK) == TRB_TYPE(TRB_LINK));
126 * TRB is in a new segment. This does not skip over link TRBs, and it does not
144 * Don't make a ring full of link TRBs. That would be dumb and this would loop.
153 /* Update the dequeue pointer further if that was a link TRB or
155 * link TRBS)
188 * Don't make a ring full of link TRBs. That would be dumb and this would loop.
191 * chain bit is set), then set the chain bit in all the following link TRBs.
192 * If we've enqueued the last TRB in a TD, make sure the following link TRBs
195 * Section 6.4.4.1 of the 0.95 spec says link TRBs cannot have the chain bit
198 * xHCI hardware can't handle the chain bit being cleared on a link TRB.
214 /* Update the dequeue pointer further if that was a link TRB or we're at
215 * the end of an event ring segment (which doesn't have link TRBS)
223 * don't want to give the link TRB to the
224 * hardware just yet. We'll give the link TRB
236 next->link.control &= ~TRB_CHAIN;
237 next->link.control |= chain;
239 /* Give this link TRB to the hardware */
241 next->link.control ^= TRB_CYCLE;
274 /* If we are currently pointing to a link TRB, advance the
283 /* Can't use link trbs */
381 * If we must move past a segment that has a link TRB with a toggle cycle state
460 * any link TRBs with the toggle cycle bit set.
462 * if we've moved it past a link TRB with the toggle cycle bit set.
535 xhci_dbg(xhci, "Cancel (unchain) link TRB\n");
1485 /* We didn't stop on a link TRB in the middle */
2046 lower_32_bits(trb->link.segment_ptr),
2047 upper_32_bits(trb->link.segment_ptr),
2048 (unsigned int) trb->link.intr_target,
2049 (unsigned int) trb->link.control);
2184 xhci_dbg(xhci, "prepare_ring: pointing to link trb\n");
2193 next->link.control &= ~TRB_CHAIN;
2195 next->link.control |= TRB_CHAIN;
2198 next->link.control ^= (u32) TRB_CYCLE;