Home
last modified time | relevance | path

Searched refs:xhci_segment (Results 1 – 9 of 9) sorted by relevance

/OK3568_Linux_fs/u-boot/drivers/usb/host/
H A Dxhci-mem.c65 static void xhci_segment_free(struct xhci_segment *seg) in xhci_segment_free()
81 struct xhci_segment *seg; in xhci_ring_free()
82 struct xhci_segment *first_seg; in xhci_ring_free()
89 struct xhci_segment *next = seg->next; in xhci_ring_free()
215 static void xhci_link_segments(struct xhci_segment *prev, in xhci_link_segments()
216 struct xhci_segment *next, bool link_trbs) in xhci_link_segments()
274 static struct xhci_segment *xhci_segment_alloc(void) in xhci_segment_alloc()
276 struct xhci_segment *seg; in xhci_segment_alloc()
278 seg = (struct xhci_segment *)malloc(sizeof(struct xhci_segment)); in xhci_segment_alloc()
306 struct xhci_segment *prev; in xhci_ring_alloc()
[all …]
H A Dxhci-ring.c37 struct xhci_segment *seg, union xhci_trb *trb) in last_trb()
57 struct xhci_segment *seg, in last_trb_on_last_seg()
/OK3568_Linux_fs/kernel/drivers/usb/host/
H A Dxhci-mem.c28 static struct xhci_segment *xhci_segment_alloc(struct xhci_hcd *xhci, in xhci_segment_alloc()
33 struct xhci_segment *seg; in xhci_segment_alloc()
68 void xhci_segment_free(struct xhci_hcd *xhci, struct xhci_segment *seg) in xhci_segment_free()
80 struct xhci_segment *first) in xhci_free_segments_for_ring()
82 struct xhci_segment *seg; in xhci_free_segments_for_ring()
86 struct xhci_segment *next = seg->next; in xhci_free_segments_for_ring()
100 void xhci_link_segments(struct xhci_segment *prev, in xhci_link_segments()
101 struct xhci_segment *next, in xhci_link_segments()
129 struct xhci_segment *first, struct xhci_segment *last, in xhci_link_rings()
132 struct xhci_segment *next; in xhci_link_rings()
[all …]
H A Dxhci.h962 struct xhci_segment *queued_deq_seg;
1536 struct xhci_segment { struct
1539 struct xhci_segment *next; argument
1563 struct xhci_segment *start_seg; argument
1566 struct xhci_segment *last_trb_seg;
1567 struct xhci_segment *bounce_seg;
1615 struct xhci_segment *first_seg;
1616 struct xhci_segment *last_seg;
1618 struct xhci_segment *enq_seg;
1620 struct xhci_segment *deq_seg;
[all …]
H A Dxhci-ring.c69 dma_addr_t xhci_trb_virt_to_dma(struct xhci_segment *seg, in xhci_trb_virt_to_dma()
94 static bool last_trb_on_seg(struct xhci_segment *seg, union xhci_trb *trb) in last_trb_on_seg()
100 struct xhci_segment *seg, union xhci_trb *trb) in last_trb_on_ring()
145 struct xhci_segment **seg, in next_trb()
371 struct xhci_segment *new_seg = xhci->cmd_ring->deq_seg; in xhci_abort_cmd_ring()
576 struct xhci_segment *new_seg; in xhci_move_dequeue_past_td()
577 struct xhci_segment *halted_seg = NULL; in xhci_move_dequeue_past_td()
728 struct xhci_segment *seg = td->start_seg; in td_to_noop()
781 struct xhci_segment *seg = td->bounce_seg; in xhci_unmap_td_bounce_buffer()
2078 struct xhci_segment *trb_in_td(struct xhci_hcd *xhci, in trb_in_td()
[all …]
H A Dxhci-debugfs.c196 struct xhci_segment *seg) in xhci_ring_dump_segment()
218 struct xhci_segment *seg = ring->first_seg; in xhci_ring_trb_show()
H A Dxhci-dbgcap.c426 struct xhci_segment *seg; in xhci_dbc_ring_alloc()
H A Dxhci.c42 struct xhci_segment *seg = ring->first_seg; in td_on_ring()
869 struct xhci_segment *seg; in xhci_clear_command_ring()
/OK3568_Linux_fs/u-boot/include/usb/
H A Dxhci.h1004 struct xhci_segment { struct
1007 struct xhci_segment *next; argument
1011 struct xhci_segment *first_seg;
1013 struct xhci_segment *enq_seg;
1015 struct xhci_segment *deq_seg;
1227 struct xhci_segment *seg;
1237 unsigned long trb_addr(struct xhci_segment *seg, union xhci_trb *trb);