Lines Matching refs:rxd
255 struct myri_rxd *rxd = &rq->myri_rxd[i]; in myri_clean_rings() local
258 dma_addr = sbus_readl(&rxd->myri_scatters[0].addr); in myri_clean_rings()
285 struct myri_rxd *rxd = &rq->myri_rxd[0]; in myri_init_rings() local
305 sbus_writel(dma_addr, &rxd[i].myri_scatters[0].addr); in myri_init_rings()
306 sbus_writel(RX_ALLOC_SIZE, &rxd[i].myri_scatters[0].len); in myri_init_rings()
307 sbus_writel(i, &rxd[i].ctx); in myri_init_rings()
308 sbus_writel(1, &rxd[i].num_sg); in myri_init_rings()
437 struct myri_rxd *rxd = &rq->myri_rxd[rq->tail]; in myri_rx() local
444 DRX(("rxd[%d]: %p len[%d] csum[%08x] ", entry, rxd, len, csum)); in myri_rx()
446 sbus_readl(&rxd->myri_scatters[0].addr), in myri_rx()
464 sbus_writel(RX_ALLOC_SIZE, &rxd->myri_scatters[0].len); in myri_rx()
465 sbus_writel(index, &rxd->ctx); in myri_rx()
466 sbus_writel(1, &rxd->num_sg); in myri_rx()
483 sbus_readl(&rxd->myri_scatters[0].addr), in myri_rx()
493 sbus_writel(dma_addr, &rxd->myri_scatters[0].addr); in myri_rx()
494 sbus_writel(RX_ALLOC_SIZE, &rxd->myri_scatters[0].len); in myri_rx()
495 sbus_writel(index, &rxd->ctx); in myri_rx()
496 sbus_writel(1, &rxd->num_sg); in myri_rx()
518 sbus_writel(RX_ALLOC_SIZE, &rxd->myri_scatters[0].len); in myri_rx()
519 sbus_writel(index, &rxd->ctx); in myri_rx()
520 sbus_writel(1, &rxd->num_sg); in myri_rx()