HomeSort by: relevance | last modified time | path
    Searched defs:nexttx (Results 1 - 25 of 48) sorted by relevancy

1 2

  /src/sys/dev/ic/
sgec.c 323 int nexttx, starttx; local in function:zestart
335 nexttx = sc->sc_nexttx;
344 map = sc->sc_xmtmap[nexttx];
367 starttx = nexttx;
383 sc->sc_txmbuf[nexttx] = m;
385 zc->zc_xmit[nexttx].ze_bufsize = len;
386 zc->zc_xmit[nexttx].ze_bufaddr = (char *)buffer;
387 zc->zc_xmit[nexttx].ze_tdes1 = orword;
388 zc->zc_xmit[nexttx].ze_tdr = tdr;
390 if (++nexttx == TXDESCS
    [all...]
dp83932.c 291 int error, olasttx, nexttx, opending, totlen, olseg; local in function:sonic_start
321 nexttx = SONIC_NEXTTX(sc->sc_txlast);
322 ds = &sc->sc_txsoft[nexttx];
389 tda32 = &sc->sc_tda32[nexttx];
422 SONIC_NEXTTX(nexttx)) & 0xffff);
425 SONIC_CDTXSYNC32(sc, nexttx,
428 tda16 = &sc->sc_tda16[nexttx];
461 SONIC_NEXTTX(nexttx)) & 0xffff);
464 SONIC_CDTXSYNC16(sc, nexttx,
470 sc->sc_txlast = nexttx;
    [all...]
sgec.c 323 int nexttx, starttx; local in function:zestart
335 nexttx = sc->sc_nexttx;
344 map = sc->sc_xmtmap[nexttx];
367 starttx = nexttx;
383 sc->sc_txmbuf[nexttx] = m;
385 zc->zc_xmit[nexttx].ze_bufsize = len;
386 zc->zc_xmit[nexttx].ze_bufaddr = (char *)buffer;
387 zc->zc_xmit[nexttx].ze_tdes1 = orword;
388 zc->zc_xmit[nexttx].ze_tdr = tdr;
390 if (++nexttx == TXDESCS
    [all...]
dp83932.c 291 int error, olasttx, nexttx, opending, totlen, olseg; local in function:sonic_start
321 nexttx = SONIC_NEXTTX(sc->sc_txlast);
322 ds = &sc->sc_txsoft[nexttx];
389 tda32 = &sc->sc_tda32[nexttx];
422 SONIC_NEXTTX(nexttx)) & 0xffff);
425 SONIC_CDTXSYNC32(sc, nexttx,
428 tda16 = &sc->sc_tda16[nexttx];
461 SONIC_NEXTTX(nexttx)) & 0xffff);
464 SONIC_CDTXSYNC16(sc, nexttx,
470 sc->sc_txlast = nexttx;
    [all...]
smc83c170.c 365 int error, firsttx, nexttx, opending, seg; local in function:epic_start
392 nexttx = EPIC_NEXTTX(sc->sc_txlast);
393 txd = EPIC_CDTX(sc, nexttx);
394 fr = EPIC_CDFL(sc, nexttx);
395 ds = EPIC_DSTX(sc, nexttx);
461 EPIC_CDFLSYNC(sc, nexttx, BUS_DMASYNC_PREWRITE);
482 if (nexttx == firsttx)
488 EPIC_CDTXSYNC(sc, nexttx,
493 sc->sc_txlast = nexttx;
smc83c170.c 365 int error, firsttx, nexttx, opending, seg; local in function:epic_start
392 nexttx = EPIC_NEXTTX(sc->sc_txlast);
393 txd = EPIC_CDTX(sc, nexttx);
394 fr = EPIC_CDFL(sc, nexttx);
395 ds = EPIC_DSTX(sc, nexttx);
461 EPIC_CDFLSYNC(sc, nexttx, BUS_DMASYNC_PREWRITE);
482 if (nexttx == firsttx)
488 EPIC_CDTXSYNC(sc, nexttx,
493 sc->sc_txlast = nexttx;
hd64570.c 1006 int nexttx; local in function:sca_start
1060 nexttx = (scp->sp_txcur + 1) % scp->sp_ntxdesc;
1062 nexttx = 0;
1066 nexttx = (scp->sp_txcur + 1) % scp->sp_ntxdesc;
1068 nexttx = 0;
1070 SCA_DPRINTF(SCA_DEBUG_TX, ("TX: nexttx %d\n", nexttx));
1072 buf = scp->sp_txbuf + SCA_BSIZE * nexttx;
1073 buf_p = scp->sp_txbuf_p + SCA_BSIZE * nexttx;
1076 desc = &scp->sp_txdesc[nexttx];
    [all...]
hd64570.c 1006 int nexttx; local in function:sca_start
1060 nexttx = (scp->sp_txcur + 1) % scp->sp_ntxdesc;
1062 nexttx = 0;
1066 nexttx = (scp->sp_txcur + 1) % scp->sp_ntxdesc;
1068 nexttx = 0;
1070 SCA_DPRINTF(SCA_DEBUG_TX, ("TX: nexttx %d\n", nexttx));
1072 buf = scp->sp_txbuf + SCA_BSIZE * nexttx;
1073 buf_p = scp->sp_txbuf_p + SCA_BSIZE * nexttx;
1076 desc = &scp->sp_txdesc[nexttx];
    [all...]
i82557.c 809 int error, lasttx, nexttx, opending, seg, nsegs, len; local in function:fxp_start
853 nexttx = FXP_NEXTTX(sc->sc_txlast);
854 txd = FXP_CDTX(sc, nexttx);
855 txs = FXP_DSTX(sc, nexttx);
995 FXP_CDTXSYNC(sc, nexttx,
1000 sc->sc_txlast = nexttx;
gem.c 1370 int error, firsttx, nexttx = -1, lasttx = -1, ofree, seg; local in function:gem_start
1489 for (nexttx = firsttx, seg = 0;
1491 seg++, nexttx = GEM_NEXTTX(nexttx)) {
1500 if (nexttx == firsttx) {
1539 sc->sc_txdescs[nexttx].gd_addr =
1545 sc->sc_txdescs[nexttx].gd_flags =
1548 lasttx = nexttx;
1556 sc->sc_txdescs[nexttx].gd_addr =
1561 lasttx = nexttx;
    [all...]
i82557.c 809 int error, lasttx, nexttx, opending, seg, nsegs, len; local in function:fxp_start
853 nexttx = FXP_NEXTTX(sc->sc_txlast);
854 txd = FXP_CDTX(sc, nexttx);
855 txs = FXP_DSTX(sc, nexttx);
995 FXP_CDTXSYNC(sc, nexttx,
1000 sc->sc_txlast = nexttx;
  /src/sys/arch/mips/adm5120/dev/
if_admsw.c 543 int error, nexttx, len, i; local in function:admsw_start
579 nexttx = sc->sc_txnext;
580 desc = &sc->sc_txldescs[nexttx];
581 ds = &sc->sc_txlsoft[nexttx];
657 if (nexttx == ADMSW_NTXLDESC - 1)
662 ADMSW_CDTXLSYNC(sc, nexttx,
666 /* printf("send slot %d\n", nexttx); */
675 sc->sc_txnext = ADMSW_NEXTTXL(nexttx);
if_admsw.c 543 int error, nexttx, len, i; local in function:admsw_start
579 nexttx = sc->sc_txnext;
580 desc = &sc->sc_txldescs[nexttx];
581 ds = &sc->sc_txlsoft[nexttx];
657 if (nexttx == ADMSW_NTXLDESC - 1)
662 ADMSW_CDTXLSYNC(sc, nexttx,
666 /* printf("send slot %d\n", nexttx); */
675 sc->sc_txnext = ADMSW_NEXTTXL(nexttx);
  /src/sys/arch/mips/atheros/dev/
if_ae.c 552 int error, firsttx, nexttx, lasttx = 1, ofree, seg; local in function:ae_start
662 for (nexttx = sc->sc_txnext, seg = 0;
664 seg++, nexttx = AE_NEXTTX(nexttx)) {
671 sc->sc_txdescs[nexttx].ad_status =
672 (nexttx == firsttx) ? 0 : ADSTAT_OWN;
673 sc->sc_txdescs[nexttx].ad_bufaddr1 =
675 sc->sc_txdescs[nexttx].ad_ctl =
678 (nexttx == (AE_NTXDESC - 1) ?
680 lasttx = nexttx;
    [all...]
if_ae.c 552 int error, firsttx, nexttx, lasttx = 1, ofree, seg; local in function:ae_start
662 for (nexttx = sc->sc_txnext, seg = 0;
664 seg++, nexttx = AE_NEXTTX(nexttx)) {
671 sc->sc_txdescs[nexttx].ad_status =
672 (nexttx == firsttx) ? 0 : ADSTAT_OWN;
673 sc->sc_txdescs[nexttx].ad_bufaddr1 =
675 sc->sc_txdescs[nexttx].ad_ctl =
678 (nexttx == (AE_NTXDESC - 1) ?
680 lasttx = nexttx;
    [all...]
  /src/sys/arch/sgimips/hpc/
if_sq.c 534 int err, totlen, nexttx, firsttx, lasttx = -1, ofree, seg; local in function:sq_start
653 for (nexttx = sc->sc_nexttx, seg = 0, totlen = 0;
655 seg++, nexttx = SQ_NEXTTX(nexttx)) {
657 sc->sc_txdesc[nexttx].hpc3_hdd_bufptr =
659 sc->sc_txdesc[nexttx].hpc3_hdd_ctl =
662 sc->sc_txdesc[nexttx].hpc1_hdd_bufptr =
664 sc->sc_txdesc[nexttx].hpc1_hdd_ctl =
667 sc->sc_txdesc[nexttx].hdd_descptr =
668 SQ_CDTXADDR(sc, SQ_NEXTTX(nexttx));
    [all...]
if_sq.c 534 int err, totlen, nexttx, firsttx, lasttx = -1, ofree, seg; local in function:sq_start
653 for (nexttx = sc->sc_nexttx, seg = 0, totlen = 0;
655 seg++, nexttx = SQ_NEXTTX(nexttx)) {
657 sc->sc_txdesc[nexttx].hpc3_hdd_bufptr =
659 sc->sc_txdesc[nexttx].hpc3_hdd_ctl =
662 sc->sc_txdesc[nexttx].hpc1_hdd_bufptr =
664 sc->sc_txdesc[nexttx].hpc1_hdd_ctl =
667 sc->sc_txdesc[nexttx].hdd_descptr =
668 SQ_CDTXADDR(sc, SQ_NEXTTX(nexttx));
    [all...]
  /src/sys/arch/mips/alchemy/dev/
if_aumac.c 395 int nexttx; local in function:aumac_start
417 nexttx = sc->sc_txnext;
426 (void *)sc->sc_txbufs[nexttx].buf_vaddr);
430 memset((char *)sc->sc_txbufs[nexttx].buf_vaddr +
435 MACDMA_TX_STAT(nexttx), 0);
437 MACDMA_TX_LEN(nexttx),
441 MACDMA_TX_ADDR(nexttx),
442 sc->sc_txbufs[nexttx].buf_paddr | TX_ADDR_EN);
449 sc->sc_txnext = AUMAC_NEXTTX(nexttx);
if_aumac.c 395 int nexttx; local in function:aumac_start
417 nexttx = sc->sc_txnext;
426 (void *)sc->sc_txbufs[nexttx].buf_vaddr);
430 memset((char *)sc->sc_txbufs[nexttx].buf_vaddr +
435 MACDMA_TX_STAT(nexttx), 0);
437 MACDMA_TX_LEN(nexttx),
441 MACDMA_TX_ADDR(nexttx),
442 sc->sc_txbufs[nexttx].buf_paddr | TX_ADDR_EN);
449 sc->sc_txnext = AUMAC_NEXTTX(nexttx);
  /src/sys/dev/pci/
if_xge.c 101 #define NEXTTX(x) (((x)+1) % NTXDESCS)
732 while ((i = NEXTTX(sc->sc_lasttx)) != sc->sc_nexttx) {
946 int nexttx = 0, ntxd, error, i; local in function:xge_start
960 nexttx = sc->sc_nexttx;
961 dmp = sc->sc_txm[nexttx];
974 txd = sc->sc_txd[nexttx];
975 sc->sc_txb[nexttx] = m;
984 ntxd = txd - sc->sc_txd[nexttx] - 1;
985 txd = sc->sc_txd[nexttx];
1004 par = sc->sc_txdp[nexttx];
    [all...]
if_ste.c 656 int error, olasttx, nexttx, opending, seg, totlen; local in function:ste_start
685 nexttx = STE_NEXTTX(sc->sc_txlast);
686 tfd = &sc->sc_txdescs[nexttx];
687 ds = &sc->sc_txsoft[nexttx];
754 tfd->tfd_next = htole32(STE_CDTXADDR(sc, nexttx));
755 tfd->tfd_control = htole32(TFD_FrameId(nexttx) | (totlen & 3));
758 STE_CDTXSYNC(sc, nexttx,
770 sc->sc_txlast = nexttx;
if_vr.c 1010 int error, firsttx, nexttx, opending; local in function:vr_start
1041 nexttx = VR_NEXTTX(sc->vr_txlast);
1042 d = VR_CDTX(sc, nexttx);
1043 ds = VR_DSTX(sc, nexttx);
1125 if (nexttx == firsttx)
1130 VR_CDTXSYNC(sc, nexttx,
1135 sc->vr_txlast = nexttx;
if_xge.c 101 #define NEXTTX(x) (((x)+1) % NTXDESCS)
732 while ((i = NEXTTX(sc->sc_lasttx)) != sc->sc_nexttx) {
946 int nexttx = 0, ntxd, error, i; local in function:xge_start
960 nexttx = sc->sc_nexttx;
961 dmp = sc->sc_txm[nexttx];
974 txd = sc->sc_txd[nexttx];
975 sc->sc_txb[nexttx] = m;
984 ntxd = txd - sc->sc_txd[nexttx] - 1;
985 txd = sc->sc_txd[nexttx];
1004 par = sc->sc_txdp[nexttx];
    [all...]
  /src/sys/arch/powerpc/ibm4xx/dev/
if_emac.c 670 int error, firsttx, nexttx, lasttx, ofree, seg; local in function:emac_start
770 for (nexttx = sc->sc_txnext, seg = 0;
772 seg++, nexttx = EMAC_NEXTTX(nexttx)) {
774 &sc->sc_txdescs[nexttx];
786 (nexttx == firsttx ? 0 : MAL_TX_READY) |
788 lasttx = nexttx;
822 sc->sc_txnext = nexttx;
if_emac.c 670 int error, firsttx, nexttx, lasttx, ofree, seg; local in function:emac_start
770 for (nexttx = sc->sc_txnext, seg = 0;
772 seg++, nexttx = EMAC_NEXTTX(nexttx)) {
774 &sc->sc_txdescs[nexttx];
786 (nexttx == firsttx ? 0 : MAL_TX_READY) |
788 lasttx = nexttx;
822 sc->sc_txnext = nexttx;

Completed in 112 milliseconds

1 2