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

1 2

  /src/tests/kernel/
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...]
  /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);
  /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...]
  /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);
  /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...]
  /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);
  /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...]
bha.c 216 u_char sts; local in function:bha_intr
226 sts = bus_space_read_1(iot, ioh, BHA_INTR_PORT);
227 if ((sts & BHA_INTR_ANYINTR) == 0)
237 if (sts & BHA_INTR_MBOA) {
249 if (sts & BHA_INTR_MBIF)
750 u_char sts; local in function:bha_cmd
772 sts = bus_space_read_1(iot, ioh, BHA_STAT_PORT);
773 if (sts & BHA_STAT_IDLE)
779 name, sts);
800 sts = bus_space_read_1(iot, ioh, BHA_STAT_PORT)
872 u_char sts; local in function:bha_find
    [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);
  /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)
pcn.c 348 int phy, ctl, sts, bound; local in function:mii_initphy
352 sts = pcn_mii_read(l, phy, MII_BMSR);
353 if (ctl != 0xffff && sts != 0xffff)
375 sts = pcn_mii_read(l, phy, MII_BMSR) |
378 l->bmsr = sts;
sip.c 376 int phy, ctl, sts, bound; local in function:mii_initphy
380 sts = mii_read(l, phy, MII_BMSR);
381 if (ctl != 0xffff && sts != 0xffff)
403 sts = mii_read(l, phy, MII_BMSR) |
406 l->bmsr = sts;
tlp.c 374 int phy, ctl, sts, bound; local in function:mii_initphy
378 sts = mii_read(l, phy, MII_BMSR);
379 if (ctl != 0xffff && sts != 0xffff)
401 sts = mii_read(l, phy, MII_BMSR) |
404 l->bmsr = sts;
wm.c 405 int phy, ctl, sts, bound; local in function:mii_initphy
409 sts = mii_read(l, phy, MII_BMSR);
410 if (ctl != 0xffff && sts != 0xffff)
432 sts = mii_read(l, phy, MII_BMSR) |
435 l->bmsr = sts;
  /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)
  /src/sys/compat/linux/common/
linux_signal.c 841 int sts; local in function:native_to_linux_si_status
845 sts = LINUX_SIGCONT;
848 sts = status;
855 sts = native_to_linux_signo[WTERMSIG(status)];
859 return sts;
  /src/sys/arch/arm/clps711x/
clpscom.c 910 u_char sts, *get; local in function:clpscom_rxsoft
916 sts = get[1];
917 if (ISSET(sts, UARTDR_FRMERR | UARTDR_PARERR | UARTDR_OVERR)) {
918 if (ISSET(sts, (UARTDR_FRMERR)))
920 if (ISSET(sts, UARTDR_PARERR))
922 if (ISSET(sts, UARTDR_OVERR))
  /src/sys/arch/epoc32/windermere/
wmcom.c 766 u_char sts, *get; local in function:wmcom_rxsoft
772 sts = get[1];
773 if (ISSET(sts, RSR_FE | RSR_PE | RSR_OE)) {
774 if (ISSET(sts, (RSR_FE)))
776 if (ISSET(sts, RSR_PE))
778 if (ISSET(sts, RSR_OE))
  /src/sys/arch/arc/dti/
btl.c 199 u_char sts; local in function:bt_cmd
225 sts = isa_inb(iobase + BT_STAT_PORT);
226 if (sts & BT_STAT_IDLE)
232 name, sts);
250 sts = isa_inb(iobase + BT_STAT_PORT);
251 if (!(sts & BT_STAT_CDF))
270 sts = isa_inb(iobase + BT_STAT_PORT);
271 if (sts & BT_STAT_DF)
292 sts = isa_inb(iobase + BT_INTR_PORT);
294 if (sts & BT_INTR_HACC
510 u_char sts; local in function:btintr
892 u_char sts; local in function:bt_find
    [all...]

Completed in 43 milliseconds

1 2