Lines Matching refs:pTxPort
1870 TX_PORT *pTxPort, /* pointer to struct of port to send to */ in XmitFrame() argument
1883 spin_lock_irqsave(&pTxPort->TxDesRingLock, Flags); in XmitFrame()
1885 FreeTxDescriptors(pAC, pTxPort); in XmitFrame()
1887 if (pTxPort->TxdRingFree == 0) { in XmitFrame()
1892 FreeTxDescriptors(pAC, pTxPort); in XmitFrame()
1893 if (pTxPort->TxdRingFree == 0) { in XmitFrame()
1894 spin_unlock_irqrestore(&pTxPort->TxDesRingLock, Flags); in XmitFrame()
1895 SK_PNMI_CNT_NO_TX_BUF(pAC, pTxPort->PortIndex); in XmitFrame()
1927 pTxd = pTxPort->pTxdRingHead; in XmitFrame()
1928 pTxPort->pTxdRingHead = pTxd->pNextTxd; in XmitFrame()
1929 pTxPort->TxdRingFree--; in XmitFrame()
1986 pOldTxd = xchg(&pTxPort->pTxdRingPrev, pTxd); in XmitFrame()
1988 SK_OUT8(pTxPort->HwAddr, Q_CSR, CSR_START); in XmitFrame()
1994 spin_unlock_irqrestore(&pTxPort->TxDesRingLock, Flags); in XmitFrame()
1995 if (pTxPort->TxdRingFree != 0) { in XmitFrame()
2020 TX_PORT *pTxPort, /* pointer to struct of port to send to */ in XmitFrameSG() argument
2035 spin_lock_irqsave(&pTxPort->TxDesRingLock, Flags); in XmitFrameSG()
2037 FreeTxDescriptors(pAC, pTxPort); in XmitFrameSG()
2039 if ((skb_shinfo(pMessage)->nr_frags +1) > pTxPort->TxdRingFree) { in XmitFrameSG()
2040 FreeTxDescriptors(pAC, pTxPort); in XmitFrameSG()
2041 if ((skb_shinfo(pMessage)->nr_frags + 1) > pTxPort->TxdRingFree) { in XmitFrameSG()
2042 spin_unlock_irqrestore(&pTxPort->TxDesRingLock, Flags); in XmitFrameSG()
2043 SK_PNMI_CNT_NO_TX_BUF(pAC, pTxPort->PortIndex); in XmitFrameSG()
2052 pTxd = pTxPort->pTxdRingHead; in XmitFrameSG()
2102 pTxPort->TxdRingFree--; in XmitFrameSG()
2160 pTxPort->TxdRingFree--; in XmitFrameSG()
2167 if ((pTxPort->pTxdRingPrev->TBControl & BMU_OWN) == 0) { in XmitFrameSG()
2168 SK_OUT8(pTxPort->HwAddr, Q_CSR, CSR_START); in XmitFrameSG()
2171 pTxPort->pTxdRingPrev = pTxdLst; in XmitFrameSG()
2172 pTxPort->pTxdRingHead = pTxd; in XmitFrameSG()
2174 spin_unlock_irqrestore(&pTxPort->TxDesRingLock, Flags); in XmitFrameSG()
2176 if (pTxPort->TxdRingFree > 0) { in XmitFrameSG()
2203 TX_PORT *pTxPort) /* pointer to destination port structure */ in FreeTxDescriptors() argument
2210 pNewTail = pTxPort->pTxdRingTail; in FreeTxDescriptors()
2225 pTxPort->pTxdRingTail = pTxd; in FreeTxDescriptors()
2226 netif_wake_queue(pAC->dev[pTxPort->PortIndex]); in FreeTxDescriptors()
2230 pTxPort->pTxdRingTail = pTxd; in FreeTxDescriptors()
2231 if (pTxPort->TxdRingFree > 0) { in FreeTxDescriptors()
2232 netif_wake_queue(pAC->dev[pTxPort->PortIndex]); in FreeTxDescriptors()
2251 pTxPort->TxdRingFree++; in FreeTxDescriptors()
2866 TX_PORT *pTxPort) /* pointer to tx prt struct */ argument
2872 spin_lock_irqsave(&pTxPort->TxDesRingLock, Flags);
2873 pTxd = pTxPort->pTxdRingHead;
2878 FreeTxDescriptors(pAC, pTxPort);
2879 spin_unlock_irqrestore(&pTxPort->TxDesRingLock, Flags);