Searched refs:sc_flags (Results 1 - 25 of 150) sorted by relevance

123456

/freebsd-9.3-release/sys/ia64/include/
H A Dsignal.h71 unsigned long sc_flags; member in struct:sigcontext
/freebsd-9.3-release/sys/dev/le/
H A Dlancevar.h111 int sc_flags; member in struct:lance_softc
132 #define LE_HTOLE16(v) (((sc)->sc_flags & LE_BSWAP) ? htole16(v) : (v))
133 #define LE_HTOLE32(v) (((sc)->sc_flags & LE_BSWAP) ? htole32(v) : (v))
134 #define LE_LE16TOH(v) (((sc)->sc_flags & LE_BSWAP) ? le16toh(v) : (v))
135 #define LE_LE32TOH(v) (((sc)->sc_flags & LE_BSWAP) ? le32toh(v) : (v))
H A Dlance.c487 if (sc->sc_flags & LE_CARRIER)
509 if (!(sc->sc_flags & LE_PROMISC)) {
510 sc->sc_flags |= LE_PROMISC;
513 } else if (sc->sc_flags & LE_PROMISC) {
514 sc->sc_flags &= ~LE_PROMISC;
519 !(sc->sc_flags & LE_ALLMULTI)) {
520 sc->sc_flags |= LE_ALLMULTI;
523 (sc->sc_flags & LE_ALLMULTI)) {
524 sc->sc_flags &= ~LE_ALLMULTI;
545 sc->sc_flags |
[all...]
/freebsd-9.3-release/sys/dev/usb/controller/
H A Datmegadci.c148 if (sc->sc_flags.clocks_off &&
149 sc->sc_flags.port_powered) {
161 sc->sc_flags.clocks_off = 0;
170 if (!sc->sc_flags.clocks_off) {
185 sc->sc_flags.clocks_off = 1;
194 if (!sc->sc_flags.d_pulled_up &&
195 sc->sc_flags.port_powered) {
196 sc->sc_flags.d_pulled_up = 1;
206 if (sc->sc_flags.d_pulled_up) {
207 sc->sc_flags
[all...]
H A Davr32dci.c195 if (sc->sc_flags.clocks_off &&
196 sc->sc_flags.port_powered) {
205 sc->sc_flags.clocks_off = 0;
212 if (!sc->sc_flags.clocks_off) {
221 sc->sc_flags.clocks_off = 1;
230 if (!sc->sc_flags.d_pulled_up &&
231 sc->sc_flags.port_powered) {
232 sc->sc_flags.d_pulled_up = 1;
242 if (sc->sc_flags.d_pulled_up) {
243 sc->sc_flags
[all...]
H A Dat91dci.c215 if (sc->sc_flags.clocks_off &&
216 sc->sc_flags.port_powered) {
223 sc->sc_flags.clocks_off = 0;
233 if (!sc->sc_flags.clocks_off) {
243 sc->sc_flags.clocks_off = 1;
252 if (!sc->sc_flags.d_pulled_up &&
253 sc->sc_flags.port_powered) {
254 sc->sc_flags.d_pulled_up = 1;
264 if (sc->sc_flags.d_pulled_up) {
265 sc->sc_flags
[all...]
H A Duss820dci.c193 if (!sc->sc_flags.d_pulled_up &&
194 sc->sc_flags.port_powered) {
195 sc->sc_flags.d_pulled_up = 1;
212 if (sc->sc_flags.d_pulled_up) {
213 sc->sc_flags.d_pulled_up = 0;
226 if (!(sc->sc_flags.status_suspend)) {
771 sc->sc_flags.status_bus_reset = 1;
772 sc->sc_flags.status_suspend = 0;
773 sc->sc_flags.change_suspend = 0;
774 sc->sc_flags
[all...]
/freebsd-9.3-release/sys/amd64/include/
H A Dsignal.h81 int sc_flags; member in struct:sigcontext
/freebsd-9.3-release/sys/dev/usb/input/
H A Dukbd.c172 uint32_t sc_flags; /* flags */ member in struct:ukbd_softc
388 sc->sc_flags |= UKBD_FLAG_TIMER_RUNNING;
418 KASSERT((sc->sc_flags & UKBD_FLAG_POLLING) != 0,
469 || (sc->sc_flags & UKBD_FLAG_POLLING) != 0,
473 (sc->sc_flags & UKBD_FLAG_GONE) == 0) {
478 if (sc->sc_flags & UKBD_FLAG_POLLING)
594 if ((sc->sc_flags & UKBD_FLAG_POLLING) != 0)
630 sc->sc_flags &= ~UKBD_FLAG_TIMER_RUNNING;
704 if ((sc->sc_flags & UKBD_FLAG_APPLE_EJECT) &&
711 if ((sc->sc_flags
[all...]
H A Dums.c106 uint32_t sc_flags; member in struct:ums_info
231 if (sc->sc_info[0].sc_flags & UMS_FLAG_SBU) {
239 if ((info->sc_flags & UMS_FLAG_W_AXIS) &&
243 if ((info->sc_flags & UMS_FLAG_X_AXIS) &&
247 if ((info->sc_flags & UMS_FLAG_Y_AXIS) &&
251 if ((info->sc_flags & UMS_FLAG_Z_AXIS) &&
255 if (info->sc_flags & UMS_FLAG_REVZ)
260 if ((info->sc_flags & UMS_FLAG_T_AXIS) &&
314 if ((sc->sc_info[0].sc_flags & UMS_FLAG_SBU) &&
417 info->sc_flags |
[all...]
/freebsd-9.3-release/sys/dev/uart/
H A Duart_kbd_sun.c80 int sc_flags; member in struct:sunkbd_softc
444 if (!(sc->sc_flags & KPCOMPOSE) && (sc->sc_composed_char > 0)) {
491 sc->sc_flags &= ~CTLS;
493 sc->sc_flags |= CTLS;
498 sc->sc_flags &= ~SHIFTS;
500 sc->sc_flags |= SHIFTS;
505 sc->sc_flags &= ~ALTS;
507 sc->sc_flags |= ALTS;
512 key = keycode2scancode(key, sc->sc_flags,
537 if (sc->sc_flags
[all...]
/freebsd-9.3-release/sys/geom/
H A Dgeom_ccd.c73 /* sc_flags */
133 int sc_flags; /* flags */ member in struct:ccd_s
223 if (cs->sc_flags & CCDF_LINUX) {
226 if (cs->sc_flags & CCDF_MIRROR && cs->sc_ndisks != 2)
230 if (cs->sc_flags & CCDF_NO_OFFSET)
281 if (cs->sc_flags & CCDF_UNIFORM) {
289 if (cs->sc_flags & CCDF_MIRROR) {
476 if (cs->sc_flags & CCDF_MIRROR) {
585 if (cs->sc_flags & CCDF_MIRROR) {
636 if (cs->sc_flags
[all...]
/freebsd-9.3-release/sys/powerpc/powermac/
H A Dkiic.c108 u_int sc_flags; member in struct:kiic_softc
309 sc->sc_flags |= I2C_SELECTED;
311 if (sc->sc_flags & I2C_READING) {
324 if (sc->sc_flags & I2C_READING) {
345 sc->sc_flags &= ~I2C_SELECTED;
367 if (sc->sc_flags & I2C_BUSY)
370 if (sc->sc_flags & I2C_BUSY) {
375 sc->sc_flags = I2C_BUSY;
396 sc->sc_flags = I2C_BUSY;
402 sc->sc_flags |
[all...]
/freebsd-9.3-release/sys/dev/amdtemp/
H A Damdtemp.c64 int sc_flags; member in struct:amdtemp_softc
219 sc->sc_flags |= AMDTEMP_FLAG_DO_QUIRK;
262 sc->sc_flags |= AMDTEMP_FLAG_DO_ZERO;
264 sc->sc_flags |= AMDTEMP_FLAG_DO_SIGN;
266 sc->sc_flags |= AMDTEMP_FLAG_CS_SWAP;
268 sc->sc_flags |= AMDTEMP_FLAG_CT_10BIT;
458 if ((sc->sc_flags & AMDTEMP_FLAG_CS_SWAP) != 0)
466 if ((sc->sc_flags & AMDTEMP_FLAG_CS_SWAP) == 0)
480 if ((sc->sc_flags & AMDTEMP_FLAG_DO_ZERO) != 0) {
481 if ((sc->sc_flags
[all...]
/freebsd-9.3-release/sys/geom/raid3/
H A Dg_raid3_ctl.c59 if ((sc->sc_flags & G_RAID3_DEVICE_FLAG_DESTROY) != 0)
198 if ((sc->sc_flags & G_RAID3_DEVICE_FLAG_NOAUTOSYNC) != 0) {
200 sc->sc_flags &= ~G_RAID3_DEVICE_FLAG_NOAUTOSYNC;
205 sc->sc_flags |= G_RAID3_DEVICE_FLAG_NOAUTOSYNC;
207 if ((sc->sc_flags & G_RAID3_DEVICE_FLAG_NOFAILSYNC) != 0) {
209 sc->sc_flags &= ~G_RAID3_DEVICE_FLAG_NOFAILSYNC;
212 sc->sc_flags |= G_RAID3_DEVICE_FLAG_NOFAILSYNC;
216 if ((sc->sc_flags & G_RAID3_DEVICE_FLAG_VERIFY) != 0) {
218 sc->sc_flags &= ~G_RAID3_DEVICE_FLAG_VERIFY;
221 sc->sc_flags |
[all...]
/freebsd-9.3-release/sys/geom/eli/
H A Dg_eli.c301 if (!(sc->sc_flags & G_ELI_FLAG_AUTH)) {
337 if ((sc->sc_flags & G_ELI_FLAG_FIRST_KEY) != 0) {
343 if (sc->sc_flags & G_ELI_FLAG_AUTH) {
381 if ((sc->sc_flags & G_ELI_FLAG_FIRST_KEY) != 0)
415 if (!(sc->sc_flags & G_ELI_FLAG_SUSPEND))
465 if (sc->sc_flags & G_ELI_FLAG_DESTROY) {
476 while (sc->sc_flags & G_ELI_FLAG_SUSPEND) {
499 !(sc->sc_flags & G_ELI_FLAG_SUSPEND)) {
516 if (sc->sc_flags & G_ELI_FLAG_AUTH) {
528 if (sc->sc_flags
[all...]
H A Dg_eli_key_cache.c192 if ((sc->sc_flags & G_ELI_FLAG_SINGLE_KEY) != 0) {
199 if ((sc->sc_flags & G_ELI_FLAG_AUTH) == 0)
212 if ((sc->sc_flags & G_ELI_FLAG_AUTH) != 0) {
246 if ((sc->sc_flags & G_ELI_FLAG_SINGLE_KEY) != 0) {
270 if ((sc->sc_flags & G_ELI_FLAG_SINGLE_KEY) != 0)
328 if ((sc->sc_flags & G_ELI_FLAG_SINGLE_KEY) != 0)
/freebsd-9.3-release/sys/dev/tpm/
H A Dtpmvar.h44 int sc_flags; member in struct:tpm_softc
/freebsd-9.3-release/sys/geom/sched/
H A Dg_sched.h98 int sc_flags; /* Various flags. */ member in struct:g_sched_softc
/freebsd-9.3-release/sys/i386/bios/
H A Dapm.h50 int sc_flags; member in struct:apm_softc
/freebsd-9.3-release/sys/dev/usb/net/
H A Dif_axe.c384 sc->sc_flags &= ~AXE_FLAG_LINK;
390 sc->sc_flags |= AXE_FLAG_LINK;
393 if ((sc->sc_flags & AXE_FLAG_178) == 0)
395 sc->sc_flags |= AXE_FLAG_LINK;
403 if ((sc->sc_flags & AXE_FLAG_LINK) == 0)
420 if ((sc->sc_flags & AXE_FLAG_178) != 0)
803 if (sc->sc_flags & AXE_FLAG_178)
805 else if (sc->sc_flags & AXE_FLAG_772)
807 else if (sc->sc_flags & AXE_FLAG_772A)
809 else if (sc->sc_flags
[all...]
/freebsd-9.3-release/sys/dev/usb/storage/
H A Durio.c104 uint8_t sc_flags; member in struct:urio_softc
272 if (sc->sc_flags & URIO_FLAG_WRITE_STALL) {
288 sc->sc_flags |= URIO_FLAG_WRITE_STALL;
303 sc->sc_flags &= ~URIO_FLAG_WRITE_STALL;
324 if (sc->sc_flags & URIO_FLAG_READ_STALL) {
337 sc->sc_flags |= URIO_FLAG_READ_STALL;
352 sc->sc_flags &= ~URIO_FLAG_READ_STALL;
399 sc->sc_flags |= URIO_FLAG_READ_STALL;
410 sc->sc_flags |= URIO_FLAG_WRITE_STALL;
/freebsd-9.3-release/sys/dev/auxio/
H A Dauxio.c111 int sc_flags; member in struct:auxio_softc
177 if (sc->sc_flags & AUXIO_EBUS)
190 if (sc->sc_flags & AUXIO_EBUS)
245 sc->sc_flags = AUXIO_LEDONLY | AUXIO_EBUS;
318 sc->sc_flags = AUXIO_LEDONLY | AUXIO_SBUS;
/freebsd-9.3-release/sys/netinet/
H A Dtcp_syncache.c633 if ((sc->sc_flags & SCF_UNREACH) == 0 || sc->sc_rxmits < 3 + 1) {
634 sc->sc_flags |= SCF_UNREACH;
831 if (sc->sc_flags & SCF_NOOPT)
834 if (sc->sc_flags & SCF_WINSCALE) {
839 if (sc->sc_flags & SCF_TIMESTAMP) {
846 if (sc->sc_flags & SCF_SIGNATURE)
849 if (sc->sc_flags & SCF_SACK)
853 if (sc->sc_flags & SCF_ECN)
995 if (!(sc->sc_flags & SCF_TIMESTAMP) && (to->to_flags & TOF_TS)) {
1148 if ((sc->sc_flags
[all...]
/freebsd-9.3-release/sys/sparc64/fhc/
H A Dclkbrd.c62 int sc_flags; member in struct:clkbrd_softc
128 sc->sc_flags |= CLKBRD_HAS_CLKVER;
142 if (sc->sc_flags & CLKBRD_HAS_CLKVER) {

Completed in 271 milliseconds

123456