Home
last modified time | relevance | path

Searched refs:txstat (Results 1 – 24 of 24) sorted by relevance

/netbsd/src/sys/arch/next68k/dev/
Dmb8795.c361 u_char txstat; in mb8795_tint() local
366 txstat = MB_READ_REG(sc, MB8795_TXSTAT); in mb8795_tint()
370 if ((txstat & MB8795_TXSTAT_READY) || in mb8795_tint()
371 (txstat & MB8795_TXSTAT_TXRECV)) { in mb8795_tint()
386 if (txstat & MB8795_TXSTAT_SHORTED) { in mb8795_tint()
390 if (txstat & MB8795_TXSTAT_UNDERFLOW) { in mb8795_tint()
394 if (txstat & MB8795_TXSTAT_COLLERR) { in mb8795_tint()
398 if (txstat & MB8795_TXSTAT_COLLERR16) { in mb8795_tint()
405 if (txstat & MB8795_TXSTAT_READY) { in mb8795_tint()
408 snprintb(sbuf, sizeof(sbuf), MB8795_TXSTAT_BITS, txstat); in mb8795_tint()
[all …]
Denreg.h37 unsigned char txstat; /* 0 */ member
/netbsd/src/sys/arch/sandpoint/stand/altboot/
Dsme.c188 unsigned txstat, loop; in sme_send() local
200 txstat = le32toh(txd->xd0); in sme_send()
201 if (txstat & T0_ES) in sme_send()
203 if ((txstat & T0_OWN) == 0) in sme_send()
Dkse.c191 unsigned txstat, loop; in kse_send() local
202 txstat = le32toh(txd->xd0); in kse_send()
203 if ((txstat & T0_OWN) == 0) in kse_send()
Dtlp.c206 unsigned txstat, loop; in tlp_send() local
218 txstat = le32toh(txd->xd0); in tlp_send()
219 if ((txstat & T0_OWN) == 0) in tlp_send()
/netbsd/src/sys/arch/powerpc/ibm4xx/dev/
Dif_emac.c1260 uint32_t txstat, count; in emac_txreap() local
1278 txstat = sc->sc_txdescs[txs->txs_lastdesc].md_stat_ctrl; in emac_txreap()
1279 if (txstat & MAL_TX_READY) in emac_txreap()
1287 if (txstat & (EMAC_TXS_UR | EMAC_TXS_ED)) in emac_txreap()
1291 if (txstat & EMAC_TXS_UR) in emac_txreap()
1295 if (txstat & in emac_txreap()
1297 if (txstat & EMAC_TXS_EC) in emac_txreap()
1299 else if (txstat & EMAC_TXS_MC) in emac_txreap()
1301 else if (txstat & EMAC_TXS_SC) in emac_txreap()
1303 if (txstat & EMAC_TXS_LC) in emac_txreap()
[all …]
/netbsd/src/sys/arch/mips/atheros/dev/
Dif_ae.c1144 uint32_t txstat; in ae_txintr() local
1178 txstat = sc->sc_txdescs[txs->txs_lastdesc].ad_status; in ae_txintr()
1179 if (txstat & ADSTAT_OWN) in ae_txintr()
1199 if (txstat & ADSTAT_Tx_UF) in ae_txintr()
1201 if (txstat & ADSTAT_Tx_TO) in ae_txintr()
1203 if (txstat & ADSTAT_Tx_EC) in ae_txintr()
1205 if (txstat & ADSTAT_Tx_LC) in ae_txintr()
1210 if (txstat & (ADSTAT_Tx_UF | ADSTAT_Tx_TO)) in ae_txintr()
1213 if (txstat & ADSTAT_Tx_EC) in ae_txintr()
1215 else if (ADSTAT_Tx_COLLISIONS(txstat)) in ae_txintr()
[all …]
/netbsd/src/sys/arch/next68k/stand/boot/
Den.c130 er->txstat = 0xff; in en_init()
216 while ((er->txstat & EN_TXS_READY) == 0) in en_put()
221 er->txstat = 0xff; in en_put()
254 txs = er->txstat; in en_put()
/netbsd/src/sys/dev/ic/
Drtl81x9.c1098 uint32_t txstat; in rtk_txeof() local
1107 txstat = CSR_READ_4(sc, txd->txd_txstat); in rtk_txeof()
1108 if ((txstat & (RTK_TXSTAT_TX_OK | in rtk_txeof()
1122 (txstat & RTK_TXSTAT_COLLCNT) >> 24); in rtk_txeof()
1124 if (txstat & RTK_TXSTAT_TX_OK) in rtk_txeof()
1133 if (txstat & RTK_TXSTAT_TX_UNDERRUN) { in rtk_txeof()
1149 if (txstat & (RTK_TXSTAT_TXABRT | RTK_TXSTAT_OUTOFWIN)) in rtk_txeof()
Datw.c3278 uint32_t txstat; in atw_txintr() local
3319 txstat = le32toh(sc->sc_txdescs[txs->txs_lastdesc].at_stat); in atw_txintr()
3320 if (txstat & ATW_TXSTAT_OWN) { in atw_txintr()
3343 (txstat & ATW_TXSTAT_ERRMASK) != 0) { in atw_txintr()
3345 ATW_TXSTAT_FMT, txstat & ATW_TXSTAT_ERRMASK); in atw_txintr()
3348 __SHIFTOUT(txstat, ATW_TXSTAT_ARC_MASK)); in atw_txintr()
3356 if (txstat & ATW_TXSTAT_TUF) in atw_txintr()
3358 if (txstat & ATW_TXSTAT_TLT) in atw_txintr()
3360 if (txstat & ATW_TXSTAT_TRT) in atw_txintr()
3362 if (txstat & ATW_TXSTAT_TRO) in atw_txintr()
[all …]
Drtl8169.c1442 uint32_t txstat; in re_txeof() local
1456 txstat = in re_txeof()
1459 KASSERT((txstat & RE_TDESC_CMD_EOF) != 0); in re_txeof()
1460 if (txstat & RE_TDESC_CMD_OWN) { in re_txeof()
1473 if (txstat & (RE_TDESC_STAT_EXCESSCOL | RE_TDESC_STAT_COLCNT)) in re_txeof()
1475 if (txstat & RE_TDESC_STAT_TXERRSUM) in re_txeof()
Dtulip.c1405 uint32_t txstat; in tlp_txintr() local
1440 txstat = le32toh(sc->sc_txdescs[txs->txs_lastdesc].td_status); in tlp_txintr()
1441 if (txstat & TDSTAT_OWN) in tlp_txintr()
1476 if (txstat & TDSTAT_Tx_UF) in tlp_txintr()
1478 if (txstat & TDSTAT_Tx_TO) in tlp_txintr()
1480 if (txstat & TDSTAT_Tx_EC) in tlp_txintr()
1482 if (txstat & TDSTAT_Tx_LC) in tlp_txintr()
1486 if (txstat & (TDSTAT_Tx_UF | TDSTAT_Tx_TO)) in tlp_txintr()
1489 if (txstat & TDSTAT_Tx_EC) in tlp_txintr()
1493 TDSTAT_Tx_COLLISIONS(txstat)); in tlp_txintr()
[all …]
Dgem.c2198 int txstat = bus_space_read_4(t, h, GEM_MAC_TX_STATUS); in gem_intr() local
2199 if (txstat & ~GEM_MAC_TX_XMIT_DONE) in gem_intr()
2201 device_xname(sc->sc_dev), txstat); in gem_intr()
2202 if (txstat & (GEM_MAC_TX_UNDERRUN | GEM_MAC_TX_PKT_TOO_LONG)) in gem_intr()
Di82557.c1164 uint16_t txstat; in fxp_txintr() local
1180 txstat = le16toh(txd->txd_txcb.cb_status); in fxp_txintr()
1182 if ((txstat & FXP_CB_STATUS_C) == 0) in fxp_txintr()
/netbsd/src/sys/dev/pci/
Dif_vr.c838 uint32_t txstat; in vr_txeof() local
853 txstat = le32toh(d->vr_status); in vr_txeof()
855 if (txstat & (VR_TXSTAT_ABRT | VR_TXSTAT_UDF)) { in vr_txeof()
873 if (txstat & VR_TXSTAT_OWN) in vr_txeof()
883 if (txstat & VR_TXSTAT_ERRSUM) { in vr_txeof()
885 if (txstat & VR_TXSTAT_DEFER) in vr_txeof()
887 if (txstat & VR_TXSTAT_LATECOLL) in vr_txeof()
892 (txstat & VR_TXSTAT_COLLCNT) >> 3); in vr_txeof()
Dif_ste.c892 uint8_t txstat; in ste_intr() local
919 txstat = bus_space_read_1(sc->sc_st, sc->sc_sh, in ste_intr()
921 if ((txstat & TS_TxComplete) == 0) in ste_intr()
923 if (txstat & TS_TxUnderrun) { in ste_intr()
940 if (txstat & TS_TxReleaseError) { in ste_intr()
945 if (txstat & TS_MaxCollisions) { in ste_intr()
950 if (txstat & TS_TxStatusOverflow) { in ste_intr()
Dif_stge.c1098 uint32_t txstat; in stge_intr() local
1150 txstat = CSR_READ_4(sc, STGE_TxStatus); in stge_intr()
1151 if ((txstat & TS_TxComplete) == 0) in stge_intr()
1153 if (txstat & TS_TxUnderrun) { in stge_intr()
1162 if (txstat & TS_MaxCollisions) in stge_intr()
Dif_vge.c1366 uint32_t txstat; in vge_txeof() local
1376 txstat = le32toh(sc->sc_txdescs[idx].td_sts); in vge_txeof()
1378 if (txstat & VGE_TDSTS_OWN) { in vge_txeof()
1389 if (txstat & (VGE_TDSTS_EXCESSCOLL | VGE_TDSTS_COLL)) in vge_txeof()
1391 if (txstat & VGE_TDSTS_TXERR) in vge_txeof()
Dif_kse.c1292 uint32_t txstat; in txreap() local
1304 txstat = sc->sc_txdescs[txs->txs_lastdesc].t0; in txreap()
1306 if (txstat & T0_OWN) /* desc is still in use */ in txreap()
Dif_cas.c1567 int txstat = bus_space_read_4(t, seb, CAS_MAC_TX_STATUS); in cas_intr() local
1569 if (txstat & ~CAS_MAC_TX_XMIT_DONE) in cas_intr()
1571 device_xname(sc->sc_dev), txstat); in cas_intr()
1573 if (txstat & (CAS_MAC_TX_UNDERRUN | CAS_MAC_TX_PKT_TOO_LONG)) in cas_intr()
Dif_rge.c1409 uint32_t txstat; in rge_txeof() local
1425 txstat = letoh32(sc->rge_ldata.rge_tx_list[idx].rge_cmdsts); in rge_txeof()
1427 if (txstat & RGE_TDCMDSTS_OWN) { in rge_txeof()
1439 if (txstat & (RGE_TDCMDSTS_EXCESSCOLL | RGE_TDCMDSTS_COLL)) in rge_txeof()
1441 if (txstat & RGE_TDCMDSTS_TXERR) in rge_txeof()
/netbsd/src/sys/arch/sgimips/mace/
Dif_mec.c1847 uint64_t txstat; in mec_txintr() local
1860 txstat = txd->txd_stat; in mec_txintr()
1863 __func__, i, txstat)); in mec_txintr()
1864 if ((txstat & MEC_TXSTAT_SENT) == 0) { in mec_txintr()
1879 col = (txstat & MEC_TXSTAT_COLCNT) >> MEC_TXSTAT_COLCNT_SHIFT; in mec_txintr()
1883 if ((txstat & MEC_TXSTAT_SUCCESS) == 0) { in mec_txintr()
1885 device_xname(sc->sc_dev), txstat); in mec_txintr()
/netbsd/src/sys/arch/sgimips/hpc/
Dif_sq.c148 vaddr_t reset, txstat; in sq_match() local
152 txstat = MIPS_PHYS_TO_KSEG1(ha->ha_sh + in sq_match()
162 if (platform.badaddr((void *)txstat, sizeof(txstat))) in sq_match()
165 if ((*(volatile uint32_t *)txstat & 0xff) == TXSTAT_OLDNEW) in sq_match()
/netbsd/src/sys/dev/marvell/
Dif_mvgbe.c2088 uint32_t txstat; in mvgbe_txeof() local
2107 txstat = MVGBE2H32(cur_tx->cmdsts); in mvgbe_txeof()
2108 if ((txstat & MVGBE_BUFFER_OWNED_MASK) == in mvgbe_txeof()
2113 if (txstat & MVGBE_TX_LAST_DESC) in mvgbe_txeof()
2115 if (txstat & MVGBE_ERROR_SUMMARY) { in mvgbe_txeof()
2116 int err = txstat & MVGBE_TX_ERROR_CODE_MASK; in mvgbe_txeof()