Home
last modified time | relevance | path

Searched refs:RxDmaIdx (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/drivers/staging/rt2860/common/
Dcmm_mac_pci.c521 RTMP_IO_READ32(pAd, RX_DRX_IDX, &pAd->RxRing.RxDmaIdx); in RTMPRingCleanUp()
522 pAd->RxRing.RxSwReadIdx = pAd->RxRing.RxDmaIdx; in RTMPRingCleanUp()
524 ((pAd->RxRing.RxDmaIdx == in RTMPRingCleanUp()
525 0) ? (RX_RING_SIZE - 1) : (pAd->RxRing.RxDmaIdx - 1)); in RTMPRingCleanUp()
1298 u32 RxDmaIdx, RxCpuIdx; in RT28xxPciAsicRadioOff() local
1302 pAd->RxRing.RxCpuIdx, pAd->RxRing.RxDmaIdx)); in RT28xxPciAsicRadioOff()
1308 RTMP_IO_READ32(pAd, RX_DRX_IDX, &RxDmaIdx); in RT28xxPciAsicRadioOff()
1310 if ((RxDmaIdx > RxCpuIdx) && ((RxDmaIdx - RxCpuIdx) > RX_RING_SIZE / 3)) { in RT28xxPciAsicRadioOff()
1313 RxDmaIdx, RxCpuIdx)); in RT28xxPciAsicRadioOff()
1315 } else if ((RxCpuIdx >= RxDmaIdx) in RT28xxPciAsicRadioOff()
[all …]
Dcmm_data_pci.c793 RTMP_IO_READ32(pAd, RX_DRX_IDX, &pAd->RxRing.RxDmaIdx); in GetPacketFromRxRing()
795 if (pAd->RxRing.RxSwReadIdx == pAd->RxRing.RxDmaIdx) { in GetPacketFromRxRing()
801 if (pAd->RxRing.RxDmaIdx > pAd->RxRing.RxSwReadIdx) in GetPacketFromRxRing()
803 pAd->RxRing.RxDmaIdx - pAd->RxRing.RxSwReadIdx; in GetPacketFromRxRing()
806 pAd->RxRing.RxDmaIdx + RX_RING_SIZE - in GetPacketFromRxRing()
/linux-2.6.39/drivers/staging/rt2860/
Drtmp.h494 u32 RxDmaIdx; member