Lines Matching refs:tx_last_index
7602 sc->re_desc.tx_last_index = 0; in re_var_init()
7962 while (sc->re_desc.tx_last_index!=sc->re_desc.tx_cur_index) { in re_stop()
7965 sc->re_desc.re_tx_dmamap[sc->re_desc.tx_last_index], in re_stop()
7968 sc->re_desc.re_tx_dmamap[sc->re_desc.tx_last_index]); in re_stop()
7971 if (sc->re_desc.tx_buf[sc->re_desc.tx_last_index]!=NULL) { in re_stop()
7972 m_freem(sc->re_desc.tx_buf[sc->re_desc.tx_last_index]); in re_stop()
7973 sc->re_desc.tx_buf[sc->re_desc.tx_last_index] = NULL; in re_stop()
7975 sc->re_desc.tx_last_index = (sc->re_desc.tx_last_index+1)%RE_TX_BUF_NUM; in re_stop()
8183 int ret=desc.tx_last_index-desc.tx_cur_index; in CountFreeTxDescNum()
8243 while (sc->re_desc.tx_last_index!=sc->re_desc.tx_cur_index) { in re_txeof()
8244 txptr=&(sc->re_desc.tx_desc[sc->re_desc.tx_last_index]); in re_txeof()
8252 sc->re_desc.re_tx_dmamap[sc->re_desc.tx_last_index], in re_txeof()
8255 sc->re_desc.re_tx_dmamap[sc->re_desc.tx_last_index]); in re_txeof()
8257 if (sc->re_desc.tx_buf[sc->re_desc.tx_last_index]!=NULL) { in re_txeof()
8258 … m_freem(sc->re_desc.tx_buf[sc->re_desc.tx_last_index]); /* Free Current MBuf in a Mbuf list*/ in re_txeof()
8259 sc->re_desc.tx_buf[sc->re_desc.tx_last_index] = NULL; in re_txeof()
8262 sc->re_desc.tx_last_index = (sc->re_desc.tx_last_index+1)%RE_TX_BUF_NUM; in re_txeof()