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

1 2 3

  /src/sys/arch/mips/adm5120/dev/
if_admsw.c 538 int error, nexttx, len, i; local
574 nexttx = sc->sc_txnext;
575 desc = &sc->sc_txldescs[nexttx];
576 ds = &sc->sc_txlsoft[nexttx];
652 if (nexttx == ADMSW_NTXLDESC - 1)
657 ADMSW_CDTXLSYNC(sc, nexttx,
661 /* printf("send slot %d\n", nexttx); */
670 sc->sc_txnext = ADMSW_NEXTTXL(nexttx);
if_admsw.c 538 int error, nexttx, len, i; local
574 nexttx = sc->sc_txnext;
575 desc = &sc->sc_txldescs[nexttx];
576 ds = &sc->sc_txlsoft[nexttx];
652 if (nexttx == ADMSW_NTXLDESC - 1)
657 ADMSW_CDTXLSYNC(sc, nexttx,
661 /* printf("send slot %d\n", nexttx); */
670 sc->sc_txnext = ADMSW_NEXTTXL(nexttx);
if_admsw.c 538 int error, nexttx, len, i; local
574 nexttx = sc->sc_txnext;
575 desc = &sc->sc_txldescs[nexttx];
576 ds = &sc->sc_txlsoft[nexttx];
652 if (nexttx == ADMSW_NTXLDESC - 1)
657 ADMSW_CDTXLSYNC(sc, nexttx,
661 /* printf("send slot %d\n", nexttx); */
670 sc->sc_txnext = ADMSW_NEXTTXL(nexttx);
  /src/sys/dev/ic/
dp83932.c 291 int error, olasttx, nexttx, opending, totlen, olseg; local
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
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
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
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
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
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...]
smc83c170.c 365 int error, firsttx, nexttx, opending, seg; local
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
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
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
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
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
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...]
gem.c 1370 int error, firsttx, nexttx = -1, lasttx = -1, ofree, seg; local
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...]
  /src/sys/arch/mips/atheros/dev/
