Home
last modified time | relevance | path

Searched refs:xhci_trb (Results 1 – 10 of 10) sorted by relevance

/openbmc/u-boot/drivers/usb/host/
H A Dxhci-ring.c36 struct xhci_segment *seg, union xhci_trb *trb) in last_trb()
57 union xhci_trb *trb) in last_trb_on_last_seg()
92 union xhci_trb *next; in inc_enq()
125 sizeof(union xhci_trb)); in inc_enq()
212 union xhci_trb *next = ep_ring->enqueue; in prepare_ring()
246 xhci_flush_cache((uintptr_t)next, sizeof(union xhci_trb)); in prepare_ring()
410 union xhci_trb *event; in event_ready()
413 sizeof(union xhci_trb)); in event_ready()
434 union xhci_trb *xhci_wait_for_event(struct xhci_ctrl *ctrl, trb_type expected) in xhci_wait_for_event()
440 union xhci_trb *event = ctrl->event_ring->dequeue; in xhci_wait_for_event()
[all …]
H A Dxhci.h892 union xhci_trb { union
1004 union xhci_trb *trbs;
1011 union xhci_trb *enqueue;
1013 union xhci_trb *dequeue;
1235 unsigned long trb_addr(struct xhci_segment *seg, union xhci_trb *trb);
1255 union xhci_trb *xhci_wait_for_event(struct xhci_ctrl *ctrl, trb_type expected);
H A Dxhci.c454 union xhci_trb *event; in xhci_configure_endpoints()
632 union xhci_trb *event; in xhci_address_device()
709 union xhci_trb *event; in _xhci_alloc_device()
H A Dxhci-mem.c280 seg->trbs = (union xhci_trb *)xhci_malloc(SEGMENT_SIZE); in xhci_segment_alloc()
/openbmc/linux/drivers/usb/host/
H A Dxhci-ring.c70 union xhci_trb *trb) in xhci_trb_virt_to_dma()
83 static bool trb_is_noop(union xhci_trb *trb) in trb_is_noop()
88 static bool trb_is_link(union xhci_trb *trb) in trb_is_link()
93 static bool last_trb_on_seg(struct xhci_segment *seg, union xhci_trb *trb) in last_trb_on_seg()
99 struct xhci_segment *seg, union xhci_trb *trb) in last_trb_on_ring()
104 static bool link_trb_toggles_cycle(union xhci_trb *trb) in link_trb_toggles_cycle()
123 static void trb_to_noop(union xhci_trb *trb, u32 noop_type) in trb_to_noop()
145 union xhci_trb **trb) in next_trb()
218 union xhci_trb *next; in inc_enq()
283 union xhci_trb *enq = ring->enqueue; in xhci_num_trbs_free()
[all …]
H A Dxhci.h564 union xhci_trb *command_trb;
708 union xhci_trb *queued_deq_ptr;
1100 union xhci_trb { union
1292 union xhci_trb *trbs;
1318 union xhci_trb *first_trb;
1319 union xhci_trb *last_trb;
1337 union xhci_trb *cmd_trb;
1375 union xhci_trb *enqueue;
1377 union xhci_trb *dequeue;
1908 dma_addr_t xhci_trb_virt_to_dma(struct xhci_segment *seg, union xhci_trb *trb);
[all …]
H A Dxhci-dbgcap.c161 static void trb_to_noop(union xhci_trb *trb) in trb_to_noop()
228 union xhci_trb *trb, *next; in xhci_dbc_queue_trb()
251 union xhci_trb *trb; in xhci_dbc_queue_bulk_tx()
454 union xhci_trb *trb = &seg->trbs[TRBS_PER_SEGMENT - 1]; in xhci_dbc_ring_alloc()
679 dbc_handle_port_status(struct xhci_dbc *dbc, union xhci_trb *event) in dbc_handle_port_status()
700 static void dbc_handle_xfer_event(struct xhci_dbc *dbc, union xhci_trb *event) in dbc_handle_xfer_event()
812 union xhci_trb *evt; in xhci_dbc_do_handle_events()
H A Dxhci-dbgcap.h162 union xhci_trb *trb;
H A Dxhci-debugfs.c201 union xhci_trb *trb; in xhci_ring_dump_segment()
H A Dxhci.c738 sizeof(union xhci_trb) * (TRBS_PER_SEGMENT - 1)); in xhci_clear_command_ring()
5427 BUILD_BUG_ON(sizeof(union xhci_trb) != 4*32/8); in xhci_hcd_init()