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

  /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...]
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...]
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...]
atw.c 3518 int ctl, error, firsttx, nexttx, lasttx, first, ofree, seg; local in function:atw_start
3801 for (nexttx = sc->sc_txnext, seg = 0;
3803 seg++, nexttx = ATW_NEXTTX(nexttx)) {
3810 txd = &sc->sc_txdescs[nexttx];
3812 ((nexttx == firsttx) ? 0 : htole32(ATW_TXCTL_OWN));
3818 ((nexttx == (ATW_NTXDESC - 1))
3820 lasttx = nexttx;
3863 sc->sc_txnext = nexttx;
tulip.c 678 int error, firsttx, nexttx, lasttx = 1, ofree, seg; local in function:tlp_start
799 for (nexttx = sc->sc_txnext, seg = 0;
801 seg++, nexttx = TULIP_NEXTTX(nexttx)) {
808 txd = &sc->sc_txdescs[nexttx];
810 (nexttx == firsttx) ? 0 : htole32(TDSTAT_OWN);
816 (nexttx == (TULIP_NTXDESC - 1) ?
818 lasttx = nexttx;
863 sc->sc_txnext = nexttx;
2554 int cnt, nexttx; local in function:tlp_filter_setup
    [all...]
  /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);
  /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...]
  /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...]
  /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);
  /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_dge.c 1185 int error, nexttx, lasttx = -1, ofree, seg; local in function:dge_start
1330 for (nexttx = sc->sc_txnext, seg = 0;
1332 seg++, nexttx = DGE_NEXTTX(nexttx)) {
1333 sc->sc_txdescs[nexttx].dt_baddrh =
1335 sc->sc_txdescs[nexttx].dt_baddrl =
1337 sc->sc_txdescs[nexttx].dt_ctl =
1339 sc->sc_txdescs[nexttx].dt_status = 0;
1340 sc->sc_txdescs[nexttx].dt_popts = cksumfields;
1341 sc->sc_txdescs[nexttx].dt_vlan = 0
    [all...]
if_stge.c 826 int error, firsttx, nexttx, opending, seg, totlen; local in function:stge_start
875 nexttx = STGE_NEXTTX(sc->sc_txlast);
876 tfd = &sc->sc_txdescs[nexttx];
877 ds = &sc->sc_txsoft[nexttx];
970 tfc = TFD_FrameId(nexttx) | TFD_WordAlign(/*totlen & */3) |
972 (((nexttx & STGE_TXINTR_SPACING_MASK) == 0) ?
991 STGE_CDTXSYNC(sc, nexttx,
1007 sc->sc_txlast = nexttx;
if_pcn.c 919 int error, nexttx, lasttx = -1, ofree, seg; local in function:pcn_start
1042 for (nexttx = sc->sc_txnext, seg = 0;
1044 seg++, nexttx = PCN_NEXTTX(nexttx)) {
1051 sc->sc_txdescs[nexttx].tmd0 = 0;
1052 sc->sc_txdescs[nexttx].tmd2 =
1054 sc->sc_txdescs[nexttx].tmd1 =
1056 (nexttx == sc->sc_txnext ? 0 : LE_T1_OWN) |
1059 lasttx = nexttx;
1062 for (nexttx = sc->sc_txnext, seg = 0
    [all...]
if_kse.c 920 int error, nexttx, lasttx, ofree, seg; local in function:kse_start
986 for (nexttx = sc->sc_txnext, seg = 0;
988 seg++, nexttx = KSE_NEXTTX(nexttx)) {
989 struct tdes *tdes = &sc->sc_txdescs[nexttx];
1001 lasttx = nexttx;
1035 sc->sc_txnext = nexttx;
if_sip.c 1543 int error, nexttx, lasttx, seg; local in function:sipcom_start
1663 for (nexttx = lasttx = sc->sc_txnext, seg = 0;
1665 seg++, nexttx = sip_nexttx(sc, nexttx)) {
1674 if (nexttx != sc->sc_txnext)
1678 sip_init_txdesc(sc, nexttx,
1680 lasttx = nexttx;
1721 sc->sc_txnext = nexttx;
if_wm.c 5406 int nexttx; local in function:wm_flush_desc_rings
5436 nexttx = txq->txq_next;
5437 txd = &txq->txq_descs[nexttx];
8942 int error, nexttx, lasttx = -1, ofree, seg, segs_needed, use_tso; local in function:wm_send_common_locked
9155 for (nexttx = txq->txq_next, seg = 0;
9161 nexttx = WM_NEXTTX(txq, nexttx)) {
9175 &txq->txq_descs[nexttx].wtx_addr, curaddr);
9176 txq->txq_descs[nexttx].wtx_cmdlen
9178 txq->txq_descs[nexttx].wtx_fields.wtxu_statu
9560 int error, nexttx, lasttx = -1, seg, segs_needed; local in function:wm_nq_send_common_locked
    [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;
  /src/sys/arch/sgimips/mace/
if_mec.c 950 int error, firsttx, nexttx, opending; local in function:mec_start
976 nexttx = MEC_NEXTTX(sc->sc_txlast);
977 txd = &sc->sc_txdesc[nexttx];
978 txs = &sc->sc_txsoft[nexttx];
991 ("%s: len = %d, nexttx = %d, txpending = %d\n",
992 __func__, len, nexttx, sc->sc_txpending));
1311 (nexttx & (MEC_NTXDESC_INTR - 1)) == 0)
1380 MEC_TXDESCSYNC(sc, nexttx,
1384 bus_space_write_8(st, sh, MEC_TX_RING_PTR, MEC_NEXTTX(nexttx));
1388 sc->sc_txlast = nexttx;
    [all...]
  /src/sys/arch/arm/sociox/
if_scx.c 1369 int error, nexttx, lasttx, ofree, seg; local in function:scx_start
1428 for (nexttx = sc->sc_txnext, seg = 0;
1430 seg++, nexttx = MD_NEXTTX(nexttx)) {
1431 struct tdes *tdes = &sc->sc_txdescs[nexttx];
1449 lasttx = nexttx;
1468 sc->sc_txnext = nexttx;

Completed in 46 milliseconds