Lines Matching full:rx_desc

59 					       (unsigned long)((sp)->rx_desc)))
95 struct sgiseeq_rx_desc *rx_desc; member
202 if (!sp->rx_desc[i].skb) { in seeq_init_ring()
212 sp->rx_desc[i].skb = skb; in seeq_init_ring()
213 sp->rx_desc[i].rdma.pbuf = dma_addr; in seeq_init_ring()
215 sp->rx_desc[i].rdma.cntinfo = RCNTINFO_INIT; in seeq_init_ring()
216 dma_sync_desc_dev(dev, &sp->rx_desc[i]); in seeq_init_ring()
218 sp->rx_desc[i - 1].rdma.cntinfo |= HPCDMA_EOR; in seeq_init_ring()
219 dma_sync_desc_dev(dev, &sp->rx_desc[i - 1]); in seeq_init_ring()
238 if (sp->rx_desc[i].skb) { in seeq_purge_ring()
239 dev_kfree_skb(sp->rx_desc[i].skb); in seeq_purge_ring()
240 sp->rx_desc[i].skb = NULL; in seeq_purge_ring()
252 struct sgiseeq_rx_desc *r = gpriv->rx_desc; in sgiseeq_dump_rings()
311 hregs->rx_ndptr = VIRT_TO_DMA(sp, sp->rx_desc); in init_seeq()
336 hregs->rx_ndptr = VIRT_TO_DMA(sp, sp->rx_desc + sp->rx_new); in rx_maybe_restart()
353 rd = &sp->rx_desc[sp->rx_new]; in sgiseeq_rx()
407 rd = &sp->rx_desc[sp->rx_new]; in sgiseeq_rx()
412 dma_sync_desc_cpu(dev, &sp->rx_desc[orig_end]); in sgiseeq_rx()
413 sp->rx_desc[orig_end].rdma.cntinfo &= ~(HPCDMA_EOR); in sgiseeq_rx()
414 dma_sync_desc_dev(dev, &sp->rx_desc[orig_end]); in sgiseeq_rx()
415 dma_sync_desc_cpu(dev, &sp->rx_desc[PREV_RX(sp->rx_new)]); in sgiseeq_rx()
416 sp->rx_desc[PREV_RX(sp->rx_new)].rdma.cntinfo |= HPCDMA_EOR; in sgiseeq_rx()
417 dma_sync_desc_dev(dev, &sp->rx_desc[PREV_RX(sp->rx_new)]); in sgiseeq_rx()
759 sp->rx_desc = sp->srings->rxvector; in sgiseeq_probe()
764 setup_rx_ring(dev, sp->rx_desc, SEEQ_RX_BUFFERS); in sgiseeq_probe()