Home
last modified time | relevance | path

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

/freebsd-13.1/sys/dev/vr/
H A Dif_vr.c1447 uint32_t txctl, txstat; in vr_txeof() local
1469 txstat = le32toh(cur_tx->vr_status); in vr_txeof()
1470 if ((txstat & VR_TXSTAT_OWN) == VR_TXSTAT_OWN) in vr_txeof()
1483 if ((txstat & VR_TXSTAT_ERRSUM) != 0) { in vr_txeof()
1486 if ((txstat & VR_TXSTAT_ABRT) != 0) { in vr_txeof()
1508 (txstat & VR_TXSTAT_UNDERRUN)) || in vr_txeof()
1521 if ((txstat & VR_TXSTAT_DEFER) != 0) { in vr_txeof()
1525 if ((txstat & VR_TXSTAT_LATECOLL) != 0) { in vr_txeof()
1539 (txstat & VR_TXSTAT_COLLCNT) >> 3); in vr_txeof()
1541 (txstat & VR_TXSTAT_COLLCNT) >> 3; in vr_txeof()
[all …]
/freebsd-13.1/sys/mips/atheros/ar531x/
H A Dif_are.c692 int txstat; in are_encap() local
834 txstat = (CSR_READ_4(sc, CSR_STATUS) >> 20) & 7; in are_encap()
835 if (startcount == 0 && (txstat == 0 || txstat == 6)) { in are_encap()
856 int txstat; in are_start_locked() local
893 txstat = (CSR_READ_4(sc, CSR_STATUS) >> 20) & 7; in are_start_locked()
894 if (txstat == 0 || txstat == 6) { in are_start_locked()
/freebsd-13.1/sys/dev/my/
H A Dif_my.c1200 u_int32_t txstat; in my_txeof() local
1203 txstat = MY_TXSTATUS(cur_tx); in my_txeof()
1204 if ((txstat & MY_OWNByNIC) || txstat == MY_UNSENT) in my_txeof()
1207 if (txstat & MY_TXERR) { in my_txeof()
1209 if (txstat & MY_EC) /* excessive collision */ in my_txeof()
1211 if (txstat & MY_LC) /* late collision */ in my_txeof()
1215 (txstat & MY_NCRMASK) >> MY_NCRShift); in my_txeof()
/freebsd-13.1/sys/dev/ste/
H A Dif_ste.c673 uint16_t txstat; in ste_txeoc() local
691 txstat = CSR_READ_2(sc, STE_TX_STATUS); in ste_txeoc()
692 if ((txstat & STE_TXSTATUS_TXDONE) == 0) in ste_txeoc()
694 if ((txstat & (STE_TXSTATUS_UNDERRUN | in ste_txeoc()
700 txstat & 0xFF, STE_ERR_BITS); in ste_txeoc()
702 if ((txstat & STE_TXSTATUS_UNDERRUN) != 0 && in ste_txeoc()
731 CSR_WRITE_2(sc, STE_TX_STATUS, txstat); in ste_txeoc()
771 uint32_t txstat; in ste_txeof() local
787 txstat = le32toh(cur_tx->ste_ptr->ste_ctl); in ste_txeof()
788 if ((txstat & STE_TXCTL_DMADONE) == 0) in ste_txeof()
/freebsd-13.1/sys/dev/rl/
H A Dif_rl.c1244 uint32_t txstat; in rl_txeof() local
1255 txstat = CSR_READ_4(sc, RL_LAST_TXSTAT(sc)); in rl_txeof()
1256 if (!(txstat & (RL_TXSTAT_TX_OK| in rl_txeof()
1260 if_inc_counter(ifp, IFCOUNTER_COLLISIONS, (txstat & RL_TXSTAT_COLLCNT) >> 24); in rl_txeof()
1272 if ((txstat & RL_TXSTAT_TX_UNDERRUN) && in rl_txeof()
1275 if (txstat & RL_TXSTAT_TX_OK) in rl_txeof()
1280 if ((txstat & RL_TXSTAT_TXABRT) || in rl_txeof()
1281 (txstat & RL_TXSTAT_OUTOFWIN)) in rl_txeof()
/freebsd-13.1/sys/dev/dc/
H A Dif_dc.c2988 uint32_t ctl, txstat; in dc_txeof() local
3005 txstat = le32toh(cur_tx->dc_status); in dc_txeof()
3008 if (txstat & DC_TXSTAT_OWN) in dc_txeof()
3029 if (txstat & DC_TXSTAT_ERRSUM) in dc_txeof()
3047 ((txstat & 0xFFFF) & ~(DC_TXSTAT_ERRSUM | in dc_txeof()
3049 txstat &= ~DC_TXSTAT_ERRSUM; in dc_txeof()
3055 txstat &= ~DC_TXSTAT_ERRSUM; in dc_txeof()
3058 if (txstat & DC_TXSTAT_ERRSUM) { in dc_txeof()
3060 if (txstat & DC_TXSTAT_EXCESSCOLL) in dc_txeof()
3062 if (txstat & DC_TXSTAT_LATECOLL) in dc_txeof()
[all …]
/freebsd-13.1/sys/dev/sis/
H A Dif_sis.c1579 uint32_t cons, txstat; in sis_txeof() local
1597 txstat = le32toh(cur_tx->sis_cmdsts); in sis_txeof()
1598 if ((txstat & SIS_CMDSTS_OWN) != 0) in sis_txeof()
1607 if ((txstat & SIS_CMDSTS_PKT_OK) != 0) { in sis_txeof()
1610 (txstat & SIS_TXSTAT_COLLCNT) >> 16); in sis_txeof()
1613 if (txstat & SIS_TXSTAT_EXCESSCOLLS) in sis_txeof()
1615 if (txstat & SIS_TXSTAT_OUTOFWINCOLL) in sis_txeof()
/freebsd-13.1/sys/dev/sge/
H A Dif_sge.c1240 uint32_t txstat; in sge_txeof() local
1256 txstat = le32toh(ld->sge_tx_ring[cons].sge_cmdsts); in sge_txeof()
1257 if ((txstat & TDC_OWN) != 0) in sge_txeof()
1266 if (SGE_TX_ERROR(txstat) != 0) { in sge_txeof()
1269 txstat, TX_ERR_BITS); in sge_txeof()
1274 if_inc_counter(ifp, IFCOUNTER_COLLISIONS, (txstat & 0xFFFF) - 1); in sge_txeof()
/freebsd-13.1/sys/dev/xl/
H A Dif_xl.c2088 u_int8_t txstat; in xl_txeoc() local
2092 while ((txstat = CSR_READ_1(sc, XL_TX_STATUS))) { in xl_txeoc()
2093 if (txstat & XL_TXSTATUS_UNDERRUN || in xl_txeoc()
2094 txstat & XL_TXSTATUS_JABBER || in xl_txeoc()
2095 txstat & XL_TXSTATUS_RECLAIM) { in xl_txeoc()
2097 "transmission error: 0x%02x\n", txstat); in xl_txeoc()
2124 if (txstat & XL_TXSTATUS_UNDERRUN && in xl_txeoc()
/freebsd-13.1/sys/dev/usb/controller/
H A Dmusb_otg.h440 uint16_t rxstat, uint16_t txstat, uint8_t stat);
H A Dmusb_otg.c2228 uint16_t rxstat, uint16_t txstat, uint8_t stat) in musbotg_interrupt() argument
2247 tx_status |= txstat; in musbotg_interrupt()
2252 txstat = 0; in musbotg_interrupt()
/freebsd-13.1/sys/dev/stge/
H A Dif_stge.c1415 uint32_t txstat; in stge_tx_error() local
1419 txstat = CSR_READ_4(sc, STGE_TxStatus); in stge_tx_error()
1420 if ((txstat & TS_TxComplete) == 0) in stge_tx_error()
1423 if ((txstat & TS_TxUnderrun) != 0) { in stge_tx_error()
1439 if ((txstat & (TS_MaxCollisions|TS_LateCollision)) != 0) in stge_tx_error()
/freebsd-13.1/sys/dev/re/
H A Dif_re.c2414 u_int32_t txstat; in re_txeof() local
2433 txstat = le32toh(sc->rl_ldata.rl_tx_list[cons].rl_cmdstat); in re_txeof()
2434 if (txstat & RL_TDESC_STAT_OWN) in re_txeof()
2442 if (txstat & RL_TDESC_CMD_EOF) { in re_txeof()
2452 if (txstat & (RL_TDESC_STAT_EXCESSCOL| in re_txeof()
2455 if (txstat & RL_TDESC_STAT_TXERRSUM) in re_txeof()
/freebsd-13.1/sys/dev/vge/
H A Dif_vge.c1616 uint32_t txstat; in vge_txeof() local
1638 txstat = le32toh(cur_tx->vge_sts); in vge_txeof()
1639 if ((txstat & VGE_TDSTS_OWN) != 0) in vge_txeof()
/freebsd-13.1/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_stub_funcs.c1055 struct ath_desc *ds, struct ath_tx_status *txstat) in ar9300_Stub_ProcTxDesc() argument