if_ae.c 547 int error, firsttx, nexttx, lasttx = 1, ofree, seg; local
657 for (nexttx = sc->sc_txnext, seg = 0;
659 seg++, nexttx = AE_NEXTTX(nexttx)) {
666 sc->sc_txdescs[nexttx].ad_status =
667 (nexttx == firsttx) ? 0 : ADSTAT_OWN;
668 sc->sc_txdescs[nexttx].ad_bufaddr1 =
670 sc->sc_txdescs[nexttx].ad_ctl =
673 (nexttx == (AE_NTXDESC - 1) ?
675 lasttx = nexttx;
    [all...]
if_ae.c 547 int error, firsttx, nexttx, lasttx = 1, ofree, seg; local
657 for (nexttx = sc->sc_txnext, seg = 0;
659 seg++, nexttx = AE_NEXTTX(nexttx)) {
666 sc->sc_txdescs[nexttx].ad_status =
667 (nexttx == firsttx) ? 0 : ADSTAT_OWN;
668 sc->sc_txdescs[nexttx].ad_bufaddr1 =
670 sc->sc_txdescs[nexttx].ad_ctl =
673 (nexttx == (AE_NTXDESC - 1) ?
675 lasttx = nexttx;
    [all...]
if_ae.c 547 int error, firsttx, nexttx, lasttx = 1, ofree, seg; local
657 for (nexttx = sc->sc_txnext, seg = 0;
659 seg++, nexttx = AE_NEXTTX(nexttx)) {
666 sc->sc_txdescs[nexttx].ad_status =
667 (nexttx == firsttx) ? 0 : ADSTAT_OWN;
668 sc->sc_txdescs[nexttx].ad_bufaddr1 =
670 sc->sc_txdescs[nexttx].ad_ctl =
673 (nexttx == (AE_NTXDESC - 1) ?
675 lasttx = nexttx;
    [all...]
  /src/sys/arch/sgimips/hpc/
if_sq.c 551 int err, totlen, nexttx, firsttx, lasttx = -1, ofree, seg; local
670 for (nexttx = sc->sc_nexttx, seg = 0, totlen = 0;
672 seg++, nexttx = SQ_NEXTTX(nexttx)) {
674 sc->sc_txdesc[nexttx].hpc3_hdd_bufptr =
676 sc->sc_txdesc[nexttx].hpc3_hdd_ctl =
679 sc->sc_txdesc[nexttx].hpc1_hdd_bufptr =
681 sc->sc_txdesc[nexttx].hpc1_hdd_ctl =
684 sc->sc_txdesc[nexttx].hdd_descptr =
685 SQ_CDTXADDR(sc, SQ_NEXTTX(nexttx));
    [all...]
if_sq.c 551 int err, totlen, nexttx, firsttx, lasttx = -1, ofree, seg; local
670 for (nexttx = sc->sc_nexttx, seg = 0, totlen = 0;
672 seg++, nexttx = SQ_NEXTTX(nexttx)) {
674 sc->sc_txdesc[nexttx].hpc3_hdd_bufptr =
676 sc->sc_txdesc[nexttx].hpc3_hdd_ctl =
679 sc->sc_txdesc[nexttx].hpc1_hdd_bufptr =
681 sc->sc_txdesc[nexttx].hpc1_hdd_ctl =
684 sc->sc_txdesc[nexttx].hdd_descptr =
685 SQ_CDTXADDR(sc, SQ_NEXTTX(nexttx));
    [all...]
if_sq.c 551 int err, totlen, nexttx, firsttx, lasttx = -1, ofree, seg; local
670 for (nexttx = sc->sc_nexttx, seg = 0, totlen = 0;
672 seg++, nexttx = SQ_NEXTTX(nexttx)) {
674 sc->sc_txdesc[nexttx].hpc3_hdd_bufptr =
676 sc->sc_txdesc[nexttx].hpc3_hdd_ctl =
679 sc->sc_txdesc[nexttx].hpc1_hdd_bufptr =
681 sc->sc_txdesc[nexttx].hpc1_hdd_ctl =
684 sc->sc_txdesc[nexttx].hdd_descptr =
685 SQ_CDTXADDR(sc, SQ_NEXTTX(nexttx));
    [all...]
  /src/sys/arch/mips/alchemy/dev/
if_aumac.c 390 int nexttx; local
412 nexttx = sc->sc_txnext;
421 (void *)sc->sc_txbufs[nexttx].buf_vaddr);
425 memset((char *)sc->sc_txbufs[nexttx].buf_vaddr +
430 MACDMA_TX_STAT(nexttx), 0);
432 MACDMA_TX_LEN(nexttx),
436 MACDMA_TX_ADDR(nexttx),
437 sc->sc_txbufs[nexttx].buf_paddr | TX_ADDR_EN);
444 sc->sc_txnext = AUMAC_NEXTTX(nexttx);
if_aumac.c 390 int nexttx; local
412 nexttx = sc->sc_txnext;
421 (void *)sc->sc_txbufs[nexttx].buf_vaddr);
425 memset((char *)sc->sc_txbufs[nexttx].buf_vaddr +
430 MACDMA_TX_STAT(nexttx), 0);
432 MACDMA_TX_LEN(nexttx),
436 MACDMA_TX_ADDR(nexttx),
437 sc->sc_txbufs[nexttx].buf_paddr | TX_ADDR_EN);
444 sc->sc_txnext = AUMAC_NEXTTX(nexttx);
if_aumac.c 390 int nexttx; local
412 nexttx = sc->sc_txnext;
421 (void *)sc->sc_txbufs[nexttx].buf_vaddr);
425 memset((char *)sc->sc_txbufs[nexttx].buf_vaddr +
430 MACDMA_TX_STAT(nexttx), 0);
432 MACDMA_TX_LEN(nexttx),
436 MACDMA_TX_ADDR(nexttx),
437 sc->sc_txbufs[nexttx].buf_paddr | TX_ADDR_EN);
444 sc->sc_txnext = AUMAC_NEXTTX(nexttx);

Completed in 145 milliseconds

1 2 3