HomeSort by: relevance | last modified time | path
    Searched refs:sc_txnext (Results 1 - 25 of 25) sorted by relevancy

  /src/sys/arch/arm/ti/
if_cpsw.c 132 volatile u_int sc_txnext; member in struct:cpsw_softc
635 if (sc->sc_txnext >= sc->sc_txhead)
636 txfree = CPSW_NTXDESCS - 1 + sc->sc_txhead - sc->sc_txnext;
638 txfree = sc->sc_txhead - sc->sc_txnext - 1;
641 txfree, sc->sc_txhead, sc->sc_txnext, sc->sc_txrun);
648 dm = rdp->tx_dm[sc->sc_txnext];
671 KASSERT(rdp->tx_mb[sc->sc_txnext] == NULL);
672 rdp->tx_mb[sc->sc_txnext] = m;
679 txstart = sc->sc_txnext;
680 eopi = sc->sc_txnext;
    [all...]
  /src/sys/arch/powerpc/mpc5200/
fecvar.h 77 u_int sc_txnext; /* next tx BD to fill */ member in struct:fec_softc
fec.c 528 sc->sc_txnext = sc->sc_txdirty = sc->sc_txbusy = 0;
625 idx = sc->sc_txnext;
653 sc->sc_txnext = (idx + 1) % FEC_NTXDESC;
  /src/sys/dev/ic/
