HomeSort by: relevance | last modified time | path
    Searched defs:sts (Results 1 - 25 of 76) sorted by relevancy

1 2 3 4

  /src/tests/kernel/
t_timeleft.c 87 const struct timespec sts = { 1, 0 }; local in function:tester
94 ATF_REQUIRE(nanosleep(&sts, NULL) == 0);
t_timeleft.c 87 const struct timespec sts = { 1, 0 }; local in function:tester
94 ATF_REQUIRE(nanosleep(&sts, NULL) == 0);
  /src/tests/lib/libc/ttyio/
t_ptm.c 62 struct stat stm, sts; local in function:ATF_TC_BODY
87 REQUIRE_ERRNO(stat(ptm.cn, &sts), -1);
88 ATF_REQUIRE_EQ(stm.st_rdev, sts.st_rdev);
92 REQUIRE_ERRNO(stat(ptm.sn, &sts), -1);
93 ATF_REQUIRE_EQ(stm.st_rdev, sts.st_rdev);
95 ATF_REQUIRE_EQ_MSG(sts.st_uid, getuid(), "bad slave uid");
99 ATF_REQUIRE_EQ_MSG(sts.st_gid, gp->gr_gid, "bad slave grid");
127 struct stat stm, sts; local in function:ATF_TC_BODY
142 REQUIRE_ERRNO(stat("/dev/ptyp0", &sts), -1);
144 ATF_REQUIRE_EQ_MSG(major(stm.st_rdev), major(sts.st_rdev)
    [all...]
t_ptm.c 62 struct stat stm, sts; local in function:ATF_TC_BODY
87 REQUIRE_ERRNO(stat(ptm.cn, &sts), -1);
88 ATF_REQUIRE_EQ(stm.st_rdev, sts.st_rdev);
92 REQUIRE_ERRNO(stat(ptm.sn, &sts), -1);
93 ATF_REQUIRE_EQ(stm.st_rdev, sts.st_rdev);
95 ATF_REQUIRE_EQ_MSG(sts.st_uid, getuid(), "bad slave uid");
99 ATF_REQUIRE_EQ_MSG(sts.st_gid, gp->gr_gid, "bad slave grid");
127 struct stat stm, sts; local in function:ATF_TC_BODY
142 REQUIRE_ERRNO(stat("/dev/ptyp0", &sts), -1);
144 ATF_REQUIRE_EQ_MSG(major(stm.st_rdev), major(sts.st_rdev)
    [all...]
  /src/sys/arch/arm/imx/
imxpwm.c 54 uint32_t sts = PWM_READ(sc, PWM_SR); local in function:imxpwm_intr
56 if (sts & PWM_SR_ROV) {
61 PWM_WRITE(sc, PWM_SR, sts);
imxpwm.c 54 uint32_t sts = PWM_READ(sc, PWM_SR); local in function:imxpwm_intr
56 if (sts & PWM_SR_ROV) {
61 PWM_WRITE(sc, PWM_SR, sts);
  /src/sys/arch/evbppc/obs405/
obs600_machdep.c 259 uint8_t sts; local in function:read_eeprom
272 sts = IIC0_READ(IIC_STS);
273 } while ((sts & IIC_STS_PT));
286 sts = IIC0_READ(IIC_STS);
287 } while ((sts & IIC_STS_PT) && !(sts & IIC_STS_ERR));
299 sts = IIC0_READ(IIC_STS);
300 } while ((sts & IIC_STS_PT) && !(sts & IIC_STS_ERR));
302 if ((sts & IIC_STS_PT) || (sts & IIC_STS_ERR)
    [all...]
obs600_machdep.c 259 uint8_t sts; local in function:read_eeprom
272 sts = IIC0_READ(IIC_STS);
273 } while ((sts & IIC_STS_PT));
286 sts = IIC0_READ(IIC_STS);
287 } while ((sts & IIC_STS_PT) && !(sts & IIC_STS_ERR));
299 sts = IIC0_READ(IIC_STS);
300 } while ((sts & IIC_STS_PT) && !(sts & IIC_STS_ERR));
302 if ((sts & IIC_STS_PT) || (sts & IIC_STS_ERR)
    [all...]
  /src/regress/sys/kern/nameibench/
nameibench.c 56 struct timespec sts; variable in typeref:struct:timespec
127 if (clock_gettime(CLOCK_MONOTONIC, &sts)) {
187 us -= (long)(sts.tv_sec * (uint64_t)1000000 + sts.tv_nsec / 1000);
nameibench.c 56 struct timespec sts; variable in typeref:struct:timespec
127 if (clock_gettime(CLOCK_MONOTONIC, &sts)) {
187 us -= (long)(sts.tv_sec * (uint64_t)1000000 + sts.tv_nsec / 1000);
  /src/sys/compat/ultrix/
ultrix_ioctl.c 563 struct ultrix_termios sts; local in function:ultrix_sys_ioctl
570 btios2stios (&bts, &sts);
572 stios2stio (&sts, &st);
575 return copyout(&sts, SCARG(&ap, data), sizeof(sts));
584 struct ultrix_termios sts; local in function:ultrix_sys_ioctl
600 btios2stios(&bts, &sts);
601 stio2stios(&st, &sts);
602 stios2btios(&sts, &bts);
625 struct ultrix_termios sts; local in function:ultrix_sys_ioctl
    [all...]
ultrix_ioctl.c 563 struct ultrix_termios sts; local in function:ultrix_sys_ioctl
570 btios2stios (&bts, &sts);
572 stios2stio (&sts, &st);
575 return copyout(&sts, SCARG(&ap, data), sizeof(sts));
584 struct ultrix_termios sts; local in function:ultrix_sys_ioctl
600 btios2stios(&bts, &sts);
601 stio2stios(&st, &sts);
602 stios2btios(&sts, &bts);
625 struct ultrix_termios sts; local in function:ultrix_sys_ioctl
    [all...]
  /src/sys/dev/fdt/
cdns3_fdt.c 157 uint32_t sts; local in function:cdns3_fdt_attach
159 sts = OTGRD4(cfsc, OTG_STS);
160 if (sts & OTG_STS_XHCI_READY)
165 aprint_error(": not ready (%#x)\n", sts);
cdns3_fdt.c 157 uint32_t sts; local in function:cdns3_fdt_attach
159 sts = OTGRD4(cfsc, OTG_STS);
160 if (sts & OTG_STS_XHCI_READY)
165 aprint_error(": not ready (%#x)\n", sts);
  /src/sys/dev/ic/
aha.c 129 u_char sts; local in function:aha_cmd
155 sts = bus_space_read_1(iot, ioh, AHA_STAT_PORT);
156 if (sts & AHA_STAT_IDLE)
162 name, sts);
181 sts = bus_space_read_1(iot, ioh, AHA_STAT_PORT);
182 if (!(sts & AHA_STAT_CDF))
202 sts = bus_space_read_1(iot, ioh, AHA_STAT_PORT);
203 if (sts & AHA_STAT_DF)
224 sts = bus_space_read_1(iot, ioh, AHA_INTR_PORT);
226 if (sts & AHA_INTR_HACC
395 u_char sts; local in function:aha_intr
742 u_char sts; local in function:aha_find
1028 u_char sts; local in function:aha_inquire_setup_information
    [all...]
aha.c 129 u_char sts; local in function:aha_cmd
155 sts = bus_space_read_1(iot, ioh, AHA_STAT_PORT);
156 if (sts & AHA_STAT_IDLE)
162 name, sts);
181 sts = bus_space_read_1(iot, ioh, AHA_STAT_PORT);
182 if (!(sts & AHA_STAT_CDF))
202 sts = bus_space_read_1(iot, ioh, AHA_STAT_PORT);
203 if (sts & AHA_STAT_DF)
224 sts = bus_space_read_1(iot, ioh, AHA_INTR_PORT);
226 if (sts & AHA_INTR_HACC
395 u_char sts; local in function:aha_intr
742 u_char sts; local in function:aha_find
1028 u_char sts; local in function:aha_inquire_setup_information
    [all...]
  /src/sys/arch/arm/sunxi/
sunxi_can.c 340 sunxi_can_err_intr(struct sunxi_can_softc *sc, uint32_t irq, uint32_t sts)
356 device_xname(sc->sc_dev), sts, reg);
360 if (sts & SUNXI_CAN_STA_TX)
362 if (sts & SUNXI_CAN_STA_RX)
367 device_xname(sc->sc_dev), sts);
388 uint32_t sts = sunxi_can_read(sc, SUNXI_CAN_STA_REG); local in function:sunxi_can_intr
394 while (sts & SUNXI_CAN_STA_RX_RDY) {
396 sts = sunxi_can_read(sc, SUNXI_CAN_STA_REG);
412 sunxi_can_err_intr(sc, irq, sts);
sunxi_can.c 340 sunxi_can_err_intr(struct sunxi_can_softc *sc, uint32_t irq, uint32_t sts)
356 device_xname(sc->sc_dev), sts, reg);
360 if (sts & SUNXI_CAN_STA_TX)
362 if (sts & SUNXI_CAN_STA_RX)
367 device_xname(sc->sc_dev), sts);
388 uint32_t sts = sunxi_can_read(sc, SUNXI_CAN_STA_REG); local in function:sunxi_can_intr
394 while (sts & SUNXI_CAN_STA_RX_RDY) {
396 sts = sunxi_can_read(sc, SUNXI_CAN_STA_REG);
412 sunxi_can_err_intr(sc, irq, sts);
  /src/sys/arch/sandpoint/stand/altboot/
dsk.c 142 int sts; local in function:spinwait_unbusy
156 sts = CSR_READ_1(chan->cmd + _STS);
158 && sts != 0xff
159 && (sts & (ATA_STS_BUSY|ATA_STS_DRDY)) != ATA_STS_DRDY) {
161 sts = CSR_READ_1(chan->cmd + _STS);
165 if (sts == 0xff)
167 else if (sts & ATA_STS_ERR)
169 else if (sts & ATA_STS_BUSY)
171 else if ((sts & ATA_STS_DRDY) == 0)
  /src/sys/compat/linux32/common/
linux32_signal.c 640 int sts; local in function:native_to_linux32_si_status
644 sts = LINUX_SIGCONT;
647 sts = WEXITSTATUS(status);
654 sts = native_to_linux32_signo[WTERMSIG(status)];
658 return sts;
  /src/sys/compat/sunos/
sunos_ioctl.c 550 struct sunos_termios sts; local in function:sunos_sys_ioctl
556 btios2stios (&bts, &sts);
558 stios2stio (&sts, &st);
562 error = copyout((void *)&sts, SCARG(uap, data),
563 sizeof(sts));
571 struct sunos_termios sts; local in function:sunos_sys_ioctl
585 btios2stios(&bts, &sts);
586 stio2stios(&st, &sts);
587 stios2btios(&sts, &bts);
598 struct sunos_termios sts; local in function:sunos_sys_ioctl
    [all...]
  /src/sys/compat/sunos32/
sunos32_ioctl.c 574 struct sunos_termios sts; local in function:sunos32_sys_ioctl
582 btios2stios (&bts, &sts);
584 stios2stio (&sts, &st);
587 return copyout(&sts, SCARG_P32(uap, data),
588 sizeof(sts));
596 struct sunos_termios sts; local in function:sunos32_sys_ioctl
612 btios2stios(&bts, &sts);
613 stio2stios(&st, &sts);
614 stios2btios(&sts, &bts);
624 struct sunos_termios sts; local in function:sunos32_sys_ioctl
    [all...]
  /src/sys/arch/arm/at91/
at91dbgu.c 925 u_char sts; local in function:at91dbgu_rxsoft
942 sts = get[1];
943 if (ISSET(sts, DBGU_SR_PARE | DBGU_SR_FRAME | DBGU_SR_OVRE)) {
952 if (ISSET(sts, (DBGU_SR_FRAME | DBGU_SR_OVRE)))
954 if (ISSET(sts, DBGU_SR_PARE))
  /src/sys/arch/arm/ep93xx/
epcom.c 877 int c, sts; local in function:epcom_common_getc
888 sts = bus_space_read_4(iot, ioh, EPCOM_RXSts);
889 if (ISSET(sts, RXSts_BE))
919 u_char sts; local in function:epcom_rxsoft
936 sts = get[1];
937 if (ISSET(sts, RXSts_OE | RXSts_FE | RXSts_PE | RXSts_BE)) {
946 if (ISSET(sts, (RXSts_FE|RXSts_BE)))
948 if (ISSET(sts, RXSts_PE))
  /src/sys/dev/usb/
uhub.c 789 int sts = status; local in function:uhub_explore
790 if ((sts & UPS_PORT_POWER) == 0)
791 sts &= ~UPS_PORT_POWER_SS;
793 if (sts & UPS_HIGH_SPEED)
795 else if (sts & UPS_LOW_SPEED)
803 if (sts & UPS_PORT_POWER)

Completed in 31 milliseconds

1 2 3 4