Lines Matching refs:pRxd
2306 RXD *pRxd; /* the rxd to fill */ in FillRxDescriptor() local
2321 pRxd = pRxPort->pRxdRingTail; in FillRxDescriptor()
2322 pRxPort->pRxdRingTail = pRxd->pNextRxd; in FillRxDescriptor()
2332 pRxd->VDataLow = (SK_U32) (PhysAddr & 0xffffffff); in FillRxDescriptor()
2333 pRxd->VDataHigh = (SK_U32) (PhysAddr >> 32); in FillRxDescriptor()
2334 pRxd->pMBuf = pMsgBlock; in FillRxDescriptor()
2335 pRxd->RBControl = BMU_OWN | in FillRxDescriptor()
2363 RXD *pRxd; /* the rxd to fill */ in ReQueueRxBuffer() local
2366 pRxd = pRxPort->pRxdRingTail; in ReQueueRxBuffer()
2367 pRxPort->pRxdRingTail = pRxd->pNextRxd; in ReQueueRxBuffer()
2371 pRxd->VDataLow = PhysLow; in ReQueueRxBuffer()
2372 pRxd->VDataHigh = PhysHigh; in ReQueueRxBuffer()
2373 pRxd->pMBuf = pMsg; in ReQueueRxBuffer()
2374 pRxd->RBControl = BMU_OWN | in ReQueueRxBuffer()
2398 RXD *pRxd; /* pointer to receive descriptors */ local
2424 for ( pRxd = pRxPort->pRxdRingHead ;
2426 pRxd = pRxd->pNextRxd,
2427 pRxPort->pRxdRingHead = pRxd,
2440 Control = pRxd->RBControl;
2464 pMsg = pRxd->pMBuf;
2466 FrameStat = pRxd->FrameStat;
2524 PhysAddr = ((SK_U64) pRxd->VDataHigh) << (SK_U64)32;
2525 PhysAddr |= (SK_U64) pRxd->VDataLow;
2531 pRxd->VDataHigh, pRxd->VDataLow);
2547 PhysAddr = ((SK_U64) pRxd->VDataHigh) << (SK_U64)32;
2548 PhysAddr |= (SK_U64) pRxd->VDataLow;
2557 pRxd->VDataHigh, pRxd->VDataLow);
2568 PhysAddr = ((SK_U64) pRxd->VDataHigh) << (SK_U64)32;
2569 PhysAddr |= (SK_U64) pRxd->VDataLow;
2584 Csum1=le16_to_cpu(pRxd->TcpSums & 0xffff);
2585 Csum2=le16_to_cpu((pRxd->TcpSums >> 16) & 0xffff);
2751 PhysAddr = ((SK_U64) pRxd->VDataHigh) << (SK_U64)32;
2752 PhysAddr |= (SK_U64) pRxd->VDataLow;
2757 DEV_KFREE_SKB_IRQ(pRxd->pMBuf);
2758 pRxd->pMBuf = NULL;
2760 pRxPort->pRxdRingHead = pRxd->pNextRxd;
2822 RXD *pRxd; /* pointer to the current descriptor */ local
2830 pRxd = pRxPort->pRxdRingHead;
2832 if (pRxd->pMBuf != NULL) {
2834 PhysAddr = ((SK_U64) pRxd->VDataHigh) << (SK_U64)32;
2835 PhysAddr |= (SK_U64) pRxd->VDataLow;
2840 DEV_KFREE_SKB(pRxd->pMBuf);
2841 pRxd->pMBuf = NULL;
2843 pRxd->RBControl &= BMU_OWN;
2844 pRxd = pRxd->pNextRxd;
2846 } while (pRxd != pRxPort->pRxdRingTail);