Lines Matching refs:rdma
69 volatile struct hpc_dma_desc rdma; member
209 sp->rx_desc[i].rdma.pbuf = dma_addr; in seeq_init_ring()
211 sp->rx_desc[i].rdma.cntinfo = RCNTINFO_INIT; in seeq_init_ring()
214 sp->rx_desc[i - 1].rdma.cntinfo |= HPCDMA_EOR; in seeq_init_ring()
259 i, (&r[i]), r[i].rdma.pbuf, r[i].rdma.cntinfo, in sgiseeq_dump_rings()
260 r[i].rdma.pnext); in sgiseeq_dump_rings()
263 i, (&r[i]), r[i].rdma.pbuf, r[i].rdma.cntinfo, in sgiseeq_dump_rings()
264 r[i].rdma.pnext); in sgiseeq_dump_rings()
351 while (!(rd->rdma.cntinfo & HPCDMA_OWN)) { in sgiseeq_rx()
352 len = PKT_BUF_SZ - (rd->rdma.cntinfo & HPCDMA_BCNT) - 3; in sgiseeq_rx()
353 dma_unmap_single(dev->dev.parent, rd->rdma.pbuf, in sgiseeq_rx()
395 rd->rdma.pbuf = dma_map_single(dev->dev.parent, in sgiseeq_rx()
400 rd->rdma.cntinfo = RCNTINFO_INIT; in sgiseeq_rx()
407 sp->rx_desc[orig_end].rdma.cntinfo &= ~(HPCDMA_EOR); in sgiseeq_rx()
410 sp->rx_desc[PREV_RX(sp->rx_new)].rdma.cntinfo |= HPCDMA_EOR; in sgiseeq_rx()
701 buf[i].rdma.pnext = VIRT_TO_DMA(sp, buf + i + 1); in setup_rx_ring()
702 buf[i].rdma.pbuf = 0; in setup_rx_ring()
706 buf[i].rdma.pbuf = 0; in setup_rx_ring()
707 buf[i].rdma.pnext = VIRT_TO_DMA(sp, buf); in setup_rx_ring()