| /netbsd-src/sys/arch/sgimips/hpc/ |
| H A D | if_sq.c | 534 int err, totlen, nexttx, firsttx, lasttx = -1, ofree, seg; in sq_start() local 544 firsttx = sc->sc_nexttx; in sq_start() 719 device_xname(sc->sc_dev), lasttx - firsttx + 1, in sq_start() 720 firsttx, lasttx)); in sq_start() 759 SQ_TRACE(SQ_ADD_TO_DMA, sc, firsttx, status); in sq_start() 765 sc->sc_txdesc[SQ_PREVTX(firsttx)].hpc3_hdd_ctl &= in sq_start() 769 sc->sc_txdesc[SQ_PREVTX(firsttx)].hpc1_hdd_ctl in sq_start() 772 SQ_CDTXSYNC(sc, SQ_PREVTX(firsttx), 1, in sq_start() 775 SQ_TRACE(SQ_START_DMA, sc, firsttx, status); in sq_start() 778 firsttx)); in sq_start() [all …]
|
| /netbsd-src/sys/arch/mips/atheros/dev/ |
| H A D | if_ae.c | 552 int error, firsttx, nexttx, lasttx = 1, ofree, seg; in ae_start() local 566 firsttx = sc->sc_txnext; in ae_start() 569 device_xname(sc->sc_dev), ofree, firsttx)); in ae_start() 672 (nexttx == firsttx) ? 0 : ADSTAT_OWN; in ae_start() 737 device_xname(sc->sc_dev), lasttx, firsttx)); in ae_start() 750 sc->sc_txdescs[firsttx].ad_status |= ADSTAT_OWN; in ae_start() 751 AE_CDTXSYNC(sc, firsttx, 1, in ae_start()
|
| /netbsd-src/sys/dev/ic/ |
| H A D | smc83c170.c | 365 int error, firsttx, nexttx, opending, seg; in epic_start() local 373 firsttx = EPIC_NEXTTX(sc->sc_txlast); in epic_start() 482 if (nexttx == firsttx) in epic_start() 507 sc->sc_txdirty = firsttx; in epic_start() 521 EPIC_CDTX(sc, firsttx)->et_txstatus |= ET_TXSTAT_OWNER; in epic_start() 522 EPIC_CDTXSYNC(sc, firsttx, in epic_start()
|
| H A D | atw.c | 3518 int ctl, error, firsttx, nexttx, lasttx, first, ofree, seg; in atw_start() local 3531 firsttx = lasttx = sc->sc_txnext; in atw_start() 3534 device_xname(sc->sc_dev), ofree, firsttx)); in atw_start() 3812 ((nexttx == firsttx) ? 0 : htole32(ATW_TXCTL_OWN)); in atw_start() 3871 device_xname(sc->sc_dev), lasttx, firsttx)); in atw_start() 3884 sc->sc_txdescs[firsttx].at_ctl |= htole32(ATW_TXCTL_OWN); in atw_start() 3885 ATW_CDTXSYNC(sc, firsttx, 1, in atw_start()
|
| H A D | gem.c | 1370 int error, firsttx, nexttx = -1, lasttx = -1, ofree, seg; in gem_start() local 1488 firsttx = sc->sc_txnext; in gem_start() 1489 for (nexttx = firsttx, seg = 0; in gem_start() 1500 if (nexttx == firsttx) { in gem_start()
|
| H A D | tulip.c | 678 int error, firsttx, nexttx, lasttx = 1, ofree, seg; in tlp_start() local 704 firsttx = sc->sc_txnext; in tlp_start() 707 device_xname(sc->sc_dev), ofree, firsttx)); in tlp_start() 810 (nexttx == firsttx) ? 0 : htole32(TDSTAT_OWN); in tlp_start() 878 device_xname(sc->sc_dev), lasttx, firsttx)); in tlp_start() 904 sc->sc_txdescs[firsttx].td_status |= htole32(TDSTAT_OWN); in tlp_start() 905 TULIP_CDTXSYNC(sc, firsttx, 1, in tlp_start()
|
| /netbsd-src/sys/dev/pci/ |
| H A D | if_vr.c | 1010 int error, firsttx, nexttx, opending; in vr_start() local 1022 firsttx = VR_NEXTTX(sc->vr_txlast); in vr_start() 1125 if (nexttx == firsttx) in vr_start() 1144 sc->vr_txdirty = firsttx; in vr_start() 1158 VR_CDTX(sc, firsttx)->vr_status = htole32(VR_TXSTAT_OWN); in vr_start() 1159 VR_CDTXSYNC(sc, firsttx, in vr_start()
|
| H A D | if_stge.c | 826 int error, firsttx, nexttx, opending, seg, totlen; in stge_start() local 837 firsttx = STGE_NEXTTX(sc->sc_txlast); in stge_start() 1021 sc->sc_txdirty = firsttx; in stge_start()
|
| H A D | if_sip.c | 1547 int firsttx = sc->sc_txnext; in sipcom_start() 1749 sip_set_txdp(sc, SIP_CDTXADDR(sc, firsttx)); in sipcom_start()
|
| /netbsd-src/sys/arch/powerpc/ibm4xx/dev/ |
| H A D | if_emac.c | 670 int error, firsttx, nexttx, lasttx, ofree, seg; in emac_start() local 769 firsttx = sc->sc_txnext; in emac_start() 786 (nexttx == firsttx ? 0 : MAL_TX_READY) | in emac_start() 812 sc->sc_txdescs[firsttx].md_stat_ctrl |= MAL_TX_READY; in emac_start() 813 EMAC_CDTXSYNC(sc, firsttx, 1, in emac_start()
|
| /netbsd-src/sys/arch/sgimips/mace/ |
| H A D | if_mec.c | 950 int error, firsttx, nexttx, opending; in mec_start() local 961 firsttx = MEC_NEXTTX(sc->sc_txlast); in mec_start() 964 ("%s: opending = %d, firsttx = %d\n", __func__, opending, firsttx)); in mec_start() 1402 sc->sc_txdirty = firsttx; in mec_start()
|