Lines Matching refs:TSEC_TX_NUM_DESC
151 &sc->tsec_tx_dmap, sizeof(*sc->tsec_tx_vaddr) * TSEC_TX_NUM_DESC, in tsec_attach()
174 MCLBYTES * (TSEC_TX_NUM_DESC - 1), /* maxsize */ in tsec_attach()
205 for (i = 0; i < TSEC_TX_NUM_DESC; i++) { in tsec_attach()
249 if_setsendqlen(ifp, TSEC_TX_NUM_DESC - 1); in tsec_attach()
494 for (i = 0; i < TSEC_TX_NUM_DESC; i++) { in tsec_init_locked()
497 tx_desc[i].flags = ((i == TSEC_TX_NUM_DESC - 1) ? in tsec_init_locked()
827 tx_idx = (tx_idx + (uint32_t)nsegs) & (TSEC_TX_NUM_DESC - 1); in tsec_encap()
833 tx_idx = (tx_idx - 1) & (TSEC_TX_NUM_DESC - 1); in tsec_encap()
853 tx_desc->flags = (tx_idx == (TSEC_TX_NUM_DESC - 1) ? in tsec_encap()
1170 for (i = 0; i < TSEC_TX_NUM_DESC; i++) in tsec_free_dma()
1232 & (TSEC_TX_NUM_DESC - 1); in tsec_stop()
1456 tx_idx = (tx_idx + 1) & (TSEC_TX_NUM_DESC - 1); in tsec_transmit_intr_locked()