Lines Matching refs:RxRing
278 pAd->RxRing.Cell[index].AllocSize = RXD_SIZE;
279 pAd->RxRing.Cell[index].AllocVa = RingBaseVa;
280 RTMP_SetPhysicalAddressHigh(pAd->RxRing.Cell[index].
282 RTMP_SetPhysicalAddressLow(pAd->RxRing.Cell[index].
292 pDmaBuf = &pAd->RxRing.Cell[index].DmaBuf;
302 pAd->RxRing.Cell[index].pNdisPacket = pPacket;
307 DBGPRINT_ERR(("Failed to allocate RxRing's 1st buffer\n"));
315 pRxD = (struct rt_rxd *) pAd->RxRing.Cell[index].AllocVa;
364 pAd->RxRing.RxSwReadIdx = 0;
365 pAd->RxRing.RxCpuIdx = RX_RING_SIZE - 1;
366 /*RTMP_IO_WRITE32(pAd, RX_CRX_IDX, pAd->RxRing.RX_CRX_IDX0); */
517 pRxD = (struct rt_rxd *) pAd->RxRing.Cell[i].AllocVa;
521 RTMP_IO_READ32(pAd, RX_DRX_IDX, &pAd->RxRing.RxDmaIdx);
522 pAd->RxRing.RxSwReadIdx = pAd->RxRing.RxDmaIdx;
523 pAd->RxRing.RxCpuIdx =
524 ((pAd->RxRing.RxDmaIdx ==
525 0) ? (RX_RING_SIZE - 1) : (pAd->RxRing.RxDmaIdx - 1));
526 RTMP_IO_WRITE32(pAd, RX_CRX_IDX, pAd->RxRing.RxCpuIdx);
599 if ((pAd->RxRing.Cell[index].DmaBuf.AllocVa)
600 && (pAd->RxRing.Cell[index].pNdisPacket)) {
602 pAd->RxRing.Cell[index].DmaBuf.AllocPa,
603 pAd->RxRing.Cell[index].DmaBuf.
606 pAd->RxRing.Cell[index].pNdisPacket,
610 NdisZeroMemory(pAd->RxRing.Cell, RX_RING_SIZE * sizeof(struct rt_rtmp_dmacb));
1302 pAd->RxRing.RxCpuIdx, pAd->RxRing.RxDmaIdx));
1406 RTMP_IO_WRITE32(pAd, RX_CRX_IDX, pAd->RxRing.RxCpuIdx);