Lines Matching refs:cur_tx
770 struct ste_chain *cur_tx; in ste_txeof() local
786 cur_tx = &sc->ste_cdata.ste_tx_chain[idx]; in ste_txeof()
787 txstat = le32toh(cur_tx->ste_ptr->ste_ctl); in ste_txeof()
790 bus_dmamap_sync(sc->ste_cdata.ste_tx_tag, cur_tx->ste_map, in ste_txeof()
792 bus_dmamap_unload(sc->ste_cdata.ste_tx_tag, cur_tx->ste_map); in ste_txeof()
793 KASSERT(cur_tx->ste_mbuf != NULL, in ste_txeof()
795 m_freem(cur_tx->ste_mbuf); in ste_txeof()
796 cur_tx->ste_mbuf = NULL; in ste_txeof()
1626 struct ste_chain *cur_tx; in ste_stop() local
1680 cur_tx = &sc->ste_cdata.ste_tx_chain[i]; in ste_stop()
1681 if (cur_tx->ste_mbuf != NULL) { in ste_stop()
1683 cur_tx->ste_map, BUS_DMASYNC_POSTWRITE); in ste_stop()
1685 cur_tx->ste_map); in ste_stop()
1686 m_freem(cur_tx->ste_mbuf); in ste_stop()
1687 cur_tx->ste_mbuf = NULL; in ste_stop()
1893 struct ste_chain *cur_tx; in ste_start_locked() local
1917 cur_tx = &sc->ste_cdata.ste_tx_chain[sc->ste_cdata.ste_tx_prod]; in ste_start_locked()
1918 if (ste_encap(sc, &m_head, cur_tx) != 0) { in ste_start_locked()
1942 sc->ste_cdata.ste_last_tx = cur_tx; in ste_start_locked()