| /netbsd-src/tests/lib/libc/ttyio/ |
| H A D | t_ptm.c | 62 struct stat stm, sts; in ATF_TC_BODY() local 87 REQUIRE_ERRNO(stat(ptm.cn, &sts), -1); in ATF_TC_BODY() 88 ATF_REQUIRE_EQ(stm.st_rdev, sts.st_rdev); in ATF_TC_BODY() 92 REQUIRE_ERRNO(stat(ptm.sn, &sts), -1); in ATF_TC_BODY() 93 ATF_REQUIRE_EQ(stm.st_rdev, sts.st_rdev); in ATF_TC_BODY() 95 ATF_REQUIRE_EQ_MSG(sts.st_uid, getuid(), "bad slave uid"); in ATF_TC_BODY() 99 ATF_REQUIRE_EQ_MSG(sts.st_gid, gp->gr_gid, "bad slave grid"); in ATF_TC_BODY() 127 struct stat stm, sts; in ATF_TC_BODY() local 142 REQUIRE_ERRNO(stat("/dev/ptyp0", &sts), -1); in ATF_TC_BODY() 144 ATF_REQUIRE_EQ_MSG(major(stm.st_rdev), major(sts.st_rdev), in ATF_TC_BODY() [all …]
|
| /netbsd-src/sys/arch/evbppc/obs405/ |
| H A D | obs600_machdep.c | 259 uint8_t sts; in read_eeprom() local 272 sts = IIC0_READ(IIC_STS); in read_eeprom() 273 } while ((sts & IIC_STS_PT)); in read_eeprom() 286 sts = IIC0_READ(IIC_STS); in read_eeprom() 287 } while ((sts & IIC_STS_PT) && !(sts & IIC_STS_ERR)); in read_eeprom() 299 sts = IIC0_READ(IIC_STS); in read_eeprom() 300 } while ((sts & IIC_STS_PT) && !(sts & IIC_STS_ERR)); in read_eeprom() 302 if ((sts & IIC_STS_PT) || (sts & IIC_STS_ERR)) in read_eeprom() 304 if (sts & IIC_STS_MDBS) { in read_eeprom()
|
| /netbsd-src/external/gpl3/binutils.old/dist/gprofng/src/ |
| H A D | DbeApplication.cc | 79 char *sts; in initApplication() local 86 sts = dbe_strdup (GTXT ("OK")); in initApplication() 91 sts = dbe_strdup (GTXT ("WARN")); in initApplication() 96 sts = dbe_strdup (GTXT ("FATAL")); in initApplication() 101 sts = dbe_strdup (GTXT ("ERROR")); in initApplication() 107 sts = dbe_strdup (GTXT ("OK")); in initApplication() 110 data->store (0, sts); in initApplication()
|
| /netbsd-src/external/gpl3/binutils/dist/gprofng/src/ |
| H A D | DbeApplication.cc | 79 char *sts; in initApplication() local 86 sts = dbe_strdup (GTXT ("OK")); in initApplication() 91 sts = dbe_strdup (GTXT ("WARN")); in initApplication() 96 sts = dbe_strdup (GTXT ("FATAL")); in initApplication() 101 sts = dbe_strdup (GTXT ("ERROR")); in initApplication() 107 sts = dbe_strdup (GTXT ("OK")); in initApplication() 110 data->store (0, sts); in initApplication()
|
| /netbsd-src/external/gpl3/gdb/dist/sim/testsuite/sh/ |
| H A D | fpchg.s | 10 sts fpscr, r0 13 sts fpscr, r0 16 sts fpscr, r0 19 sts fpscr, r0 22 sts fpscr, r0
|
| H A D | frchg.s | 10 sts fpscr, r0 13 sts fpscr, r0 16 sts fpscr, r0 19 sts fpscr, r0 22 sts fpscr, r0
|
| H A D | fschg.s | 10 sts fpscr, r0 13 sts fpscr, r0 16 sts fpscr, r0 19 sts fpscr, r0 22 sts fpscr, r0
|
| H A D | testutils.inc | 96 sts fpul, r0 254 sts \reg, r0 263 sts a0, r0 266 sts a0, r0 288 sts fpul, r0 299 sts fpul, r0 310 sts fpul, r0 323 sts fpscr, r0 336 sts fpscr, r0 350 sts fpscr, r0 [all …]
|
| H A D | ftrc.s | 16 sts fpul, r1 56 sts fpul, r1 69 sts fpul, r1 123 sts fpul, r1
|
| /netbsd-src/sys/dev/ic/ |
| H A D | aha.c | 129 u_char sts; in aha_cmd() local 155 sts = bus_space_read_1(iot, ioh, AHA_STAT_PORT); in aha_cmd() 156 if (sts & AHA_STAT_IDLE) in aha_cmd() 162 name, sts); in aha_cmd() 181 sts = bus_space_read_1(iot, ioh, AHA_STAT_PORT); in aha_cmd() 182 if (!(sts & AHA_STAT_CDF)) in aha_cmd() 202 sts = bus_space_read_1(iot, ioh, AHA_STAT_PORT); in aha_cmd() 203 if (sts & AHA_STAT_DF) in aha_cmd() 224 sts = bus_space_read_1(iot, ioh, AHA_INTR_PORT); in aha_cmd() 226 if (sts & AHA_INTR_HACC) in aha_cmd() [all …]
|
| H A D | bha.c | 216 u_char sts; in bha_intr() local 226 sts = bus_space_read_1(iot, ioh, BHA_INTR_PORT); in bha_intr() 227 if ((sts & BHA_INTR_ANYINTR) == 0) in bha_intr() 237 if (sts & BHA_INTR_MBOA) { in bha_intr() 249 if (sts & BHA_INTR_MBIF) in bha_intr() 750 u_char sts; in bha_cmd() local 772 sts = bus_space_read_1(iot, ioh, BHA_STAT_PORT); in bha_cmd() 773 if (sts & BHA_STAT_IDLE) in bha_cmd() 779 name, sts); in bha_cmd() 800 sts = bus_space_read_1(iot, ioh, BHA_STAT_PORT); in bha_cmd() [all …]
|
| /netbsd-src/sys/dev/ |
| H A D | ipmi.c | 572 int sts, v; in smic_write_cmd_data() 575 sts = smic_wait(sc, SMIC_TX_DATA_RDY | SMIC_BUSY, SMIC_TX_DATA_RDY, in smic_write_cmd_data() 577 if (sts < 0) in smic_write_cmd_data() 578 return sts; in smic_write_cmd_data() 594 int sts; in smic_read_data() 596 sts = smic_wait(sc, SMIC_RX_DATA_RDY | SMIC_BUSY, SMIC_RX_DATA_RDY, in smic_read_data() local 598 if (sts >= 0) { in smic_read_data() 602 return sts; in smic_read_data() 610 int sts, idx; in smic_sendmsg() 612 sts in smic_sendmsg() local 574 int sts, v; smic_write_cmd_data() local 633 int sts, idx; smic_recvmsg() local 756 int sts; kcs_read_data() local 775 int idx, sts; kcs_sendmsg() local 801 int idx, sts; kcs_recvmsg() local [all...] |
| /netbsd-src/external/gpl3/gcc/dist/libgcc/config/sh/ |
| H A D | lib1funcs-Os-4-200.S | 43 sts fpscr,r1 45 sts.l fpul,@-r15 93 sts fpul,r0 161 sts pr,r1 236 sts pr,r1 248 sts pr,r2 259 sts macl,r2 272 sts.l fpscr,@-r15 273 sts fpul,r1 306 sts fpul,r0
|
| /netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/sh/ |
| H A D | lib1funcs-Os-4-200.S | 43 sts fpscr,r1 45 sts.l fpul,@-r15 93 sts fpul,r0 161 sts pr,r1 236 sts pr,r1 248 sts pr,r2 259 sts macl,r2 272 sts.l fpscr,@-r15 273 sts fpul,r1 306 sts fpul,r0
|
| /netbsd-src/sys/arch/arc/dti/ |
| H A D | btl.c | 199 u_char sts; in bt_cmd() local 225 sts = isa_inb(iobase + BT_STAT_PORT); in bt_cmd() 226 if (sts & BT_STAT_IDLE) in bt_cmd() 232 name, sts); in bt_cmd() 250 sts = isa_inb(iobase + BT_STAT_PORT); in bt_cmd() 251 if (!(sts & BT_STAT_CDF)) in bt_cmd() 270 sts = isa_inb(iobase + BT_STAT_PORT); in bt_cmd() 271 if (sts & BT_STAT_DF) in bt_cmd() 292 sts = isa_inb(iobase + BT_INTR_PORT); in bt_cmd() 294 if (sts & BT_INTR_HACC) in bt_cmd() [all …]
|
| /netbsd-src/external/gpl3/binutils.old/dist/bfd/ |
| H A D | cache.c | 404 int sts; in cache_bflush() local 409 sts = fflush (f); in cache_bflush() 410 if (sts < 0) in cache_bflush() 412 return sts; in cache_bflush() 418 int sts; in cache_bstat() local 423 sts = fstat (fileno (f), sb); in cache_bstat() 424 if (sts < 0) in cache_bstat() 426 return sts; in cache_bstat()
|
| /netbsd-src/sys/arch/sandpoint/stand/altboot/ |
| H A D | stg.c | 322 uint32_t sts; in stg_recv() local 331 sts = (uint32_t)le64toh(rxd->xd1); in stg_recv() 332 if ((sts & R1_DONE) != 0) in stg_recv() 339 if ((sts & R1_ER_MASK) != 0) { in stg_recv() 345 len = sts & R1_FL_MASK; in stg_recv() 443 int phy, ctl, sts, bound; in mii_initphy() local 450 sts = mii_read(l, phy, MII_BMSR); in mii_initphy() 451 if (ctl != 0xffff && sts != 0xffff && sts != 0) in mii_initphy() 475 sts = mii_read(l, phy, MII_BMSR) | in mii_initphy() 478 l->bmsr = sts; in mii_initphy()
|
| H A D | dsk.c | 142 int sts; in spinwait_unbusy() local 156 sts = CSR_READ_1(chan->cmd + _STS); in spinwait_unbusy() 158 && sts != 0xff in spinwait_unbusy() 159 && (sts & (ATA_STS_BUSY|ATA_STS_DRDY)) != ATA_STS_DRDY) { in spinwait_unbusy() 161 sts = CSR_READ_1(chan->cmd + _STS); in spinwait_unbusy() 165 if (sts == 0xff) in spinwait_unbusy() 167 else if (sts & ATA_STS_ERR) in spinwait_unbusy() 169 else if (sts & ATA_STS_BUSY) in spinwait_unbusy() 171 else if ((sts & ATA_STS_DRDY) == 0) in spinwait_unbusy()
|
| /netbsd-src/external/gpl3/gdb/dist/gdb/testsuite/gdb.disasm/ |
| H A D | sh3.s | 50 sts fpul,r3 51 sts.l fpul,@-r3 52 sts fpscr,r3 53 sts.l fpscr,@-r3
|
| /netbsd-src/sys/compat/ultrix/ |
| H A D | ultrix_ioctl.c | 563 struct ultrix_termios sts; in ultrix_sys_ioctl() local 570 btios2stios (&bts, &sts); in ultrix_sys_ioctl() 572 stios2stio (&sts, &st); in ultrix_sys_ioctl() 575 return copyout(&sts, SCARG(&ap, data), sizeof(sts)); in ultrix_sys_ioctl() 584 struct ultrix_termios sts; in ultrix_sys_ioctl() local 600 btios2stios(&bts, &sts); in ultrix_sys_ioctl() 601 stio2stios(&st, &sts); in ultrix_sys_ioctl() 602 stios2btios(&sts, &bts); in ultrix_sys_ioctl() 625 struct ultrix_termios sts; in ultrix_sys_ioctl() local 627 error = copyin(SCARG(&ap, data), &sts, sizeof(sts)); in ultrix_sys_ioctl() [all …]
|
| /netbsd-src/external/gpl3/binutils/dist/bfd/ |
| H A D | cache.c | 444 int sts; in cache_bflush() local 453 sts = fflush (f); in cache_bflush() 454 if (sts < 0) in cache_bflush() 458 return sts; in cache_bflush() 466 int sts; in cache_bstat() local 474 sts = fstat (fileno (f), sb); in cache_bstat() 475 if (sts < 0) in cache_bstat() 479 return sts; in cache_bstat()
|
| /netbsd-src/regress/sys/kern/nameibench/ |
| H A D | nameibench.c | 56 struct timespec sts; variable 127 if (clock_gettime(CLOCK_MONOTONIC, &sts)) { in start() 187 us -= (long)(sts.tv_sec * (uint64_t)1000000 + sts.tv_nsec / 1000); in run()
|
| /netbsd-src/sys/dev/fdt/ |
| H A D | cdns3_fdt.c | 157 uint32_t sts; in cdns3_fdt_attach() local 159 sts = OTGRD4(cfsc, OTG_STS); in cdns3_fdt_attach() 160 if (sts & OTG_STS_XHCI_READY) in cdns3_fdt_attach() 165 aprint_error(": not ready (%#x)\n", sts); in cdns3_fdt_attach()
|
| /netbsd-src/crypto/external/bsd/openssl/dist/apps/ |
| H A D | vms_decc_init.c | 75 int sts; in decc_init() local 105 sts = decc$feature_set_value(feat_index, in decc_init() 111 decc_feat_array[i].value, sts); in decc_init()
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/apps/ |
| H A D | vms_decc_init.c | 75 int sts; in decc_init() local 105 sts = decc$feature_set_value(feat_index, in decc_init() 111 decc_feat_array[i].value, sts); in decc_init()
|