Searched defs:trb (Results 1 - 7 of 7) sorted by relevance

/drivers/usb/dwc3/
H A Dep0.c79 struct dwc3_trb *trb; local
90 trb = dwc->ep0_trb;
92 trb->bpl = lower_32_bits(buf_dma);
93 trb->bph = upper_32_bits(buf_dma);
94 trb->size = len;
95 trb->ctrl = type;
97 trb->ctrl |= (DWC3_TRB_CTRL_HWO
547 struct dwc3_trb *trb; local
561 trb = dwc->ep0_trb;
562 length = trb
[all...]
H A Dgadget.c227 * Skip LINK TRB. We can't use req->trb and check for
236 req->trb = NULL;
317 struct dwc3_trb *trb)
319 u32 offset = (char *) trb - (char *) dep->trb_pool;
338 dev_err(dep->dwc->dev, "failed to allocate trb pool for %s\n",
682 struct dwc3_trb *trb; local
691 trb = &dep->trb_pool[dep->free_slot & DWC3_TRB_MASK];
700 if (!req->trb) {
702 req->trb = trb;
316 dwc3_trb_dma_offset(struct dwc3_ep *dep, struct dwc3_trb *trb) argument
1503 struct dwc3_trb *trb; local
[all...]
H A Dcore.h346 * @current_trb: index of current used trb
524 struct dwc3_trb *trb; member in struct:dwc3_request
535 * @ep0_trb: trb which is used for the ctrl_req
/drivers/usb/host/
H A Dxhci-dbg.c242 void xhci_print_trb_offsets(struct xhci_hcd *xhci, union xhci_trb *trb) argument
247 i*4, trb->generic.field[i]);
253 void xhci_debug_trb(struct xhci_hcd *xhci, union xhci_trb *trb) argument
256 u32 type = le32_to_cpu(trb->link.control) & TRB_TYPE_BITMASK;
261 xhci_print_trb_offsets(xhci, trb);
263 address = le64_to_cpu(trb->link.segment_ptr);
267 GET_INTR_TARGET(le32_to_cpu(trb->link.intr_target)));
269 le32_to_cpu(trb->link.control) & TRB_CYCLE);
271 le32_to_cpu(trb->link.control) & LINK_TOGGLE);
273 le32_to_cpu(trb
316 union xhci_trb *trb = seg->trbs; local
[all...]
H A Dxhci-ring.c80 union xhci_trb *trb)
84 if (!seg || !trb || trb < seg->trbs)
87 segment_offset = trb - seg->trbs;
90 return seg->dma + (segment_offset * sizeof(*trb));
97 struct xhci_segment *seg, union xhci_trb *trb)
100 return (trb == &seg->trbs[TRBS_PER_SEGMENT]) &&
103 return le32_to_cpu(trb->link.control) & LINK_TOGGLE;
111 struct xhci_segment *seg, union xhci_trb *trb)
114 return trb
79 xhci_trb_virt_to_dma(struct xhci_segment *seg, union xhci_trb *trb) argument
96 last_trb_on_last_seg(struct xhci_hcd *xhci, struct xhci_ring *ring, struct xhci_segment *seg, union xhci_trb *trb) argument
110 last_trb(struct xhci_hcd *xhci, struct xhci_ring *ring, struct xhci_segment *seg, union xhci_trb *trb) argument
129 next_trb(struct xhci_hcd *xhci, struct xhci_ring *ring, struct xhci_segment **seg, union xhci_trb **trb) argument
337 find_trb_seg( struct xhci_segment *start_seg, union xhci_trb *trb, int *cycle_state) argument
426 struct xhci_generic_trb *trb; local
628 handle_stopped_endpoint(struct xhci_hcd *xhci, union xhci_trb *trb, struct xhci_event_cmd *event) argument
930 handle_set_deq_completion(struct xhci_hcd *xhci, struct xhci_event_cmd *event, union xhci_trb *trb) argument
1022 handle_reset_ep_completion(struct xhci_hcd *xhci, struct xhci_event_cmd *event, union xhci_trb *trb) argument
2409 union xhci_trb *trb; local
2511 struct xhci_generic_trb *trb; local
[all...]
/drivers/net/tokenring/
H A Dlanstreamer.h276 __u16 trb; member in struct:streamer_private
H A Dolympic.h250 u16 trb; /* be16 */ member in struct:olympic_private

Completed in 86 milliseconds