Lines Matching refs:pTxd
1873 TXD *pTxd; /* the rxd to fill */ in XmitFrame() local
1927 pTxd = pTxPort->pTxdRingHead; in XmitFrame()
1928 pTxPort->pTxdRingHead = pTxd->pNextTxd; in XmitFrame()
1945 pTxd->VDataLow = (SK_U32) (PhysAddr & 0xffffffff); in XmitFrame()
1946 pTxd->VDataHigh = (SK_U32) (PhysAddr >> 32); in XmitFrame()
1947 pTxd->pMBuf = pMessage; in XmitFrame()
1954 pTxd->TBControl = BMU_TCP_CHECK; in XmitFrame()
1956 pTxd->TBControl = BMU_UDP_CHECK; in XmitFrame()
1961 pTxd->TcpSumOfs = 0; /* PH-Checksum already calculated */ in XmitFrame()
1962 pTxd->TcpSumSt = C_LEN_ETHERMAC_HEADER + IpHeaderLength + in XmitFrame()
1966 pTxd->TcpSumWr = C_LEN_ETHERMAC_HEADER + IpHeaderLength; in XmitFrame()
1968 pTxd->TBControl |= BMU_OWN | BMU_STF | in XmitFrame()
1975 pTxd->TBControl = BMU_OWN | BMU_STF | BMU_CHECK | in XmitFrame()
1986 pOldTxd = xchg(&pTxPort->pTxdRingPrev, pTxd); in XmitFrame()
2024 TXD *pTxd; in XmitFrameSG() local
2052 pTxd = pTxPort->pTxdRingHead; in XmitFrameSG()
2053 pTxdFst = pTxd; in XmitFrameSG()
2054 pTxdLst = pTxd; in XmitFrameSG()
2067 pTxd->VDataLow = (SK_U32) (PhysAddr & 0xffffffff); in XmitFrameSG()
2068 pTxd->VDataHigh = (SK_U32) (PhysAddr >> 32); in XmitFrameSG()
2074 pTxd->TBControl = BMU_STF | BMU_STFWD | skb_headlen(pMessage); in XmitFrameSG()
2084 pTxd->TBControl |= BMU_TCP_CHECK; in XmitFrameSG()
2086 pTxd->TBControl |= BMU_UDP_CHECK; in XmitFrameSG()
2090 pTxd->TcpSumOfs = 0; /* PH-Checksum already claculated */ in XmitFrameSG()
2091 pTxd->TcpSumSt = C_LEN_ETHERMAC_HEADER + IpHeaderLength + in XmitFrameSG()
2095 pTxd->TcpSumWr = C_LEN_ETHERMAC_HEADER + IpHeaderLength; in XmitFrameSG()
2097 pTxd->TBControl = BMU_CHECK | BMU_SW | BMU_STF | in XmitFrameSG()
2101 pTxd = pTxd->pNextTxd; in XmitFrameSG()
2119 pTxd->VDataLow = (SK_U32) (PhysAddr & 0xffffffff); in XmitFrameSG()
2120 pTxd->VDataHigh = (SK_U32) (PhysAddr >> 32); in XmitFrameSG()
2121 pTxd->pMBuf = pMessage; in XmitFrameSG()
2127 pTxd->TBControl = BMU_OWN | BMU_SW | BMU_STFWD; in XmitFrameSG()
2136 pTxd->TBControl |= BMU_TCP_CHECK; in XmitFrameSG()
2138 pTxd->TBControl |= BMU_UDP_CHECK; in XmitFrameSG()
2141 pTxd->TBControl = BMU_CHECK | BMU_SW | BMU_OWN; in XmitFrameSG()
2149 pTxd->TBControl |= BMU_EOF | BMU_IRQ_EOF | sk_frag->size; in XmitFrameSG()
2151 pTxd->TBControl |= BMU_EOF | sk_frag->size; in XmitFrameSG()
2156 pTxd->TBControl |= sk_frag->size; in XmitFrameSG()
2158 pTxdLst = pTxd; in XmitFrameSG()
2159 pTxd = pTxd->pNextTxd; in XmitFrameSG()
2172 pTxPort->pTxdRingHead = pTxd; in XmitFrameSG()
2205 TXD *pTxd; /* pointer to the checked descriptor */ in FreeTxDescriptors() local
2211 pTxd = pNewTail; in FreeTxDescriptors()
2217 Control = pTxd->TBControl; in FreeTxDescriptors()
2225 pTxPort->pTxdRingTail = pTxd; in FreeTxDescriptors()
2230 pTxPort->pTxdRingTail = pTxd; in FreeTxDescriptors()
2242 PhysAddr = ((SK_U64) pTxd->VDataHigh) << (SK_U64) 32; in FreeTxDescriptors()
2243 PhysAddr |= (SK_U64) pTxd->VDataLow; in FreeTxDescriptors()
2245 pTxd->pMBuf->len, in FreeTxDescriptors()
2249 DEV_KFREE_SKB_ANY(pTxd->pMBuf); /* free message */ in FreeTxDescriptors()
2252 pTxd->TBControl &= ~BMU_SW; in FreeTxDescriptors()
2253 pTxd = pTxd->pNextTxd; /* point behind fragment with EOF */ in FreeTxDescriptors()
2868 TXD *pTxd; /* pointer to the current descriptor */ local
2873 pTxd = pTxPort->pTxdRingHead;
2875 pTxd->TBControl &= ~BMU_OWN;
2876 pTxd = pTxd->pNextTxd;