/u-boot/drivers/soc/ti/ |
A D | k3-navss-ringacc.c | 510 ring->size * (4 << ring->elm_size), in k3_nav_ringacc_ring_free() 662 ring->state.free = ring->size - ringacc_readl(&ring->rt->occ); in k3_nav_ringacc_ring_get_free() 744 ring->state.free, ring->state.occ); in k3_nav_ringacc_ring_access_proxy() 813 ring->state.free, ring->state.windex, ring->state.occ, ring->state.rindex); in k3_nav_ringacc_ring_access_io() 855 ring->state.windex = (ring->state.windex + 1) % ring->size; in k3_nav_ringacc_ring_push_mem() 878 ring->state.rindex = (ring->state.rindex + 1) % ring->size; in k3_nav_ringacc_ring_pop_mem() 895 ring->ring_id, ring->state.free, ring->state.windex); in k3_nav_ringacc_ring_push() 900 if (ring->ops && ring->ops->push_tail) in k3_nav_ringacc_ring_push() 936 ring->ring_id, ring->state.occ, ring->state.rindex); in k3_nav_ringacc_ring_pop() 941 if (ring->ops && ring->ops->pop_head) in k3_nav_ringacc_ring_pop() [all …]
|
/u-boot/drivers/usb/mtu3/ |
A D | mtu3_qmu.c | 84 ring->start = gpd; in gpd_ring_init() 124 memset(ring, 0, sizeof(*ring)); in mtu3_gpd_ring_free() 143 if (ring->enqueue < ring->end) in advance_enq_gpd() 144 ring->enqueue++; in advance_enq_gpd() 146 ring->enqueue = ring->start; in advance_enq_gpd() 153 if (ring->dequeue < ring->end) in advance_deq_gpd() 154 ring->dequeue++; in advance_deq_gpd() 156 ring->dequeue = ring->start; in advance_deq_gpd() 167 if (ring->enqueue < ring->end) in gpd_ring_empty() 382 __func__, epnum, ring->dequeue, ring->enqueue); in qmu_done_tx() [all …]
|
/u-boot/include/linux/soc/ti/ |
A D | k3-navss-ringacc.h | 122 void k3_nav_ringacc_ring_reset(struct k3_nav_ring *ring); 130 void k3_nav_ringacc_ring_reset_dma(struct k3_nav_ring *ring, u32 occ); 138 int k3_nav_ringacc_ring_free(struct k3_nav_ring *ring); 146 u32 k3_nav_ringacc_get_ring_id(struct k3_nav_ring *ring); 156 int k3_nav_ringacc_ring_cfg(struct k3_nav_ring *ring, 165 u32 k3_nav_ringacc_ring_get_size(struct k3_nav_ring *ring); 173 u32 k3_nav_ringacc_ring_get_free(struct k3_nav_ring *ring); 181 u32 k3_nav_ringacc_ring_get_occ(struct k3_nav_ring *ring); 189 u32 k3_nav_ringacc_ring_is_full(struct k3_nav_ring *ring); 201 int k3_nav_ringacc_ring_push(struct k3_nav_ring *ring, void *elem); [all …]
|
/u-boot/drivers/usb/host/ |
A D | xhci-ring.c | 104 while (last_trb(ctrl, ring, ring->enq_seg, next)) { in inc_enq() 133 ring->cycle_state = (ring->cycle_state ? 0 : 1); in inc_enq() 135 ring->enq_seg = ring->enq_seg->next; in inc_enq() 136 ring->enqueue = ring->enq_seg->trbs; in inc_enq() 157 if (last_trb(ctrl, ring, ring->deq_seg, ring->dequeue)) { in inc_deq() 160 ring->deq_seg, ring->dequeue)) { in inc_deq() 161 ring->cycle_state = (ring->cycle_state ? 0 : 1); in inc_deq() 163 ring->deq_seg = ring->deq_seg->next; in inc_deq() 164 ring->dequeue = ring->deq_seg->trbs; in inc_deq() 168 } while (last_trb(ctrl, ring, ring->deq_seg, ring->dequeue)); in inc_deq() [all …]
|
A D | xhci-mem.c | 86 BUG_ON(!ring); in xhci_ring_free() 97 free(ring); in xhci_ring_free() 255 ring->enqueue = ring->first_seg->trbs; in xhci_initialize_ring_info() 256 ring->enq_seg = ring->first_seg; in xhci_initialize_ring_info() 257 ring->dequeue = ring->enqueue; in xhci_initialize_ring_info() 258 ring->deq_seg = ring->first_seg; in xhci_initialize_ring_info() 266 ring->cycle_state = 1; in xhci_initialize_ring_info() 310 struct xhci_ring *ring; in xhci_ring_alloc() local 314 BUG_ON(!ring); in xhci_ring_alloc() 317 return ring; in xhci_ring_alloc() [all …]
|
A D | Makefile | 48 obj-$(CONFIG_USB_XHCI_HCD) += xhci.o xhci-mem.o xhci-ring.o
|
A D | xhci.c | 607 virt_dev->eps[ep_index].ring = xhci_ring_alloc(ctrl, 1, true); in xhci_set_configuration() 608 if (!virt_dev->eps[ep_index].ring) in xhci_set_configuration() 631 trb_64 = xhci_virt_to_bus(ctrl, virt_dev->eps[ep_index].ring->enqueue); in xhci_set_configuration() 633 virt_dev->eps[ep_index].ring->cycle_state); in xhci_set_configuration()
|
/u-boot/arch/powerpc/dts/ |
A D | qoriq-sec5.0-0.dtsi | 18 compatible = "fsl,sec-v5.0-job-ring", 19 "fsl,sec-v4.0-job-ring"; 25 compatible = "fsl,sec-v5.0-job-ring", 26 "fsl,sec-v4.0-job-ring"; 32 compatible = "fsl,sec-v5.0-job-ring", 33 "fsl,sec-v4.0-job-ring"; 39 compatible = "fsl,sec-v5.0-job-ring", 40 "fsl,sec-v4.0-job-ring";
|
/u-boot/include/ |
A D | virtio_ring.h | 61 __virtio16 ring[]; member 74 struct vring_used_elem ring[]; member 125 #define vring_used_event(vr) ((vr)->avail->ring[(vr)->num]) 126 #define vring_avail_event(vr) (*(__virtio16 *)&(vr)->used->ring[(vr)->num]) 134 vr->used = (void *)(((uintptr_t)&vr->avail->ring[num] + in vring_init()
|
/u-boot/include/xen/interface/io/ |
A D | console.h | 15 #define MASK_XENCONS_IDX(idx, ring) ((idx) & (sizeof(ring) - 1)) argument
|
A D | ring.h | 46 (__RD32(((_sz) - offsetof(struct _s##_sring, ring)) / \ 47 sizeof(((struct _s##_sring *)0)->ring[0]))) 52 (__RD32(((_sz) - (long)(_s)->ring + (long)(_s)) / sizeof((_s)->ring[0]))) 108 union __name##_sring_entry ring[1]; /* variable-length */ \ 205 (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].req)) 222 (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].rsp))
|
/u-boot/drivers/xen/ |
A D | pvblock.c | 62 struct blkif_front_ring ring; member 113 free(dev->ring.sring); in free_blkfront() 368 rp = dev->ring.sring->rsp_prod; in blkfront_aio_poll() 370 cons = dev->ring.rsp_cons; in blkfront_aio_poll() 418 dev->ring.rsp_cons = ++cons; in blkfront_aio_poll() 437 if (RING_FULL(&dev->ring)) { in blkfront_wait_slot() 440 if (!RING_FULL(&dev->ring)) in blkfront_wait_slot() 485 i = dev->ring.req_prod_pvt; in blkfront_aio() 517 dev->ring.req_prod_pvt = i + 1; in blkfront_aio() 553 i = dev->ring.req_prod_pvt; in blkfront_push_operation() [all …]
|
A D | xenbus.c | 57 const char *ring = r; in memcpy_from_ring() local 62 memcpy(dest, ring + off, c1); in memcpy_from_ring() 63 memcpy(dest + c1, ring, c2); in memcpy_from_ring()
|
/u-boot/drivers/usb/musb-new/ |
A D | musb_host.h | 32 struct list_head ring; /* of musb_qh */ member 59 return list_entry(q->next, struct musb_qh, ring); in first_qh()
|
A D | musb_host.c | 405 head = qh->ring.prev; in musb_advance_schedule() 406 list_del(&qh->ring); in musb_advance_schedule() 1421 list_move_tail(&cur_qh->ring, &musb->in_bulk); in musb_bulk_rx_nak_timeout() 1893 list_add_tail(&qh->ring, head); in musb_schedule() 1970 INIT_LIST_HEAD(&qh->ring); 2239 list_del(&qh->ring); 2297 list_del(&qh->ring);
|
/u-boot/drivers/virtio/ |
A D | virtio_ring.c | 84 vq->vring.avail->ring[avail] = cpu_to_virtio16(vq->vdev, head); in virtqueue_add() 178 i = virtio32_to_cpu(vq->vdev, vq->vring.used->ring[last_used].id); in virtqueue_get_buf() 181 vq->vring.used->ring[last_used].len); in virtqueue_get_buf() 351 i, vq->vring.avail->ring[i]); in virtqueue_dump() 359 vq->vring.used->ring[i].id, vq->vring.used->ring[i].len); in virtqueue_dump()
|
/u-boot/drivers/usb/cdns3/ |
A D | debug.h | 112 struct cdns3_trb *ring, char *str) in cdns3_dbg_ring() argument 150 trb = &ring[i]; in cdns3_dbg_ring()
|
/u-boot/arch/powerpc/include/asm/ |
A D | fsl_liodn.h | 224 offsetof(struct ccsr_raide, jq[jqNum].ring[rNum].cfg1) + \ 226 offsetof(struct ccsr_raide, jq[jqNum].ring[rNum].cfg0) + \
|
/u-boot/drivers/dma/ti/ |
A D | k3-udma.c | 328 struct k3_nav_ring *ring = NULL; in udma_pop_from_ring() local 333 ring = uc->rflow->r_ring; in udma_pop_from_ring() 336 ring = uc->tchan->tc_ring; in udma_pop_from_ring() 339 ring = uc->tchan->tc_ring; in udma_pop_from_ring() 345 if (ring && k3_nav_ringacc_ring_get_occ(ring)) in udma_pop_from_ring() 346 ret = k3_nav_ringacc_ring_pop(ring, addr); in udma_pop_from_ring() 1395 static int udma_push_to_ring(struct k3_nav_ring *ring, void *elem) in udma_push_to_ring() argument 1400 return k3_nav_ringacc_ring_push(ring, &addr); in udma_push_to_ring()
|
/u-boot/arch/arm/dts/ |
A D | k3-am654-base-board-u-boot.dtsi | 39 ti,dma-ring-reset-quirk;
|
A D | imx8mp.dtsi | 597 compatible = "fsl,sec-v4.0-job-ring"; 603 compatible = "fsl,sec-v4.0-job-ring"; 609 compatible = "fsl,sec-v4.0-job-ring";
|
A D | imx8mm.dtsi | 751 compatible = "fsl,sec-v4.0-job-ring"; 757 compatible = "fsl,sec-v4.0-job-ring"; 763 compatible = "fsl,sec-v4.0-job-ring";
|
A D | imx8mn.dtsi | 758 compatible = "fsl,sec-v4.0-job-ring"; 764 compatible = "fsl,sec-v4.0-job-ring"; 770 compatible = "fsl,sec-v4.0-job-ring";
|
A D | k3-am65-mcu.dtsi | 137 ti,sci-rm-range-gp-rings = <0x1>; /* GP ring range */
|
A D | imx6ul.dtsi | 785 compatible = "fsl,sec-v4.0-job-ring"; 791 compatible = "fsl,sec-v4.0-job-ring"; 797 compatible = "fsl,sec-v4.0-job-ring";
|