Lines Matching refs:LMC_TXDESCS
1161 for (i = 0; i < LMC_TXDESCS; i++) in lmc_ifdown()
1241 i = badtx % LMC_TXDESCS; in lmc_interrupt()
1285 i = badtx % LMC_TXDESCS; in lmc_interrupt()
1288 if (sc->lmc_next_tx - badtx > LMC_TXDESCS) in lmc_interrupt()
1291 badtx += LMC_TXDESCS; in lmc_interrupt()
1368 entry = sc->lmc_next_tx % LMC_TXDESCS; in lmc_start_xmit()
1377 if (sc->lmc_next_tx - sc->lmc_taint_tx < LMC_TXDESCS / 2) in lmc_start_xmit()
1383 else if (sc->lmc_next_tx - sc->lmc_taint_tx == LMC_TXDESCS / 2) in lmc_start_xmit()
1389 else if (sc->lmc_next_tx - sc->lmc_taint_tx < LMC_TXDESCS - 1) in lmc_start_xmit()
1405 if (sc->lmc_next_tx - sc->lmc_taint_tx >= LMC_TXDESCS - 1) in lmc_start_xmit()
1415 if (entry == LMC_TXDESCS - 1) /* last descriptor in ring */ in lmc_start_xmit()
1796 for (i = 0; i < LMC_TXDESCS; i++) in lmc_softreset()