| /freebsd-14.2/contrib/netbsd-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() 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() 153 REQUIRE_ERRNO(fstat(fds, &sts), -1); in ATF_TC_BODY() [all …]
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/pinctrl/ |
| H A D | cirrus,madera.yaml | 70 spk-overheat-warn, timer1-sts, timer2-sts, 71 timer3-sts, timer4-sts, timer5-sts, timer6-sts, 72 timer7-sts, timer8-sts, log1-fifo-ne,
|
| /freebsd-14.2/sys/contrib/dev/mediatek/mt76/mt7996/ |
| H A D | init.c | 499 int sts; in mt7996_set_stream_vht_txbf_caps() local 505 sts = hweight16(phy->mt76->chainmask); in mt7996_set_stream_vht_txbf_caps() 516 if (sts < 2) in mt7996_set_stream_vht_txbf_caps() 529 int sts = hweight16(phy->mt76->chainmask); in mt7996_set_stream_he_txbf_caps() local 569 if (sts < 2) in mt7996_set_stream_he_txbf_caps() 582 sts - 1) | in mt7996_set_stream_he_txbf_caps() 584 sts - 1); in mt7996_set_stream_he_txbf_caps() 733 int sts = hweight16(phy->mt76->chainmask); in mt7996_init_eht_caps() local 758 u8_encode_bits(sts - 1, in mt7996_init_eht_caps() 760 u8_encode_bits(sts - 1, in mt7996_init_eht_caps() [all …]
|
| H A D | mcu.c | 1174 int sts = hweight16(phy->mt76->chainmask); in mt7996_is_ebf_supported() local 1180 if (!bfee && sts < 2) in mt7996_is_ebf_supported() 1267 u8 sts, snd_dim; in mt7996_mcu_sta_bfer_vht() local 1302 u8 snd_dim, sts; in mt7996_mcu_sta_bfer_he() local 1314 sts = HE_PHY(CAP4_BEAMFORMEE_MAX_STS_UNDER_80MHZ_MASK, in mt7996_mcu_sta_bfer_he() 1316 bf->nrow = min_t(u8, snd_dim, sts); in mt7996_mcu_sta_bfer_he() 1348 bf->nrow_gt_bw80 = min_t(int, snd_dim, sts); in mt7996_mcu_sta_bfer_he() 1363 u8 snd_dim, sts; in mt7996_mcu_sta_bfer_eht() local 1374 bf->nrow = min_t(u8, snd_dim, sts); in mt7996_mcu_sta_bfer_eht() 1388 bf->nrow_gt_bw80 = min_t(u8, snd_dim, sts); in mt7996_mcu_sta_bfer_eht() [all …]
|
| /freebsd-14.2/sys/dev/alpm/ |
| H A D | alpm.c | 288 u_char sts; in alpm_idle() local 290 sts = ALPM_SMBINB(sc, SMBSTS); in alpm_idle() 292 ALPM_DEBUG(printf("alpm: idle? STS=0x%x\n", sts)); in alpm_idle() 294 return (sts & IDL_STS); in alpm_idle() 304 u_char sts = 0; in alpm_wait() local 310 sts = ALPM_SMBINB(sc, SMBSTS); in alpm_wait() 311 if (sts & SMI_I_STS) in alpm_wait() 315 ALPM_DEBUG(printf("alpm: STS=0x%x\n", sts)); in alpm_wait() 322 if (sts & TERMINATE) in alpm_wait() 325 if (sts & BUS_COLLI) in alpm_wait() [all …]
|
| /freebsd-14.2/sys/dev/amdpm/ |
| H A D | amdpm.c | 290 u_short sts; in amdpm_idle() local 293 sts = AMDPM_SMBINW(sc, AMDSMB_GLOBAL_STATUS); in amdpm_idle() 295 AMDPM_DEBUG(printf("amdpm: busy? STS=0x%x\n", sts)); in amdpm_idle() 297 return (~(sts & AMDSMB_GS_HST_STS)); in amdpm_idle() 307 u_short sts = 0; in amdpm_wait() local 314 sts = AMDPM_SMBINW(sc, AMDSMB_GLOBAL_STATUS); in amdpm_wait() 315 if (!(sts & AMDSMB_GS_HST_STS)) in amdpm_wait() 319 AMDPM_DEBUG(printf("amdpm: STS=0x%x (count=%d)\n", sts, count)); in amdpm_wait() 326 if (sts & AMDSMB_GS_ABRT_STS) in amdpm_wait() 329 if (sts & AMDSMB_GS_COL_STS) in amdpm_wait() [all …]
|
| /freebsd-14.2/crypto/openssl/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()
|
| /freebsd-14.2/sys/dev/viapm/ |
| H A D | viapm.c | 581 u_char sts; in viapm_busy() local 583 sts = VIAPM_INB(SMBHST); in viapm_busy() 585 VIAPM_DEBUG(printf("viapm: idle? STS=0x%x\n", sts)); in viapm_busy() 587 return (sts & SMBHST_BUSY); in viapm_busy() 597 u_char sts = 0; in viapm_wait() local 605 sts = VIAPM_INB(SMBHST); in viapm_wait() 608 if (!(sts & SMBHST_BUSY) && (sts & SMBHST_INTR)) in viapm_wait() 612 VIAPM_DEBUG(printf("viapm: SMBHST=0x%x\n", sts)); in viapm_wait() 619 if (sts & SMBHST_FAILED) in viapm_wait() 622 if (sts & SMBHST_COLLID) in viapm_wait() [all …]
|
| /freebsd-14.2/usr.sbin/bhyve/ |
| H A D | pci_virtio_block.c | 458 int i, sectsz, sts, sto; in pci_vtblk_init() local 477 blockif_psectsz(bctxt, &sts, &sto); in pci_vtblk_init() 538 (sts > sectsz) ? (ffsll(sts / sectsz) - 1) : 0; in pci_vtblk_init() 540 (sto != 0) ? ((sts - sto) / sectsz) : 0; in pci_vtblk_init() 546 sc->vbsc_cfg.discard_sector_alignment = MAX(sectsz, sts) / VTBLK_BSIZE; in pci_vtblk_init()
|
| H A D | pci_emul.c | 1059 uint16_t sts; in pci_emul_add_capability() local 1065 sts = pci_get_cfgdata16(pi, PCIR_STATUS); in pci_emul_add_capability() 1066 if ((sts & PCIM_STATUS_CAPPRESENT) == 0) in pci_emul_add_capability() 1076 if ((sts & PCIM_STATUS_CAPPRESENT) == 0) { in pci_emul_add_capability() 1078 pci_set_cfgdata16(pi, PCIR_STATUS, sts|PCIM_STATUS_CAPPRESENT); in pci_emul_add_capability() 1417 uint16_t sts; in pci_emul_iscap() local 1419 sts = pci_get_cfgdata16(pi, PCIR_STATUS); in pci_emul_iscap() 1420 if ((sts & PCIM_STATUS_CAPPRESENT) != 0) { in pci_emul_iscap()
|
| /freebsd-14.2/libexec/pppoed/ |
| H A D | pppoed.c | 259 struct ngpppoe_sts *sts = (struct ngpppoe_sts *)(msgbuf + sizeof *rep); in Spawn() local 410 if (setenv("ACNAME", sts->hook, 1) != 0) in Spawn() 412 sts->hook); in Spawn() 416 snprintf(sessionid, sizeof sessionid, "%04x", *(u_int16_t *)sts); in Spawn() 431 msg, sts->hook); in Spawn() 435 syslog(LOG_INFO, "Received NGM_PPPOE_%s (hook \"%s\")", msg, sts->hook); in Spawn()
|
| /freebsd-14.2/sys/dev/amdsmb/ |
| H A D | amdsmb.c | 279 u_char sts, temp; in amdsmb_wait() local 295 amdsmb_ec_read(sc, SMB_STS, &sts); in amdsmb_wait() 296 sts &= SMB_STS_STATUS; in amdsmb_wait() 297 AMDSMB_DEBUG(printf("amdsmb: STS=0x%x\n", sts)); in amdsmb_wait() 299 switch (sts) { in amdsmb_wait()
|
| /freebsd-14.2/sys/dev/bnxt/bnxt_en/ |
| H A D | bnxt.h | 928 #define BNXT_FW_IS_HEALTHY(sts) (((sts) & BNXT_FW_STATUS_HEALTH_MSK) ==\ argument 931 #define BNXT_FW_IS_BOOTING(sts) (((sts) & BNXT_FW_STATUS_HEALTH_MSK) < \ argument 934 #define BNXT_FW_IS_ERR(sts) (((sts) & BNXT_FW_STATUS_HEALTH_MSK) > \ argument 937 #define BNXT_FW_IS_RECOVERING(sts) (BNXT_FW_IS_ERR(sts) && \ argument 938 ((sts) & BNXT_FW_STATUS_RECOVERING))
|
| /freebsd-14.2/sys/contrib/dev/mediatek/mt76/mt7915/ |
| H A D | init.c | 856 int sts; in mt7915_set_stream_vht_txbf_caps() local 862 sts = hweight8(phy->mt76->chainmask); in mt7915_set_stream_vht_txbf_caps() 868 sts - 1); in mt7915_set_stream_vht_txbf_caps() 874 if (sts < 2) in mt7915_set_stream_vht_txbf_caps() 880 sts - 1); in mt7915_set_stream_vht_txbf_caps() 889 int sts = hweight8(phy->mt76->chainmask); in mt7915_set_stream_he_txbf_caps() local 890 u8 c, sts_160 = sts; in mt7915_set_stream_he_txbf_caps() 940 if (sts < 2) in mt7915_set_stream_he_txbf_caps() 944 elem->phy_cap_info[7] |= min_t(int, sts - 1, 2) << 3; in mt7915_set_stream_he_txbf_caps() 953 sts - 1); in mt7915_set_stream_he_txbf_caps()
|
| /freebsd-14.2/usr.sbin/ppp/ |
| H A D | ether.c | 219 struct ngpppoe_sts *sts = (struct ngpppoe_sts *)(msgbuf + sizeof *rep); in ether_MessageIn() local 271 if (setenv("ACNAME", sts->hook, 1) != 0) in ether_MessageIn() 272 log_Printf(LogWARN, "setenv: cannot set ACNAME=%s: %m", sts->hook); in ether_MessageIn() 277 snprintf(sessionid, sizeof sessionid, "%04x", *(u_int16_t *)sts); in ether_MessageIn() 294 msg, asciilen, sts->hook); in ether_MessageIn()
|
| /freebsd-14.2/sys/dev/ppbus/ |
| H A D | lpt.c | 869 int sts = 0; in lptintr() local 879 ((sts=ppb_rstr(ppbus)) & RDY_MASK) != LP_READY; i++) ; in lptintr() 881 if ((sts & RDY_MASK) == LP_READY) { in lptintr() 909 if (((sts & (LPS_NERR | LPS_OUT) ) != LPS_NERR) && in lptintr() 914 lprintf(("sts %x ", sts)); in lptintr()
|
| /freebsd-14.2/lib/libcasper/services/cap_grp/tests/ |
| H A D | grp_test.c | 142 struct group sts, stc; in runtest_cmds() local 160 getgrent_r(&sts, bufs, sizeof(bufs), &grps); in runtest_cmds() 164 getgrent_r(&sts, bufs, sizeof(bufs), &grps); in runtest_cmds() 174 getgrent_r(&sts, bufs, sizeof(bufs), &grps); in runtest_cmds() 193 getgrnam_r("wheel", &sts, bufs, sizeof(bufs), &grps); in runtest_cmds() 196 getgrnam_r("operator", &sts, bufs, sizeof(bufs), &grps); in runtest_cmds() 212 getgrgid_r(GID_WHEEL, &sts, bufs, sizeof(bufs), &grps); in runtest_cmds() 215 getgrgid_r(GID_OPERATOR, &sts, bufs, sizeof(bufs), &grps); in runtest_cmds()
|
| /freebsd-14.2/lib/libcasper/services/cap_pwd/tests/ |
| H A D | pwd_test.c | 156 struct passwd sts, stc; in runtest_cmds() local 173 getpwent_r(&sts, bufs, sizeof(bufs), &pwds); in runtest_cmds() 177 getpwent_r(&sts, bufs, sizeof(bufs), &pwds); in runtest_cmds() 186 getpwent_r(&sts, bufs, sizeof(bufs), &pwds); in runtest_cmds() 205 getpwnam_r("root", &sts, bufs, sizeof(bufs), &pwds); in runtest_cmds() 208 getpwnam_r("operator", &sts, bufs, sizeof(bufs), &pwds); in runtest_cmds() 224 getpwuid_r(UID_ROOT, &sts, bufs, sizeof(bufs), &pwds); in runtest_cmds() 227 getpwuid_r(UID_OPERATOR, &sts, bufs, sizeof(bufs), &pwds); in runtest_cmds()
|
| /freebsd-14.2/sys/dev/nfsmb/ |
| H A D | nfsmb.c | 339 u_char sts; in nfsmb_wait() local 353 sts = NFSMB_SMBINB(sc, SMB_STS) & SMB_STS_STATUS; in nfsmb_wait() 354 NFSMB_DEBUG(printf("nfsmb: STS=0x%x\n", sts)); in nfsmb_wait() 356 switch (sts) { in nfsmb_wait()
|
| /freebsd-14.2/contrib/ntp/sntp/libopts/ |
| H A D | makeshell.c | 859 int sts; in genshelloptUsage() 860 wait(&sts); in genshelloptUsage() 898 int sts; in genshelloptUsage() 899 wait(&sts); in genshelloptUsage()
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/scsi/ |
| H A D | hisilicon-sas.txt | 17 - ctrl-reset-sts-reg : offset to controller reset status register in ctrl reg 71 ctrl-reset-sts-reg = <0x5a30>;
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/net/ |
| H A D | litex,liteeth.yaml | 99 # vim: set ts=2 sw=2 sts=2 tw=80 et cc=80 ft=yaml :
|
| /freebsd-14.2/sys/contrib/device-tree/src/arm64/hisilicon/ |
| H A D | hip06.dtsi | 611 ctrl-reset-sts-reg = <0x5a30>; 654 ctrl-reset-sts-reg = <0x5a0c>; 696 ctrl-reset-sts-reg = <0x5a70>;
|
| /freebsd-14.2/sys/netgraph/ |
| H A D | ng_pppoe.c | 1317 struct ngpppoe_sts *sts; in send_acname() local 1326 sts = (struct ngpppoe_sts *)msg->data; in send_acname() 1328 strncpy(sts->hook, (const char *)(tag + 1), tlen); in send_acname() 1329 sts->hook[tlen] = '\0'; in send_acname() 2217 struct ngpppoe_sts *sts; in pppoe_send_event() local 2225 sts = (struct ngpppoe_sts *)msg->data; in pppoe_send_event() 2226 strncpy(sts->hook, NG_HOOK_NAME(sp->hook), NG_HOOKSIZ); in pppoe_send_event()
|
| /freebsd-14.2/sys/dev/isp/ |
| H A D | isp_target.c | 242 uint8_t sts; in isp_endcmd() local 260 sts = code & 0xff; in isp_endcmd() 269 cto->ct_scsi_status = sts; in isp_endcmd()
|