Home | History | Annotate | Download | only in pci

Lines Matching defs:txs

1541 	struct sip_txsoft *txs;
1564 while ((txs = SIMPLEQ_FIRST(&sc->sc_txfreeq)) != NULL) {
1573 dmamap = txs->txs_dmamap;
1715 txs->txs_mbuf = m0;
1716 txs->txs_firstdesc = sc->sc_txnext;
1717 txs->txs_lastdesc = lasttx;
1724 SIMPLEQ_INSERT_TAIL(&sc->sc_txdirtyq, txs, txs_q);
2041 struct sip_txsoft *txs;
2048 while ((txs = SIMPLEQ_FIRST(&sc->sc_txdirtyq)) != NULL) {
2049 sip_cdtxsync(sc, txs->txs_firstdesc, txs->txs_dmamap->dm_nsegs,
2053 txs->txs_lastdesc].sipd_words[sc->sc_cmdsts_idx]);
2059 sc->sc_txfree += txs->txs_dmamap->dm_nsegs;
2061 bus_dmamap_sync(sc->sc_dmat, txs->txs_dmamap,
2062 0, txs->txs_dmamap->dm_mapsize, BUS_DMASYNC_POSTWRITE);
2063 bus_dmamap_unload(sc->sc_dmat, txs->txs_dmamap);
2064 m_freem(txs->txs_mbuf);
2065 txs->txs_mbuf = NULL;
2067 SIMPLEQ_INSERT_TAIL(&sc->sc_txfreeq, txs, txs_q);
2098 if (txs == NULL) {
2605 struct sip_txsoft *txs;
2662 txs = &sc->sc_txsoft[i];
2663 txs->txs_mbuf = NULL;
2664 SIMPLEQ_INSERT_TAIL(&sc->sc_txfreeq, txs, txs_q);
2878 struct sip_txsoft *txs;
2904 while ((txs = SIMPLEQ_FIRST(&sc->sc_txdirtyq)) != NULL) {
2906 SIMPLEQ_NEXT(txs, txs_q) == NULL &&
2908 txs->txs_lastdesc].sipd_words[
2914 if (txs->txs_mbuf == NULL) {
2922 txs->txs_lastdesc].sipd_words[sc->sc_cmdsts_idx]);
2923 bus_dmamap_unload(sc->sc_dmat, txs->txs_dmamap);
2924 m_freem(txs->txs_mbuf);
2925 txs->txs_mbuf = NULL;
2926 SIMPLEQ_INSERT_TAIL(&sc->sc_txfreeq, txs, txs_q);