Home
last modified time | relevance | path

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

/mirbsd/src/sys/dev/ic/
Dmtd8xx.c1040 u_int32_t txstat; in mtd_txeof() local
1048 txstat = letoh32(cur_tx->td_tsw); in mtd_txeof()
1050 if (txstat & TSW_OWN || txstat == TSW_UNSENT) in mtd_txeof()
1062 if (txstat & TSW_TXERR) { in mtd_txeof()
1064 if (txstat & TSW_EC) in mtd_txeof()
1066 if (txstat & TSW_LC) in mtd_txeof()
1069 ifp->if_collisions += TSW_NCR_GET(txstat); in mtd_txeof()
Drtl81x9.c738 u_int32_t txstat; local
749 txstat = CSR_READ_4(sc, RL_LAST_TXSTAT(sc));
750 if (!(txstat & (RL_TXSTAT_TX_OK|
754 ifp->if_collisions += (txstat & RL_TXSTAT_COLLCNT) >> 24;
767 if ((txstat & RL_TXSTAT_TX_UNDERRUN) &&
770 if (txstat & RL_TXSTAT_TX_OK)
776 if ((txstat & RL_TXSTAT_TXABRT) ||
777 (txstat & RL_TXSTAT_OUTOFWIN))
Ddc.c2302 u_int32_t txstat; local
2310 txstat = letoh32(cur_tx->dc_status);
2312 if (txstat & DC_TXSTAT_OWN)
2328 if (txstat & DC_TXSTAT_ERRSUM)
2349 ((txstat & 0xFFFF) & ~(DC_TXSTAT_ERRSUM|
2351 txstat &= ~DC_TXSTAT_ERRSUM;
2355 ((txstat & 0xFFFF) & ~(DC_TXSTAT_ERRSUM|
2357 txstat &= ~DC_TXSTAT_ERRSUM;
2360 if (txstat & DC_TXSTAT_ERRSUM) {
2362 if (txstat & DC_TXSTAT_EXCESSCOLL)
[all …]
Dre.c1244 u_int32_t txstat; local
1259 txstat = letoh32(sc->rl_ldata.rl_tx_list[idx].rl_cmdstat);
1260 if (txstat & RL_TDESC_CMD_OWN)
1270 if (txstat & RL_TDESC_CMD_EOF) {
1275 if (txstat & (RL_TDESC_STAT_EXCESSCOL|
1278 if (txstat & RL_TDESC_STAT_TXERRSUM)
Dxl.c1479 u_int8_t txstat; local
1481 while((txstat = CSR_READ_1(sc, XL_TX_STATUS))) {
1482 if (txstat & XL_TXSTATUS_UNDERRUN ||
1483 txstat & XL_TXSTATUS_JABBER ||
1484 txstat & XL_TXSTATUS_RECLAIM) {
1485 if (txstat != 0x90) {
1487 sc->sc_dev.dv_xname, txstat);
1510 if (txstat & XL_TXSTATUS_UNDERRUN &&
Dgem.c1109 int txstat = bus_space_read_4(t, seb, GEM_MAC_TX_STATUS); local
1110 if (txstat & ~GEM_MAC_TX_XMIT_DONE)
1112 sc->sc_dev.dv_xname, txstat);
/mirbsd/src/sys/dev/pci/
Dif_ste.c717 u_int8_t txstat; local
722 while ((txstat = CSR_READ_1(sc, STE_TX_STATUS)) &
724 if (txstat & STE_TXSTATUS_UNDERRUN ||
725 txstat & STE_TXSTATUS_EXCESSCOLLS ||
726 txstat & STE_TXSTATUS_RECLAIMERR) {
729 sc->sc_dev.dv_xname, txstat);
734 if (txstat & STE_TXSTATUS_UNDERRUN &&
746 CSR_WRITE_2(sc, STE_TX_STATUS, txstat);
Dif_vr.c1139 u_int32_t txstat; local
1142 txstat = letoh32(cur_tx->vr_ptr->vr_status);
1144 if ((txstat & VR_TXSTAT_ABRT) ||
1145 (txstat & VR_TXSTAT_UDF)) {
1161 if (txstat & VR_TXSTAT_OWN)
1164 if (txstat & VR_TXSTAT_ERRSUM) {
1166 if (txstat & VR_TXSTAT_DEFER)
1168 if (txstat & VR_TXSTAT_LATECOLL)
1172 ifp->if_collisions +=(txstat & VR_TXSTAT_COLLCNT) >> 3;
Dif_wb.c1163 u_int32_t txstat; local
1166 txstat = WB_TXSTATUS(cur_tx);
1168 if ((txstat & WB_TXSTAT_OWN) || txstat == WB_UNSENT)
1171 if (txstat & WB_TXSTAT_TXERR) {
1173 if (txstat & WB_TXSTAT_ABORT)
1175 if (txstat & WB_TXSTAT_LATECOLL)
1179 ifp->if_collisions += (txstat & WB_TXSTAT_COLLCNT) >> 3;
Dif_stge.c1104 uint32_t txstat; in stge_intr() local
1149 txstat = bus_space_read_4(sc->sc_st, sc->sc_sh, 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.c1147 u_int32_t txstat; in vge_txeof() local
1162 txstat = letoh32(sc->vge_ldata.vge_tx_list[idx].vge_sts); in vge_txeof()
1163 if (txstat & VGE_TDSTS_OWN) in vge_txeof()
1170 if (txstat & (VGE_TDSTS_EXCESSCOLL|VGE_TDSTS_COLL)) in vge_txeof()
1172 if (txstat & VGE_TDSTS_TXERR) in vge_txeof()