Home
last modified time | relevance | path

Searched refs:tstat (Results 1 – 3 of 3) sorted by relevance

/mirbsd/src/sys/dev/mii/
Ddcphy.c321 int reg, anlpar, tstat = 0; in dcphy_status() local
338 tstat = CSR_READ_4(dc_sc, DC_10BTSTAT); in dcphy_status()
339 if ((tstat & DC_TSTAT_ANEGSTAT) != DC_ASTAT_AUTONEGCMP) { in dcphy_status()
341 (tstat & DC_TSTAT_ANEGSTAT) == DC_ASTAT_DISABLE) in dcphy_status()
347 if (tstat & DC_TSTAT_LP_CAN_NWAY) { in dcphy_status()
348 anlpar = tstat >> 16; in dcphy_status()
/mirbsd/src/sys/compat/linux/
Dlinux_misc.c163 int error, *status, tstat; local
183 if ((error = copyin(status, &tstat, sizeof tstat)))
186 bsd_to_linux_wstat(&tstat);
187 return copyout(&tstat, SCARG(uap, status), sizeof tstat);
209 int error, *status, tstat, linux_options, options; local
242 if ((error = copyin(status, &tstat, sizeof tstat)))
245 bsd_to_linux_wstat(&tstat);
246 return copyout(&tstat, SCARG(uap, status), sizeof tstat);
/mirbsd/src/sys/dev/isa/
Dif_fe.c1548 fe_tint(sc, tstat) in fe_tint() argument
1550 u_char tstat;
1559 if (tstat & FE_D0_COLL16) {
1608 if (tstat & FE_D0_TXDONE) {
1824 u_char tstat, rstat; local
1834 tstat = inb(sc->sc_iobase + FE_DLCR0) & FE_TMASK;
1836 if (tstat == 0 && rstat == 0)
1846 outb(sc->sc_iobase + FE_DLCR0, tstat);
1853 if (tstat != 0)
1854 fe_tint(sc, tstat);
[all …]