Home
last modified time | relevance | path

Searched refs:ring (Results 1 – 12 of 12) sorted by relevance

/rk3399_rockchip-uboot/drivers/usb/host/
H A Dxhci-ring.c36 static int last_trb(struct xhci_ctrl *ctrl, struct xhci_ring *ring, in last_trb() argument
39 if (ring == ctrl->event_ring) in last_trb()
56 struct xhci_ring *ring, in last_trb_on_last_seg() argument
60 if (ring == ctrl->event_ring) in last_trb_on_last_seg()
62 (seg->next == ring->first_seg)); in last_trb_on_last_seg()
89 static void inc_enq(struct xhci_ctrl *ctrl, struct xhci_ring *ring, in inc_enq() argument
95 chain = le32_to_cpu(ring->enqueue->generic.field[3]) & TRB_CHAIN; in inc_enq()
96 next = ++(ring->enqueue); in inc_enq()
102 while (last_trb(ctrl, ring, ring->enq_seg, next)) { in inc_enq()
103 if (ring != ctrl->event_ring) { in inc_enq()
[all …]
H A Dxhci-mem.c79 static void xhci_ring_free(struct xhci_ring *ring) in xhci_ring_free() argument
84 BUG_ON(!ring); in xhci_ring_free()
86 first_seg = ring->first_seg; in xhci_ring_free()
95 free(ring); in xhci_ring_free()
153 if (virt_dev->eps[i].ring) in xhci_free_virt_devices()
154 xhci_ring_free(virt_dev->eps[i].ring); in xhci_free_virt_devices()
246 static void xhci_initialize_ring_info(struct xhci_ring *ring) in xhci_initialize_ring_info() argument
251 ring->enqueue = ring->first_seg->trbs; in xhci_initialize_ring_info()
252 ring->enq_seg = ring->first_seg; in xhci_initialize_ring_info()
253 ring->dequeue = ring->enqueue; in xhci_initialize_ring_info()
[all …]
H A DMakefile49 obj-$(CONFIG_USB_XHCI_HCD) += xhci.o xhci-mem.o xhci-ring.o
H A Dxhci.c577 virt_dev->eps[ep_index].ring = xhci_ring_alloc(1, true); in xhci_set_configuration()
578 if (!virt_dev->eps[ep_index].ring) in xhci_set_configuration()
603 virt_dev->eps[ep_index].ring->enqueue; in xhci_set_configuration()
605 virt_dev->eps[ep_index].ring->cycle_state); in xhci_set_configuration()
/rk3399_rockchip-uboot/drivers/usb/musb-new/
H A Dmusb_host.h33 struct list_head ring; /* of musb_qh */ member
60 return list_entry(q->next, struct musb_qh, ring); in first_qh()
H A Dmusb_host.c401 head = qh->ring.prev; in musb_advance_schedule()
402 list_del(&qh->ring); in musb_advance_schedule()
1417 list_move_tail(&cur_qh->ring, &musb->in_bulk); in musb_bulk_rx_nak_timeout()
1889 list_add_tail(&qh->ring, head); in musb_schedule()
1966 INIT_LIST_HEAD(&qh->ring);
2235 list_del(&qh->ring);
2293 list_del(&qh->ring);
/rk3399_rockchip-uboot/drivers/usb/cdns3/
H A Ddebug.h112 struct cdns3_trb *ring, char *str) in cdns3_dbg_ring() argument
150 trb = &ring[i]; in cdns3_dbg_ring()
/rk3399_rockchip-uboot/arch/powerpc/include/asm/
H A Dfsl_liodn.h222 offsetof(struct ccsr_raide, jq[jqNum].ring[rNum].cfg1) + \
224 offsetof(struct ccsr_raide, jq[jqNum].ring[rNum].cfg0) + \
H A Dimmap_85xx.h2803 } ring[2]; member
/rk3399_rockchip-uboot/include/usb/
H A Dxhci.h1061 struct xhci_ring *ring; member
/rk3399_rockchip-uboot/arch/arm/dts/
H A Dimx6qdl.dtsi907 compatible = "fsl,sec-v4.0-job-ring";
913 compatible = "fsl,sec-v4.0-job-ring";
H A Dimx6sx.dtsi785 compatible = "fsl,sec-v4.0-job-ring";
791 compatible = "fsl,sec-v4.0-job-ring";