stat 240 arch/i386/isa/clock.c u_int stat = 0; stat 248 arch/i386/isa/clock.c stat = 1; stat 250 arch/i386/isa/clock.c return (stat); stat 1534 arch/i386/isa/pccom.c u_char stat, c; stat 1537 arch/i386/isa/pccom.c while (!ISSET(stat = bus_space_read_1(iot, ioh, com_lsr), LSR_RXRDY)) stat 1542 arch/i386/isa/pccom.c stat = bus_space_read_1(iot, ioh, com_iir); stat 1604 arch/i386/isa/pccom.c u_int8_t stat; stat 1615 arch/i386/isa/pccom.c stat = bus_space_read_1(iot, ioh, com_iir); stat 40 compat/ibcs2/ibcs2_wait.h #define IBCS2_WIFEXITED(stat) ((stat & 0xff) == 0) stat 41 compat/ibcs2/ibcs2_wait.h #define IBCS2_WIFSIGNALED(stat) ((stat) && (stat == (stat & 0xff))) stat 42 compat/ibcs2/ibcs2_wait.h #define IBCS2_WIFSTOPPED(stat) ((stat & 0xff) == 0x7f) stat 44 compat/ibcs2/ibcs2_wait.h #define IBCS2_WEXITSTATUS(stat) ((stat >> 8) & 0xff) stat 45 compat/ibcs2/ibcs2_wait.h #define IBCS2_WTERMSIG(stat) (stat & 0x7f) stat 46 compat/ibcs2/ibcs2_wait.h #define IBCS2_WSTOPSIG(stat) ((stat >> 8) & 0xff) stat 300 compat/linux/linux_socket.c int stat, statl = sizeof stat; stat 311 compat/linux/linux_socket.c status = stackgap_alloc(&sg, sizeof stat); stat 326 compat/linux/linux_socket.c if ((error = copyin(status, &stat, sizeof stat))) stat 328 compat/linux/linux_socket.c return stat; stat 120 dev/acpi/acpiec.c u_int8_t stat; stat 126 dev/acpi/acpiec.c while (((stat = acpiec_status(sc)) & mask) != val) { stat 127 dev/acpi/acpiec.c if (stat & EC_STAT_SCI_EVT) stat 135 dev/acpi/acpiec.c dnprintf(40, "%s: EC wait_ns, stat: %b\n", DEVNAME(sc), (int)stat, stat 332 dev/acpi/acpiec.c u_int8_t mask, stat; stat 345 dev/acpi/acpiec.c stat = acpiec_status(sc); stat 347 dev/acpi/acpiec.c DEVNAME(sc), (int)stat, stat 350 dev/acpi/acpiec.c if (stat & EC_STAT_SCI_EVT) stat 638 dev/eisa/aha1742.c struct ahb_ecb_status *stat = &ecb->ecb_status; stat 653 dev/eisa/aha1742.c if (stat->host_stat != HS_OK) { stat 654 dev/eisa/aha1742.c switch (stat->host_stat) { stat 668 dev/eisa/aha1742.c sc->sc_dev.dv_xname, stat->host_stat); stat 671 dev/eisa/aha1742.c } else if (stat->target_stat != SCSI_OK) { stat 672 dev/eisa/aha1742.c switch (stat->target_stat) { stat 684 dev/eisa/aha1742.c sc->sc_dev.dv_xname, stat->target_stat); stat 281 dev/hil/hil.c u_int8_t c, stat; stat 286 dev/hil/hil.c stat = bus_space_read_1(sc->sc_bst, sc->sc_bsh, HILP_STAT); stat 292 dev/hil/hil.c if ((stat & HIL_DATA_RDY) == 0) stat 299 dev/hil/hil.c hil_process_int(sc, stat, c); stat 312 dev/hil/hil.c switch ((stat >> HIL_SSHIFT) & HIL_SMASK) { stat 374 dev/hil/hil.c switch ((stat >> HIL_SSHIFT) & HIL_SMASK) { stat 880 dev/hil/hil.c *stat = s; stat 336 dev/hil/hilkbd.c u_int8_t c, stat; stat 339 dev/hil/hilkbd.c while (hil_poll_data((struct hildev_softc *)sc, &stat, &c) != 0) stat 87 dev/i2c/adm1021.c u_int8_t cmd, data, stat; stat 110 dev/i2c/adm1021.c sc->sc_addr, &cmd, sizeof cmd, &stat, sizeof stat, 0)) { stat 115 dev/i2c/adm1021.c if ((stat & ADM1021_STATUS_INVAL) == ADM1021_STATUS_INVAL) { stat 117 dev/i2c/adm1021.c sc->sc_addr, &cmd, sizeof cmd, &stat, sizeof stat, 0)) { stat 125 dev/i2c/adm1021.c if ((stat & ADM1021_STATUS_INVAL) != ADM1021_STATUS_INVAL && stat 126 dev/i2c/adm1021.c (stat & ADM1021_STATUS_NOEXT)) stat 834 dev/ic/ami.c u_int8_t stat; stat 845 dev/ic/ami.c stat = bus_space_read_1(sc->sc_iot, sc->sc_ioh, AMI_ISTAT); stat 846 dev/ic/ami.c if (stat & AMI_ISTAT_PEND) { stat 847 dev/ic/ami.c bus_space_write_1(sc->sc_iot, sc->sc_ioh, AMI_ISTAT, stat); stat 586 dev/ic/an.c int i, stat; stat 612 dev/ic/an.c stat = CSR_READ_2(sc, AN_STATUS); stat 627 dev/ic/an.c if (stat & AN_STAT_CMD_RESULT) { stat 631 dev/ic/an.c sc->sc_dev.dv_xname, cmd, val, stat, stat 1084 dev/ic/ciss.c if (ldstat->stat < sizeof(ciss_stat)/sizeof(ciss_stat[0])) stat 1085 dev/ic/ciss.c bv->bv_status = ciss_stat[ldstat->stat]; stat 1195 dev/ic/ciss.c switch (ldstat->stat) { stat 1268 dev/ic/ciss.c ccb->ccb_len = sizeof(*stat); stat 1269 dev/ic/ciss.c ccb->ccb_data = stat; stat 1281 dev/ic/ciss.c cmd->cdb[7] = sizeof(*stat) >> 8; /* biiiig endian */ stat 1282 dev/ic/ciss.c cmd->cdb[8] = sizeof(*stat) & 0xff; stat 1360 dev/ic/ciss.c ldp->bling.pdtab[ldp->tgts[pd]] = stat == BIOC_SBUNBLINK? 0 : stat 169 dev/ic/cissreg.h u_int8_t stat; stat 1238 dev/ic/com.c u_char stat, c; stat 1246 dev/ic/com.c while (!ISSET(stat = bus_space_read_1(iot, ioh, com_lsr), LSR_RXRDY)) stat 1251 dev/ic/com.c stat = bus_space_read_1(iot, ioh, com_iir); stat 1299 dev/ic/com.c u_char stat; stat 1315 dev/ic/com.c stat = bus_space_read_1(iot, ioh, com_iir); stat 1108 dev/ic/cy.c int cy_chip, stat; stat 1117 dev/ic/cy.c stat = cd_read_reg_sc(sc, cy_chip, CD1400_SVRR); stat 1118 dev/ic/cy.c if (stat == 0) stat 1121 dev/ic/cy.c if (ISSET(stat, CD1400_SVRR_RXRDY)) { stat 1225 dev/ic/cy.c if (ISSET(stat, CD1400_SVRR_MDMCH)) { stat 1260 dev/ic/cy.c if (ISSET(stat, CD1400_SVRR_TXRDY)) { stat 2130 dev/ic/dc.c u_int32_t stat; stat 2142 dev/ic/dc.c stat = sc->dc_ldata->dc_rx_list[pos].dc_status; stat 2143 dev/ic/dc.c if (!(stat & htole32(DC_RXSTAT_OWN))) stat 552 dev/ic/dpt.c int i, j, stat; stat 573 dev/ic/dpt.c while((((stat = dpt_inb(sc, HA_STATUS)) stat 575 dev/ic/dpt.c && (stat != (HA_ST_READY|HA_ST_SEEK_COMPLETE|HA_ST_ERROR)) stat 576 dev/ic/dpt.c && (stat != (HA_ST_READY|HA_ST_SEEK_COMPLETE|HA_ST_ERROR|HA_ST_DRQ))) stat 972 dev/ic/iha.c u_int8_t stat; stat 977 dev/ic/iha.c stat = bus_space_read_1(iot, ioh, TUL_STAT0); stat 978 dev/ic/iha.c if ((stat & INTPD) != 0) { stat 979 dev/ic/iha.c sc->HCS_JSStatus0 = stat; stat 1427 dev/ic/iha.c u_int8_t stat; stat 1463 dev/ic/iha.c stat = bus_space_read_1(iot, ioh, TUL_ISTUS0); stat 1464 dev/ic/iha.c while ((stat & DABT) == 0); stat 721 dev/ic/malo.c ring->cur = ring->next = ring->stat = 0; stat 822 dev/ic/malo.c ring->cur = ring->next = ring->stat = 0; stat 1358 dev/ic/malo.c int stat; stat 1362 dev/ic/malo.c stat = sc->sc_txring.stat; stat 1364 dev/ic/malo.c desc = &sc->sc_txring.desc[sc->sc_txring.stat]; stat 1365 dev/ic/malo.c data = &sc->sc_txring.data[sc->sc_txring.stat]; stat 1404 dev/ic/malo.c DPRINTFN(2, ("tx done idx=%u\n", sc->sc_txring.stat)); stat 1408 dev/ic/malo.c if (++sc->sc_txring.stat >= sc->sc_txring.count) stat 1409 dev/ic/malo.c sc->sc_txring.stat = 0; stat 1410 dev/ic/malo.c if (sc->sc_txring.stat == stat) stat 47 dev/ic/malo.h int stat; stat 843 dev/ic/ncr53c9x.c ecb->stat = 0; stat 1095 dev/ic/ncr53c9x.c if (ecb->stat == SCSI_QUEUE_FULL) { stat 1114 dev/ic/ncr53c9x.c xs->status = ecb->stat; stat 1119 dev/ic/ncr53c9x.c } else if ((ecb->stat & ST_MASK) == SCSI_CHECK) { stat 2515 dev/ic/ncr53c9x.c ecb->stat = sc->sc_imess[sc->sc_imlen - 2]; stat 2517 dev/ic/ncr53c9x.c NCR_PHASE(("<stat:(%x,%x)>", ecb->stat, msg)); stat 2779 dev/ic/ncr53c9x.c ecb, ecb->flags, ecb->dleft, ecb->stat, stat 125 dev/ic/ncr53c9xvar.h u_char stat; /* SCSI status byte */ stat 851 dev/ic/osiop.c u_int8_t stat; stat 902 dev/ic/osiop.c stat = osiop_read_1(sc, OSIOP_ISTAT); stat 903 dev/ic/osiop.c if (stat & OSIOP_ISTAT_SIP) stat 905 dev/ic/osiop.c if (stat & OSIOP_ISTAT_DIP) { stat 906 dev/ic/osiop.c if (stat & OSIOP_ISTAT_SIP) stat 1006 dev/ic/osiop.c ds->stat[0] = SCSI_OSIOP_NOSTATUS; /* set invalid status */ stat 1210 dev/ic/osiop.c *status = ds->stat[0]; stat 1680 dev/ic/osiop.c intcode, ds->stat[0], ds->msgbuf[0], ds->msgbuf[1], stat 1710 dev/ic/osiop.c ds->stat[0], ds->msgbuf[0], ds->msgbuf[1], stat 1796 dev/ic/osiop.c (sc->sc_nexus != NULL) ? sc->sc_nexus->ds->stat[0] : 0); stat 1811 dev/ic/osiop.c (sc->sc_nexus != NULL) ? sc->sc_nexus->ds->stat[0] : 0, stat 113 dev/ic/osiopvar.h u_int8_t stat[8]; stat 131 dev/ic/osiopvar.h #define OSIOP_DSSTATOFF OSIOP_DSOFF(stat[0]) stat 143 dev/ic/pckbc.c u_char stat; stat 147 dev/ic/pckbc.c stat = bus_space_read_1(iot, ioh_c, 0); stat 148 dev/ic/pckbc.c if (stat & KBS_DIB) { stat 153 dev/ic/pckbc.c if (checkaux && (stat & 0x20)) { /* aux data */ stat 941 dev/ic/pckbc.c u_char stat; stat 951 dev/ic/pckbc.c stat = bus_space_read_1(t->t_iot, t->t_ioh_c, 0); stat 952 dev/ic/pckbc.c if (!(stat & KBS_DIB)) stat 957 dev/ic/pckbc.c slot = (t->t_haveaux && (stat & 0x20)) ? stat 383 dev/ic/rt2661.c ring->cur = ring->next = ring->stat = 0; stat 478 dev/ic/rt2661.c ring->cur = ring->next = ring->stat = 0; stat 912 dev/ic/rt2661.c data = &txq->data[txq->stat]; stat 949 dev/ic/rt2661.c DPRINTFN(15, ("tx done q=%d idx=%u\n", qid, txq->stat)); stat 952 dev/ic/rt2661.c if (++txq->stat >= txq->count) /* faster than % count */ stat 953 dev/ic/rt2661.c txq->stat = 0; stat 66 dev/ic/rt2661var.h int stat; stat 432 dev/isa/aha.c if (wmbi->stat == AHA_MBI_FREE) { stat 434 dev/isa/aha.c if (wmbi->stat != AHA_MBI_FREE) { stat 463 dev/isa/aha.c wmbi->stat, wmbi); stat 468 dev/isa/aha.c switch (wmbi->stat) { stat 494 dev/isa/aha.c sc->sc_dev.dv_xname, wmbi->stat); stat 505 dev/isa/aha.c wmbi->stat = AHA_MBI_FREE; stat 507 dev/isa/aha.c } while (wmbi->stat != AHA_MBI_FREE); stat 1145 dev/isa/aha.c wmbx->mbi[i].stat = AHA_MBI_FREE; stat 73 dev/isa/ahareg.h u_char stat; stat 347 dev/isa/wds.c if (wmbi->stat == WDS_MBI_FREE) { stat 349 dev/isa/wds.c if (wmbi->stat != WDS_MBI_FREE) { stat 378 dev/isa/wds.c wmbi->stat, wmbi); stat 388 dev/isa/wds.c wds_done(sc, scb, wmbi->stat); stat 391 dev/isa/wds.c wmbi->stat = WDS_MBI_FREE; stat 393 dev/isa/wds.c } while (wmbi->stat != WDS_MBI_FREE); stat 779 dev/isa/wds.c if (stat == WDS_MBI_OK) { stat 784 dev/isa/wds.c switch (stat) { stat 794 dev/isa/wds.c if (scb->cmd.stat == SCSI_CHECK) { stat 798 dev/isa/wds.c } else if (scb->cmd.stat == SCSI_BUSY) { stat 809 dev/isa/wds.c printf("%s: VENDOR ERROR %02x, scsi %02x\n", sc->sc_dev.dv_xname, scb->cmd.venderr, scb->cmd.stat); stat 946 dev/isa/wds.c wmbx->mbi[i].stat = WDS_MBI_FREE; stat 1244 dev/isa/wds.c scb->cmd.stat = 0x00; stat 58 dev/isa/wdsreg.h u_int8_t stat; stat 124 dev/isa/wdsreg.h u_int8_t stat; stat 284 dev/mii/ipgphy.c uint32_t bmsr, bmcr, stat; stat 306 dev/mii/ipgphy.c stat = PHY_READ(sc, STGE_PhyCtrl); stat 307 dev/mii/ipgphy.c switch (PC_LinkSpeed(stat)) { stat 322 dev/mii/ipgphy.c if ((stat & PC_PhyDuplexStatus) != 0) stat 327 dev/mii/ipgphy.c stat = PHY_READ(sc, IPGPHY_MII_1000SR); stat 329 dev/mii/ipgphy.c stat & IPGPHY_1000SR_MASTER) stat 3641 dev/pci/bktr/bktr_core.c u_int32_t x, stat; stat 3658 dev/pci/bktr/bktr_core.c if ((stat = INL(bktr, BKTR_INT_STAT)) & BT848_INT_I2CDONE) stat 3662 dev/pci/bktr/bktr_core.c if ((stat & (I2C_BITS)) != (I2C_BITS)) stat 2598 dev/pci/if_bge.c CSR_READ_4(sc, stats + offsetof(struct bge_stats, stat)) stat 1593 dev/pci/if_msk.c if ((stat & (YU_RXSTAT_CRCERR | YU_RXSTAT_LONGERR | stat 1596 dev/pci/if_msk.c (stat & YU_RXSTAT_RXOK) != YU_RXSTAT_RXOK || stat 1597 dev/pci/if_msk.c YU_RXSTAT_BYTES(stat) != len) stat 1708 dev/pci/if_sk.c if ((stat & XM_RXSTAT_ERRFRAME) == XM_RXSTAT_ERRFRAME || stat 1709 dev/pci/if_sk.c XM_RXSTAT_BYTES(stat) != len) stat 1712 dev/pci/if_sk.c if ((stat & (YU_RXSTAT_CRCERR | YU_RXSTAT_LONGERR | stat 1715 dev/pci/if_sk.c (stat & YU_RXSTAT_RXOK) != YU_RXSTAT_RXOK || stat 1716 dev/pci/if_sk.c YU_RXSTAT_BYTES(stat) != len) stat 1201 dev/pci/if_wpi.c struct wpi_rx_stat *stat; stat 1209 dev/pci/if_wpi.c stat = (struct wpi_rx_stat *)(desc + 1); stat 1211 dev/pci/if_wpi.c if (stat->len > WPI_STAT_MAXLEN) { stat 1218 dev/pci/if_wpi.c head = (struct wpi_rx_head *)((caddr_t)(stat + 1) + stat->len); stat 1223 dev/pci/if_wpi.c letoh16(head->len), (int8_t)stat->rssi, head->rate, head->chan, stat 1271 dev/pci/if_wpi.c tap->wr_dbm_antsignal = (int8_t)(stat->rssi - WPI_RSSI_OFFSET); stat 1272 dev/pci/if_wpi.c tap->wr_dbm_antnoise = (int8_t)letoh16(stat->noise); stat 1311 dev/pci/if_wpi.c ieee80211_input(ifp, m, ni, stat->rssi, 0); stat 1324 dev/pci/if_wpi.c struct wpi_tx_stat *stat = (struct wpi_tx_stat *)(desc + 1); stat 1328 dev/pci/if_wpi.c "duration=%d status=%x\n", desc->qid, desc->idx, stat->ntries, stat 1329 dev/pci/if_wpi.c stat->nkill, stat->rate, letoh32(stat->duration), stat 1330 dev/pci/if_wpi.c letoh32(stat->status))); stat 1338 dev/pci/if_wpi.c if (stat->ntries > 0) { stat 1339 dev/pci/if_wpi.c DPRINTFN(3, ("tx intr ntries %d\n", stat->ntries)); stat 1343 dev/pci/if_wpi.c if ((letoh32(stat->status) & 0xff) != 1) stat 281 dev/pci/ises.c u_int32_t stat; stat 300 dev/pci/ises.c stat = READ_REG(sc, ISES_BO_STAT); stat 301 dev/pci/ises.c if (stat & ISES_BO_STAT_POWERDOWN) { stat 302 dev/pci/ises.c stat &= ~ISES_BO_STAT_POWERDOWN; stat 303 dev/pci/ises.c WRITE_REG(sc, ISES_BO_STAT, stat); stat 310 dev/pci/ises.c stat |= ISES_BO_STAT_POWERDOWN; stat 311 dev/pci/ises.c WRITE_REG(sc, ISES_BO_STAT, stat); stat 322 dev/pci/ises.c stat = 0; stat 330 dev/pci/ises.c stat |= ISES_BO_STAT_HWRESET; stat 331 dev/pci/ises.c WRITE_REG(sc, ISES_BO_STAT, stat); stat 332 dev/pci/ises.c stat &= ~ISES_BO_STAT_HWRESET; stat 333 dev/pci/ises.c WRITE_REG(sc, ISES_BO_STAT, stat); stat 339 dev/pci/ises.c stat = READ_REG(sc, ISES_BO_STAT); stat 340 dev/pci/ises.c stat &= ~ISES_BO_STAT_ACONF; stat 341 dev/pci/ises.c WRITE_REG(sc, ISES_BO_STAT, stat); stat 368 dev/pci/ises.c stat = READ_REG(sc, ISES_BO_STAT); stat 369 dev/pci/ises.c stat |= ISES_BO_STAT_TAMPER; stat 370 dev/pci/ises.c WRITE_REG(sc, ISES_BO_STAT, stat); stat 376 dev/pci/ises.c stat = READ_REG(sc, ISES_BO_STAT); stat 377 dev/pci/ises.c stat |= ISES_BO_STAT_POWERDOWN; stat 378 dev/pci/ises.c WRITE_REG(sc, ISES_BO_STAT, stat); stat 384 dev/pci/ises.c stat = READ_REG(sc, ISES_BO_STAT); stat 385 dev/pci/ises.c stat &= ~(ISES_BO_STAT_TAMPER | ISES_BO_STAT_POWERDOWN); stat 386 dev/pci/ises.c WRITE_REG(sc, ISES_BO_STAT, stat); stat 445 dev/pci/ises.c stat = ises_get_fwversion(sc); stat 446 dev/pci/ises.c if (stat == 0) stat 450 dev/pci/ises.c stat & 0xffff, (stat >> 16) & 0xffff, ISES_BF_IDPLEN << 2); stat 453 dev/pci/ises.c switch (stat & 0xffff) { stat 465 dev/pci/ises.c stat = READ_REG(sc, ISES_A_STAT); stat 467 dev/pci/ises.c ises_sw_mode[ISES_STAT_SW_MODE(stat)])); stat 1800 dev/pci/ises.c u_int32_t cmd, stat; stat 1808 dev/pci/ises.c stat = READ_REG(sc, ISES_A_OQS); stat 1810 dev/pci/ises.c if (stat || cmd) stat 1812 dev/pci/ises.c cmd, stat, READ_REG(sc, ISES_A_IQF), stat 1886 dev/pci/ises.c stat = ISES_BO_STAT_HWRESET; stat 1887 dev/pci/ises.c WRITE_REG(sc, ISES_BO_STAT, stat); stat 1888 dev/pci/ises.c stat &= ~ISES_BO_STAT_HWRESET; stat 1889 dev/pci/ises.c WRITE_REG(sc, ISES_BO_STAT, stat); stat 1908 dev/pci/ises.c u_int32_t stat, cmd; stat 1913 dev/pci/ises.c stat = READ_REG(sc, ISES_BO_STAT); stat 1915 dev/pci/ises.c if (stat & ISES_BO_STAT_LOOP) stat 1917 dev/pci/ises.c if (stat & ISES_BO_STAT_TAMPER) stat 1919 dev/pci/ises.c if (stat & ISES_BO_STAT_POWERDOWN) stat 1921 dev/pci/ises.c if (stat & ISES_BO_STAT_ACONF) stat 1923 dev/pci/ises.c if (stat & ISES_BO_STAT_HWRESET) stat 1925 dev/pci/ises.c if (stat & ISES_BO_STAT_AIRQ) stat 1932 dev/pci/ises.c stat = READ_REG(sc, ISES_A_STAT); stat 1933 dev/pci/ises.c if (stat & ISES_STAT_LNAU_MASKED) stat 1936 dev/pci/ises.c if (stat & ISES_STAT_LNAU_BUSY_1) stat 1938 dev/pci/ises.c if (stat & ISES_STAT_LNAU_ERR_1) stat 1940 dev/pci/ises.c if (stat & ISES_STAT_LNAU_BUSY_2) stat 1942 dev/pci/ises.c if (stat & ISES_STAT_LNAU_ERR_2) stat 1947 dev/pci/ises.c if (stat & ISES_STAT_BCHU_MASKED) stat 1950 dev/pci/ises.c if (stat & ISES_STAT_BCHU_BUSY) stat 1952 dev/pci/ises.c if (stat & ISES_STAT_BCHU_ERR) stat 1954 dev/pci/ises.c if (stat & ISES_STAT_BCHU_SCIF) stat 1956 dev/pci/ises.c if (stat & ISES_STAT_BCHU_HIF) stat 1958 dev/pci/ises.c if (stat & ISES_STAT_BCHU_DDB) stat 1960 dev/pci/ises.c if (stat & ISES_STAT_BCHU_IRF) stat 1962 dev/pci/ises.c if (stat & ISES_STAT_BCHU_OAF) stat 1964 dev/pci/ises.c if (stat & ISES_STAT_BCHU_DIE) stat 1966 dev/pci/ises.c if (stat & ISES_STAT_BCHU_UE) stat 1968 dev/pci/ises.c if (stat & ISES_STAT_BCHU_IFE) stat 1970 dev/pci/ises.c if (stat & ISES_STAT_BCHU_IFHE) stat 1972 dev/pci/ises.c if (stat & ISES_STAT_BCHU_OFE) stat 1974 dev/pci/ises.c if (stat & ISES_STAT_BCHU_OFHF) stat 1976 dev/pci/ises.c if (stat & ISES_STAT_BCHU_OFF) stat 1981 dev/pci/ises.c if (stat & ISES_STAT_HW_DA) stat 1983 dev/pci/ises.c if (stat & ISES_STAT_HW_ACONF) stat 1985 dev/pci/ises.c if (stat & ISES_STAT_SW_WFOQ) stat 1987 dev/pci/ises.c if (stat & ISES_STAT_SW_OQSINC) stat 1991 dev/pci/ises.c if (stat & ISES_STAT_HW_DA) stat 1993 dev/pci/ises.c ises_sw_mode[ISES_STAT_SW_MODE(stat)]); stat 1996 dev/pci/ises.c ises_idp_state[ISES_STAT_IDP_STATE(stat)]); stat 2018 dev/pci/ises.c stat = READ_REG(sc, ISES_DMA_STATUS); stat 2019 dev/pci/ises.c printf ("DMA status register contains [%08x]\n", stat); stat 2021 dev/pci/ises.c if (stat & ISES_DMA_CTRL_ILT) stat 2023 dev/pci/ises.c if (stat & 0x0C000000) stat 2025 dev/pci/ises.c else if (stat & 0x08000000) stat 2028 dev/pci/ises.c if (stat & ISES_DMA_STATUS_R_RUN) stat 2032 dev/pci/ises.c if (stat & ISES_DMA_STATUS_R_ERR) stat 2035 dev/pci/ises.c if (stat & ISES_DMA_STATUS_W_RUN) stat 2039 dev/pci/ises.c if (stat & ISES_DMA_STATUS_W_ERR) stat 186 dev/pci/nofn.c u_int32_t stat; stat 189 dev/pci/nofn.c stat = REG_READ_4(sc, NOFN_PCI_INT_STAT) & sc->sc_intrmask; stat 191 dev/pci/nofn.c if (stat & PCIINTSTAT_RNGRDY) stat 194 dev/pci/nofn.c if (stat & PCIINTSTAT_PK) { stat 1737 dev/pci/safe.c volatile u_int32_t stat; stat 1739 dev/pci/safe.c stat = READ_REG(sc, SAFE_HM_STAT); stat 1740 dev/pci/safe.c if (stat == 0) /* shared irq, not for us */ stat 1743 dev/pci/safe.c WRITE_REG(sc, SAFE_HI_CLR, stat); /* IACK */ stat 1745 dev/pci/safe.c if ((stat & SAFE_INT_PE_DDONE)) { stat 334 dev/pci/ubsec.c volatile u_int32_t stat; stat 339 dev/pci/ubsec.c stat = READ_REG(sc, BS_STAT); stat 341 dev/pci/ubsec.c stat &= sc->sc_statmask; stat 342 dev/pci/ubsec.c if (stat == 0) stat 345 dev/pci/ubsec.c WRITE_REG(sc, BS_STAT, stat); /* IACK */ stat 350 dev/pci/ubsec.c if ((stat & BS_STAT_MCR1_DONE)) { stat 379 dev/pci/ubsec.c if (!(stat & BS_STAT_DMAERR)) stat 387 dev/pci/ubsec.c (stat & BS_STAT_MCR2_DONE)) { stat 412 dev/pci/ubsec.c if (!(stat & BS_STAT_DMAERR)) stat 420 dev/pci/ubsec.c if (stat & BS_STAT_DMAERR) { stat 448 dev/pci/ubsec.c u_int32_t stat; stat 456 dev/pci/ubsec.c if ((stat = READ_REG(sc, BS_STAT)) & (BS_STAT_MCR1_FULL | BS_STAT_DMAERR)) { stat 457 dev/pci/ubsec.c if(stat & BS_STAT_DMAERR) { stat 512 dev/pci/ubsec.c if ((stat = READ_REG(sc, BS_STAT)) & stat 514 dev/pci/ubsec.c if(stat & BS_STAT_DMAERR) { stat 1698 dev/pcmcia/if_ray.c u_int i, stat; stat 1701 dev/pcmcia/if_ray.c stat = SRAM_READ_FIELD_1(sc, RAY_GET_CCS(i), ray_cmd, c_status); stat 1702 dev/pcmcia/if_ray.c if (stat == RAY_CCS_STATUS_FREE) stat 1710 dev/pcmcia/if_ray.c stat = SRAM_READ_FIELD_1(sc, RAY_GET_CCS(i), ray_cmd, c_status); stat 1711 dev/pcmcia/if_ray.c if (stat == RAY_CCS_STATUS_FREE) stat 1761 dev/pcmcia/if_ray.c sc->sc_xname, stat)); stat 1764 dev/pcmcia/if_ray.c if (stat == RAY_CCS_STATUS_FAIL) { stat 1845 dev/pcmcia/if_ray.c u_int i, cmd, stat; stat 1864 dev/pcmcia/if_ray.c stat = SRAM_READ_FIELD_1(sc, ccs, ray_cmd, c_status); stat 1867 dev/pcmcia/if_ray.c ccs, cmd, stat)); stat 1875 dev/pcmcia/if_ray.c else if (stat == RAY_CCS_STATUS_FREE) { stat 1876 dev/pcmcia/if_ray.c stat = RAY_CCS_STATUS_COMPLETE; stat 1879 dev/pcmcia/if_ray.c } else if (stat != RAY_CCS_STATUS_BUSY) { stat 1939 dev/pcmcia/if_ray.c u_int cmd, stat; stat 1943 dev/pcmcia/if_ray.c stat = SRAM_READ_FIELD_1(sc, ccs, ray_cmd, c_status); stat 1946 dev/pcmcia/if_ray.c sc->sc_xname, RAY_GET_INDEX(ccs), cmd, stat)); stat 1966 dev/pcmcia/if_ray.c rcmd = ray_update_params_done(sc, ccs, stat); stat 1984 dev/pcmcia/if_ray.c if (stat == RAY_CCS_STATUS_FAIL) stat 1989 dev/pcmcia/if_ray.c rcmd = ray_start_join_net_done(sc, cmd, ccs, stat); stat 2003 dev/pcmcia/if_ray.c if (stat == RAY_CCS_STATUS_FAIL) stat 2039 dev/pcmcia/if_ray.c u_int cmd, stat; stat 2042 dev/pcmcia/if_ray.c stat = SRAM_READ_FIELD_1(sc, ccs, ray_cmd, c_status); stat 2045 dev/pcmcia/if_ray.c sc->sc_xname, RAY_GET_INDEX(ccs), cmd, stat)); stat 2157 dev/pcmcia/if_ray.c u_int8_t stat; stat 2162 dev/pcmcia/if_ray.c stat = SRAM_READ_FIELD_1(sc, ccs, ray_cmd, c_status); stat 2167 dev/pcmcia/if_ray.c return (stat); stat 2708 dev/pcmcia/if_ray.c u_int stat; stat 2711 dev/pcmcia/if_ray.c stat = SRAM_READ_FIELD_1(sc, sc->sc_startccs, ray_cmd, c_status); stat 2712 dev/pcmcia/if_ray.c ray_start_join_net_done(sc, sc->sc_startcmd, sc->sc_startccs, stat); stat 2732 dev/pcmcia/if_ray.c if (stat == RAY_CCS_STATUS_FAIL) { stat 2737 dev/pcmcia/if_ray.c if (stat == RAY_CCS_STATUS_BUSY || stat == RAY_CCS_STATUS_FREE) { stat 72 dev/sbus/bereg.h u_int32_t stat; /* status, clear on read */ stat 213 dev/sbus/bereg.h u_int32_t stat; /* status */ stat 698 dev/sbus/magma.c u_char stat; stat 701 dev/sbus/magma.c stat = mp->mp_rget[0]; stat 705 dev/sbus/magma.c if (stat & (CD1400_RDSR_BREAK | CD1400_RDSR_FE)) stat 707 dev/sbus/magma.c if (stat & CD1400_RDSR_PE) stat 710 dev/sbus/magma.c if (stat & CD1400_RDSR_OE) stat 71 dev/sbus/qereg.h u_int32_t stat; /* status */ stat 938 dev/sbus/spif.c u_int8_t stat, msvr; stat 951 dev/sbus/spif.c stat = sp->sp_rget[0]; stat 957 dev/sbus/spif.c if (stat & (CD180_RCSR_BE | CD180_RCSR_FE)) stat 960 dev/sbus/spif.c if (stat & CD180_RCSR_PE) stat 2762 dev/usb/ehci.c ehci_soft_qtd_t *setup, *stat, *next; stat 2783 dev/usb/ehci.c stat = ehci_alloc_sqtd(sc); stat 2784 dev/usb/ehci.c if (stat == NULL) { stat 2812 dev/usb/ehci.c end->nextqtd = stat; stat 2814 dev/usb/ehci.c end->qtd.qtd_altnext = htole32(stat->physaddr); stat 2816 dev/usb/ehci.c next = stat; stat 2835 dev/usb/ehci.c stat->qtd.qtd_status = htole32( stat 2841 dev/usb/ehci.c stat->qtd.qtd_buffer[0] = 0; /* XXX not needed? */ stat 2842 dev/usb/ehci.c stat->qtd.qtd_buffer_hi[0] = 0; /* XXX not needed? */ stat 2843 dev/usb/ehci.c stat->nextqtd = NULL; stat 2844 dev/usb/ehci.c stat->qtd.qtd_next = stat->qtd.qtd_altnext = EHCI_NULL; stat 2845 dev/usb/ehci.c stat->xfer = xfer; stat 2846 dev/usb/ehci.c stat->len = 0; stat 2857 dev/usb/ehci.c exfer->sqtdend = stat; stat 2892 dev/usb/ehci.c ehci_free_sqtd(sc, stat); stat 2248 dev/usb/if_atu.c usbd_status stat; stat 2274 dev/usb/if_atu.c &stat); stat 2275 dev/usb/if_atu.c atu_txeof(c->atu_xfer, c, stat); stat 1605 dev/usb/if_aue.c usbd_status stat; stat 1615 dev/usb/if_aue.c usbd_get_xfer_status(c->aue_xfer, NULL, NULL, NULL, &stat); stat 1616 dev/usb/if_aue.c aue_txeof(c->aue_xfer, c, stat); stat 1425 dev/usb/if_axe.c usbd_status stat; stat 1435 dev/usb/if_axe.c usbd_get_xfer_status(c->axe_xfer, NULL, NULL, NULL, &stat); stat 1436 dev/usb/if_axe.c axe_txeof(c->axe_xfer, c, stat); stat 1192 dev/usb/if_cue.c usbd_status stat; stat 1205 dev/usb/if_cue.c usbd_get_xfer_status(c->cue_xfer, NULL, NULL, NULL, &stat); stat 1206 dev/usb/if_cue.c cue_txeof(c->cue_xfer, c, stat); stat 1152 dev/usb/if_kue.c usbd_status stat; stat 1165 dev/usb/if_kue.c usbd_get_xfer_status(c->kue_xfer, NULL, NULL, NULL, &stat); stat 1166 dev/usb/if_kue.c kue_txeof(c->kue_xfer, c, stat); stat 1293 dev/usb/if_udav.c usbd_status stat; stat 1303 dev/usb/if_udav.c usbd_get_xfer_status(c->udav_xfer, NULL, NULL, NULL, &stat); stat 1304 dev/usb/if_udav.c udav_txeof(c->udav_xfer, c, stat); stat 802 dev/usb/if_upl.c uByte stat; stat 828 dev/usb/if_upl.c stat = sc->sc_ibuf; stat 830 dev/usb/if_upl.c if (stat == 0) stat 834 dev/usb/if_upl.c __func__, stat)); stat 1181 dev/usb/if_url.c usbd_status stat; stat 1191 dev/usb/if_url.c usbd_get_xfer_status(c->url_xfer, NULL, NULL, NULL, &stat); stat 1192 dev/usb/if_url.c url_txeof(c->url_xfer, c, stat); stat 1857 dev/usb/if_zyd.c const struct zyd_rx_stat *stat; stat 1869 dev/usb/if_zyd.c stat = (const struct zyd_rx_stat *) stat 1872 dev/usb/if_zyd.c if (stat->flags & ZYD_RX_ERROR) { stat 1874 dev/usb/if_zyd.c sc->sc_dev.dv_xname, stat->flags)); stat 1918 dev/usb/if_zyd.c tap->wr_rssi = stat->rssi; stat 1934 dev/usb/if_zyd.c ieee80211_input(ifp, m, ni, stat->rssi, 0); stat 2465 dev/usb/if_zyd.c uint8_t stat; stat 2495 dev/usb/if_zyd.c USETW(req.wLength, sizeof stat); stat 2496 dev/usb/if_zyd.c if (usbd_do_request(sc->sc_udev, &req, &stat) != 0) stat 2499 dev/usb/if_zyd.c return (stat & 0x80) ? EIO : 0; stat 230 dev/usb/ohci.c ohci_soft_td_t *setup, *data, *stat; stat 1655 dev/usb/ohci.c ohci_soft_td_t *setup, *stat, *next, *tail; stat 1672 dev/usb/ohci.c stat = ohci_alloc_std(sc); stat 1673 dev/usb/ohci.c if (stat == NULL) { stat 1696 dev/usb/ohci.c next = stat; stat 1700 dev/usb/ohci.c ohci_soft_td_t *std = stat; stat 1703 dev/usb/ohci.c std, &stat); stat 1704 dev/usb/ohci.c stat = stat->nexttd; /* point at free TD */ stat 1725 dev/usb/ohci.c stat->td.td_flags = htole32( stat 1728 dev/usb/ohci.c stat->td.td_cbp = 0; stat 1729 dev/usb/ohci.c stat->nexttd = tail; stat 1730 dev/usb/ohci.c stat->td.td_nexttd = htole32(tail->physaddr); stat 1731 dev/usb/ohci.c stat->td.td_be = 0; stat 1732 dev/usb/ohci.c stat->flags = OHCI_CALL_DONE; stat 1733 dev/usb/ohci.c stat->len = 0; stat 1734 dev/usb/ohci.c stat->xfer = xfer; stat 1775 dev/usb/ohci.c ohci_free_std(sc, stat); stat 112 dev/usb/uhci.c uhci_soft_td_t *setup, *stat; stat 2164 dev/usb/uhci.c uhci_soft_td_t *setup, *data, *stat, *next, *dataend; stat 2183 dev/usb/uhci.c stat = upipe->u.ctl.stat; stat 2194 dev/usb/uhci.c dataend->link.std = stat; stat 2195 dev/usb/uhci.c dataend->td.td_link = htole32(stat->physaddr | UHCI_PTR_VF | UHCI_PTR_TD); stat 2197 dev/usb/uhci.c next = stat; stat 2210 dev/usb/uhci.c stat->link.std = NULL; stat 2211 dev/usb/uhci.c stat->td.td_link = htole32(UHCI_PTR_T); stat 2212 dev/usb/uhci.c stat->td.td_status = htole32(UHCI_TD_SET_ERRCNT(3) | ls | stat 2214 dev/usb/uhci.c stat->td.td_token = stat 2217 dev/usb/uhci.c stat->td.td_buffer = htole32(0); stat 2229 dev/usb/uhci.c ii->stdend = stat; stat 2860 dev/usb/uhci.c upipe->u.ctl.stat = uhci_alloc_std(sc); stat 2861 dev/usb/uhci.c if (upipe->u.ctl.stat == NULL) { stat 2872 dev/usb/uhci.c uhci_free_std(sc, upipe->u.ctl.stat); stat 53 lib/libsa/fstat.c errno = (f->f_ops->stat)(f, sb); stat 46 lib/libsa/readdir.c if (stat(name, &sb) < 0) stat 70 lib/libsa/stand.h int (*stat)(struct open_file *f, struct stat *sb); stat 164 lib/libsa/stand.h int stat(const char *path, struct stat *sb); stat 443 net/route.c u_int32_t *stat = NULL; stat 505 net/route.c stat = &rtstat.rts_dynamic; stat 513 net/route.c stat = &rtstat.rts_newgateway; stat 528 net/route.c else if (stat != NULL) stat 529 net/route.c (*stat)++; stat 201 netinet6/icmp6.c stat->icp6errs_dst_unreach_noroute++; stat 204 netinet6/icmp6.c stat->icp6errs_dst_unreach_admin++; stat 207 netinet6/icmp6.c stat->icp6errs_dst_unreach_beyondscope++; stat 210 netinet6/icmp6.c stat->icp6errs_dst_unreach_addr++; stat 213 netinet6/icmp6.c stat->icp6errs_dst_unreach_noport++; stat 218 netinet6/icmp6.c stat->icp6errs_packet_too_big++; stat 223 netinet6/icmp6.c stat->icp6errs_time_exceed_transit++; stat 226 netinet6/icmp6.c stat->icp6errs_time_exceed_reassembly++; stat 233 netinet6/icmp6.c stat->icp6errs_paramprob_header++; stat 236 netinet6/icmp6.c stat->icp6errs_paramprob_nextheader++; stat 239 netinet6/icmp6.c stat->icp6errs_paramprob_option++; stat 244 netinet6/icmp6.c stat->icp6errs_redirect++; stat 247 netinet6/icmp6.c stat->icp6errs_unknown++; stat 432 stand/boot/cmd.c if (stat(qualify((cmd.argv[1]? cmd.argv[1]: "/.")), &sb) < 0) { stat 453 stand/boot/cmd.c if (stat(cmd.path, &sb) < 0) stat 271 sys/lkm.h if ((error = stat(lkmtp, cmd)) != 0) \ stat 223 sys/stat.h int stat(const char *, struct stat *);