Lines Matching refs:pRxPort

2275 RX_PORT		*pRxPort)	/* ptr to port struct for which the ring  in FillRxRing()  argument
2280 spin_lock_irqsave(&pRxPort->RxDesRingLock, Flags); in FillRxRing()
2281 while (pRxPort->RxdRingFree > pRxPort->RxFillLimit) { in FillRxRing()
2282 if(!FillRxDescriptor(pAC, pRxPort)) in FillRxRing()
2285 spin_unlock_irqrestore(&pRxPort->RxDesRingLock, Flags); in FillRxRing()
2303 RX_PORT *pRxPort) /* ptr to port struct of ring to fill */ in FillRxDescriptor() argument
2315 pAC->dev[pRxPort->PortIndex]->name)); in FillRxDescriptor()
2316 SK_PNMI_CNT_NO_RX_BUF(pAC, pRxPort->PortIndex); in FillRxDescriptor()
2321 pRxd = pRxPort->pRxdRingTail; in FillRxDescriptor()
2322 pRxPort->pRxdRingTail = pRxd->pNextRxd; in FillRxDescriptor()
2323 pRxPort->RxdRingFree--; in FillRxDescriptor()
2358 RX_PORT *pRxPort, /* ptr to port struct of ring to fill */ in ReQueueRxBuffer() argument
2366 pRxd = pRxPort->pRxdRingTail; in ReQueueRxBuffer()
2367 pRxPort->pRxdRingTail = pRxd->pNextRxd; in ReQueueRxBuffer()
2368 pRxPort->RxdRingFree--; in ReQueueRxBuffer()
2395 RX_PORT *pRxPort, /* pointer to receive port struct */ argument
2407 int PortIndex = pRxPort->PortIndex;
2424 for ( pRxd = pRxPort->pRxdRingHead ;
2425 pRxPort->RxdRingFree < pAC->RxDescrPerRing ;
2427 pRxPort->pRxdRingHead = pRxd,
2428 pRxPort->RxdRingFree ++) {
2447 FillRxRing(pAC, pRxPort);
2510 pRxPort->RxdRingFree));
2530 ReQueueRxBuffer(pAC, pRxPort, pMsg,
2556 ReQueueRxBuffer(pAC, pRxPort, pMsg,
2603 Csum1, Csum2, pRxPort->PortIndex);
2668 FrameLength, pRxPort->PortIndex);
2670 pMsg->dev = pAC->dev[pRxPort->PortIndex];
2672 pAC->dev[pRxPort->PortIndex]);
2674 pAC->dev[pRxPort->PortIndex]->last_rx = jiffies;
2719 if ((pAC->dev[pRxPort->PortIndex]->flags &
2723 pMsg->dev = pAC->dev[pRxPort->PortIndex];
2725 pAC->dev[pRxPort->PortIndex]);
2727 pAC->dev[pRxPort->PortIndex]->last_rx = jiffies;
2737 FillRxRing(pAC, pRxPort);
2759 pRxPort->RxdRingFree++;
2760 pRxPort->pRxdRingHead = pRxd->pNextRxd;
2820 RX_PORT *pRxPort) /* pointer to rx port struct */ argument
2826 if (pRxPort->RxdRingFree == pAC->RxDescrPerRing) {
2829 spin_lock_irqsave(&pRxPort->RxDesRingLock, Flags);
2830 pRxd = pRxPort->pRxdRingHead;
2845 pRxPort->RxdRingFree++;
2846 } while (pRxd != pRxPort->pRxdRingTail);
2847 pRxPort->pRxdRingTail = pRxPort->pRxdRingHead;
2848 spin_unlock_irqrestore(&pRxPort->RxDesRingLock, Flags);