Searched refs:sts (Results 1 - 22 of 22) sorted by relevance

/freebsd-9.3-release/contrib/binutils/bfd/
H A Dcache.c339 int sts; local
343 sts = fflush (f);
344 if (sts < 0)
346 return sts;
352 int sts; local
356 sts = fstat (fileno (f), sb);
357 if (sts < 0)
359 return sts;
/freebsd-9.3-release/usr.sbin/ancontrol/
H A Dancontrol.c249 struct an_ltv_status *sts; local
272 sts = (struct an_ltv_status *)&areq;
275 an_printhex((char *)&sts->an_macaddr, ETHER_ADDR_LEN);
277 if (sts->an_opmode & AN_STATUS_OPMODE_CONFIGURED)
279 if (sts->an_opmode & AN_STATUS_OPMODE_MAC_ENABLED)
281 if (sts->an_opmode & AN_STATUS_OPMODE_RX_ENABLED)
283 if (sts->an_opmode & AN_STATUS_OPMODE_IN_SYNC)
285 if (sts->an_opmode & AN_STATUS_OPMODE_ASSOCIATED)
287 if (sts->an_opmode & AN_STATUS_OPMODE_LEAP)
289 if (sts
1428 struct an_ltv_status *sts; local
[all...]
/freebsd-9.3-release/sys/pci/
H A Dalpm.c290 u_char sts; local
292 sts = ALPM_SMBINB(sc, SMBSTS);
294 ALPM_DEBUG(printf("alpm: idle? STS=0x%x\n", sts));
296 return (sts & IDL_STS);
306 u_char sts = 0; local
312 sts = ALPM_SMBINB(sc, SMBSTS);
313 if (sts & SMI_I_STS)
317 ALPM_DEBUG(printf("alpm: STS=0x%x\n", sts));
324 if (sts & TERMINATE)
327 if (sts
[all...]
H A Damdpm.c289 u_short sts; local
292 sts = AMDPM_SMBINW(sc, AMDSMB_GLOBAL_STATUS);
294 AMDPM_DEBUG(printf("amdpm: busy? STS=0x%x\n", sts));
296 return (~(sts & AMDSMB_GS_HST_STS));
306 u_short sts = 0; local
313 sts = AMDPM_SMBINW(sc, AMDSMB_GLOBAL_STATUS);
314 if (!(sts & AMDSMB_GS_HST_STS))
318 AMDPM_DEBUG(printf("amdpm: STS=0x%x (count=%d)\n", sts, count));
325 if (sts & AMDSMB_GS_ABRT_STS)
328 if (sts
[all...]
H A Dviapm.c588 u_char sts; local
590 sts = VIAPM_INB(SMBHST);
592 VIAPM_DEBUG(printf("viapm: idle? STS=0x%x\n", sts));
594 return (sts & SMBHST_BUSY);
604 u_char sts = 0; local
612 sts = VIAPM_INB(SMBHST);
615 if (!(sts & SMBHST_BUSY) && (sts & SMBHST_INTR))
619 VIAPM_DEBUG(printf("viapm: SMBHST=0x%x\n", sts));
626 if (sts
[all...]
H A Damdsmb.c283 u_char sts, temp; local
299 amdsmb_ec_read(sc, SMB_STS, &sts);
300 sts &= SMB_STS_STATUS;
301 AMDSMB_DEBUG(printf("amdsmb: STS=0x%x\n", sts));
303 switch (sts) {
H A Dnfsmb.c341 u_char sts; local
355 sts = NFSMB_SMBINB(sc, SMB_STS) & SMB_STS_STATUS;
356 NFSMB_DEBUG(printf("nfsmb: STS=0x%x\n", sts));
358 switch (sts) {
/freebsd-9.3-release/sys/i386/ibcs2/
H A Dibcs2_ioctl.c355 struct ibcs2_termios sts; local
362 btios2stios (&bts, &sts);
364 stios2stio (&sts, &st);
374 error = copyout((caddr_t)&sts, uap->data,
375 sizeof (sts));
386 struct ibcs2_termios sts; local
408 btios2stios(&bts, &sts);
409 stio2stios(&st, &sts);
410 stios2btios(&sts, &bts);
422 struct ibcs2_termios sts; local
438 struct ibcs2_termios sts; local
[all...]
/freebsd-9.3-release/gnu/usr.bin/cc/f771/
H A DMakefile10 stb.c stc.c std.c ste.c storag.c stp.c str.c sts.c stt.c stu.c stv.c \
/freebsd-9.3-release/contrib/ntp/sntp/libopts/
H A Dmakeshell.c898 int sts;
899 wait(&sts);
936 int sts;
937 wait(&sts);
/freebsd-9.3-release/libexec/pppoed/
H A Dpppoed.c259 struct ngpppoe_sts *sts = (struct ngpppoe_sts *)(msgbuf + sizeof *rep); local
410 if (setenv("ACNAME", sts->hook, 1) != 0)
412 sts->hook);
416 snprintf(sessionid, sizeof sessionid, "%04x", *(u_int16_t *)sts);
431 msg, sts->hook);
435 syslog(LOG_INFO, "Received NGM_PPPOE_%s (hook \"%s\")", msg, sts->hook);
/freebsd-9.3-release/usr.sbin/ppp/
H A Dether.c219 struct ngpppoe_sts *sts = (struct ngpppoe_sts *)(msgbuf + sizeof *rep); local
271 if (setenv("ACNAME", sts->hook, 1) != 0)
272 log_Printf(LogWARN, "setenv: cannot set ACNAME=%s: %m", sts->hook);
277 snprintf(sessionid, sizeof sessionid, "%04x", *(u_int16_t *)sts);
294 msg, asciilen, sts->hook);
/freebsd-9.3-release/sys/dev/ppbus/
H A Dlpt.c874 int sts = 0; local
884 ((sts=ppb_rstr(ppbus)) & RDY_MASK) != LP_READY; i++) ;
886 if ((sts & RDY_MASK) == LP_READY) {
914 if (((sts & (LPS_NERR | LPS_OUT) ) != LPS_NERR) &&
919 lprintf(("sts %x ", sts));
/freebsd-9.3-release/sys/dev/isp/
H A Disp_target.c633 uint8_t sts; local
661 sts = code & 0xff;
669 cto->ct_scsi_status = sts;
708 sts = code & 0xff;
720 cto->rsp.m1.ct_scsi_status = sts;
729 if (sts == SCSI_CHECK && (code & ECMD_SVALID)) {
749 sts = code;
766 cto->ct_scsi_status = sts;
H A Disp.c6488 uint8_t sts = sp->req_completion_status & 0xff; local
6493 if (sts == RQCS_PORT_UNAVAILABLE) {
6639 uint8_t sts = sp->req_completion_status & 0xff; local
6644 if (sts == RQCS_PORT_UNAVAILABLE) {
/freebsd-9.3-release/sys/dev/pdq/
H A Dpdqreg.h238 #define PDQ_PSTS_ADAPTER_STATE(sts) ((pdq_state_t) (((sts) >> 8) & 0x07))
239 #define PDQ_PSTS_HALT_ID(sts) ((pdq_halt_code_t) ((sts) & 0xFF))
/freebsd-9.3-release/sys/netgraph/
H A Dng_pppoe.c1090 struct ngpppoe_sts *sts; local
1099 sts = (struct ngpppoe_sts *)msg->data;
1101 strncpy(sts->hook, (const char *)(tag + 1), tlen);
1102 sts->hook[tlen] = '\0';
1902 struct ngpppoe_sts *sts; local
1910 sts = (struct ngpppoe_sts *)msg->data;
1911 strncpy(sts->hook, NG_HOOK_NAME(sp->hook), NG_HOOKSIZ);
/freebsd-9.3-release/usr.sbin/cdcontrol/
H A Dcdcontrol.c781 const char *strstatus (int sts) argument
783 switch (sts) {
/freebsd-9.3-release/contrib/gdb/gdb/
H A Dinfrun.c3911 do_restore_inferior_status_cleanup (void *sts)
3913 restore_inferior_status (sts);
3903 do_restore_inferior_status_cleanup(void *sts) argument
/freebsd-9.3-release/sys/dev/hifn/
H A Dhifn7751.c796 u_int32_t sts, num[2]; local
802 sts = READ_REG_1(sc, HIFN_1_7811_RNGSTS);
803 if (sts & HIFN_7811_RNGSTS_UFL) {
808 if ((sts & HIFN_7811_RNGSTS_RDY) == 0)
/freebsd-9.3-release/sys/pc98/cbus/
H A Dsio.c394 Port_t cmd, sts, ctrl, mod; member in struct:siodev
931 if (( inb(iod.sts) & STS8251_TxEMP ) == 0 ) {
4297 iod->sts = io | PC98SIO_sts_port(if_type);
4329 iod->sts = 0;
/freebsd-9.3-release/sys/dev/sym/
H A Dsym_hipd.c3431 int sts; local
3434 sts = xpt_create_path(&path, NULL, cam_sim_path(np->sim), target,
3436 if (sts != CAM_REQ_CMP)

Completed in 413 milliseconds