anvar.h 133 int sc_txnext; member in struct:an_softc
awivar.h 108 u_int32_t sc_txnext; member in struct:awi_softc
gemvar.h 197 int sc_txnext; /* next ready Tx descriptor */ member in struct:gem_softc
atwvar.h 227 int sc_txnext; /* next ready Tx descriptor */ member in struct:atw_softc
gem.c 959 sc->sc_txnext = 0;
1201 bus_space_write_4(t, h, GEM_TX_KICK, sc->sc_txnext);
1385 otxnext = sc->sc_txnext;
1488 firsttx = sc->sc_txnext;
1575 txs->txs_firstdesc = sc->sc_txnext;
1593 sc->sc_txnext = nexttx;
1614 sc->sc_txnext);
tulip.c 706 firsttx = sc->sc_txnext;
801 for (nexttx = sc->sc_txnext, seg = 0;
826 sc->sc_txdescs[sc->sc_txnext].td_ctl |= htole32(TDCTL_Tx_FS);
832 for (seg = sc->sc_txnext;; seg = TULIP_NEXTTX(seg)) {
850 TULIP_CDTXSYNC(sc, sc->sc_txnext, dmamap->dm_nsegs,
859 txs->txs_firstdesc = sc->sc_txnext;
865 sc->sc_txnext = nexttx;
1784 sc->sc_txnext = 0;
1856 TULIP_WRITE(sc, CSR_TXLIST, TULIP_CDTXADDR(sc, sc->sc_txnext));
2752 txs->txs_firstdesc = sc->sc_txnext;
    [all...]
awi.c 509 sc->sc_txdone = sc->sc_txnext = sc->sc_txbase;
638 txd = sc->sc_txnext;
747 sc->sc_txnext = ntxd;
1121 while (sc->sc_txdone != sc->sc_txnext) {
1131 sc->sc_txdone, sc->sc_txnext, sc->sc_txbase, sc->sc_txend));
1591 txd = sc->sc_txnext;
tulipvar.h 431 int sc_txnext; /* next ready Tx descriptor */ member in struct:tulip_softc
atw.c 1278 sc->sc_txnext = 0;
1346 ATW_WRITE(sc, ATW_TDBD, ATW_CDTXADDR(sc, sc->sc_txnext));
3531 firsttx = lasttx = sc->sc_txnext;
3801 for (nexttx = sc->sc_txnext, seg = 0;
3824 sc->sc_txdescs[sc->sc_txnext].at_flags |=
3831 for (seg = sc->sc_txnext;; seg = ATW_NEXTTX(seg)) {
3848 ATW_CDTXSYNC(sc, sc->sc_txnext, dmamap->dm_nsegs,
3857 txs->txs_firstdesc = sc->sc_txnext;
3863 sc->sc_txnext = nexttx;
an.c 564 sc->sc_txcur = sc->sc_txnext = 0;
736 cur = sc->sc_txnext;
849 sc->sc_txnext = cur;
  /src/sys/arch/mips/atheros/dev/
if_ae.c 561 firsttx = sc->sc_txnext;
657 for (nexttx = sc->sc_txnext, seg = 0;
681 sc->sc_txdescs[sc->sc_txnext].ad_ctl |= ADCTL_Tx_FS;
687 for (seg = sc->sc_txnext;; seg = AE_NEXTTX(seg)) {
704 AE_CDTXSYNC(sc, sc->sc_txnext, dmamap->dm_nsegs,
713 txs->txs_firstdesc = sc->sc_txnext;
719 sc->sc_txnext = nexttx;
1326 sc->sc_txnext = 0;
1384 AE_WRITE(sc, CSR_TXLIST, AE_CDTXADDR(sc, sc->sc_txnext));
aevar.h 176 int sc_txnext; /* next ready Tx descriptor */ member in struct:ae_softc
  /src/sys/dev/pci/
if_pcn.c 298 int sc_txnext; /* next ready Tx descriptor */ member in struct:pcn_softc
1055 for (nexttx = sc->sc_txnext, seg = 0;
1069 (nexttx == sc->sc_txnext ? 0 : LE_T1_OWN) |
1075 for (nexttx = sc->sc_txnext, seg = 0;
1089 (nexttx == sc->sc_txnext ? 0 : LE_T1_OWN) |
1103 sc->sc_txdescs[sc->sc_txnext].tmd1 |=
1107 PCN_CDTXSYNC(sc, sc->sc_txnext, dmamap->dm_nsegs,
1119 txs->txs_firstdesc = sc->sc_txnext;
1124 sc->sc_txnext = nexttx;
1637 sc->sc_txnext = 0
    [all...]
if_kse.c 253 int sc_txnext; /* next ready Tx descriptor */ member in struct:kse_softc
732 sc->sc_txnext = 0;
900 sc->sc_txfree, sc->sc_txsfree, sc->sc_txnext);
986 for (nexttx = sc->sc_txnext, seg = 0;
1021 sc->sc_txdescs[sc->sc_txnext].t1 |= T1_FS;
1022 sc->sc_txdescs[sc->sc_txnext].t0 = T0_OWN;
1023 KSE_CDTXSYNC(sc, sc->sc_txnext, dmamap->dm_nsegs,
1030 txs->txs_firstdesc = sc->sc_txnext;
1035 sc->sc_txnext = nexttx;
if_dge.c 308 int sc_txnext; /* next ready Tx descriptor */ member in struct:dge_softc
1154 t = (struct dge_ctdes *)&sc->sc_txdescs[sc->sc_txnext];
1159 DGE_CDTXSYNC(sc, sc->sc_txnext, 1, BUS_DMASYNC_PREWRITE);
1164 sc->sc_txnext = DGE_NEXTTX(sc->sc_txnext);
1307 txs->txs_firstdesc = sc->sc_txnext;
1330 for (nexttx = sc->sc_txnext, seg = 0;
1369 DGE_CDTXSYNC(sc, sc->sc_txnext, dmamap->dm_nsegs,
1384 sc->sc_txnext = nexttx;
1423 sc->sc_txnext);
    [all...]
if_sip.c 286 int sc_txnext; /* next ready Tx descriptor */ member in struct:sip_softc
553 sc->sc_txnext = 0;
1527 sc->sc_txdescs[sc->sc_txnext].sipd_words[sc->sc_extsts_idx] |= extsts;
1547 int firsttx = sc->sc_txnext;
1663 for (nexttx = lasttx = sc->sc_txnext, seg = 0;
1674 if (nexttx != sc->sc_txnext)
1698 sip_cdtxsync(sc, sc->sc_txnext, dmamap->dm_nsegs,
1705 sc->sc_txdescs[sc->sc_txnext].sipd_words[sc->sc_cmdsts_idx] |=
1707 sip_cdtxsync(sc, sc->sc_txnext, 1,
1716 txs->txs_firstdesc = sc->sc_txnext;
    [all...]
  /src/sys/arch/mips/alchemy/dev/
if_aumac.c 138 int sc_txnext; /* next Tx descriptor to use */ member in struct:aumac_softc
412 nexttx = sc->sc_txnext;
444 sc->sc_txnext = AUMAC_NEXTTX(nexttx);
773 sc->sc_txnext = TX_ADDR_CB(bus_space_read_4(sc->sc_st, sc->sc_dma_sh,
775 sc->sc_txdirty = sc->sc_txnext;
  /src/sys/arch/powerpc/ibm4xx/dev/
if_emac.c 274 int sc_txnext; /* next ready Tx descriptor */ member in struct:emac_softc
1409 txs->txs_firstdesc = sc->sc_txnext;
1428 firsttx = sc->sc_txnext;
1429 for (nexttx = sc->sc_txnext, seg = 0;
1464 EMAC_CDTXSYNC(sc, sc->sc_txnext, dmamap->dm_nsegs,
1481 sc->sc_txnext = nexttx;
1597 sc->sc_txnext = 0;
1826 sc->sc_txfree, sc->sc_txsfree, sc->sc_txnext);
  /src/sys/arch/macppc/dev/
if_gm.c 77 int sc_txnext; member in struct:gmac_softc
466 i = sc->sc_txnext;
481 sc->sc_txnext = i;
538 sc->sc_txnext = 0;
  /src/sys/arch/mips/adm5120/dev/
if_admswvar.h 143 int sc_txnext; /* next Tx descriptor to use */ member in struct:admsw_softc
if_admsw.c 230 sc->sc_txnext = 0;
574 nexttx = sc->sc_txnext;
670 sc->sc_txnext = ADMSW_NEXTTXL(nexttx);
  /src/sys/arch/arm/sociox/
if_scx.c 486 int sc_txnext; /* next ready Tx descriptor */ member in struct:scx_softc
1143 sc->sc_txnext = 0;
1428 for (nexttx = sc->sc_txnext, seg = 0;
1456 sc->sc_txdescs[sc->sc_txnext].t0 |= htole32(T0_FS | T0_OWN);
1457 SCX_CDTXSYNC(sc, sc->sc_txnext, dmamap->dm_nsegs,
1464 txs->txs_firstdesc = sc->sc_txnext;
1468 sc->sc_txnext = nexttx;
1498 sc->sc_txfree, sc->sc_txsfree, sc->sc_txnext);

Completed in 54 milliseconds