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

12345678

/freebsd-current/sys/dev/le/
H A Dlancevar.h110 int sc_flags; member in struct:lance_softc
131 #define LE_HTOLE16(v) (((sc)->sc_flags & LE_BSWAP) ? htole16(v) : (v))
132 #define LE_HTOLE32(v) (((sc)->sc_flags & LE_BSWAP) ? htole32(v) : (v))
133 #define LE_LE16TOH(v) (((sc)->sc_flags & LE_BSWAP) ? le16toh(v) : (v))
134 #define LE_LE32TOH(v) (((sc)->sc_flags & LE_BSWAP) ? le32toh(v) : (v))
/freebsd-current/sys/dev/usb/controller/
H A Datmegadci.c150 if (sc->sc_flags.clocks_off &&
151 sc->sc_flags.port_powered) {
162 sc->sc_flags.clocks_off = 0;
171 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.c198 if (sc->sc_flags.clocks_off &&
199 sc->sc_flags.port_powered) {
207 sc->sc_flags.clocks_off = 0;
214 if (!sc->sc_flags.clocks_off) {
222 sc->sc_flags.clocks_off = 1;
231 if (!sc->sc_flags.d_pulled_up &&
232 sc->sc_flags.port_powered) {
233 sc->sc_flags.d_pulled_up = 1;
243 if (sc->sc_flags.d_pulled_up) {
244 sc->sc_flags
[all...]
H A Ddwc_otg.c490 if (sc->sc_flags.status_high_speed)
504 if (sc->sc_flags.clocks_off &&
505 sc->sc_flags.port_powered) {
510 sc->sc_flags.clocks_off = 0;
517 if (!sc->sc_flags.clocks_off) {
522 sc->sc_flags.clocks_off = 1;
533 if (!sc->sc_flags.d_pulled_up &&
534 sc->sc_flags.port_powered) {
535 sc->sc_flags.d_pulled_up = 1;
550 if (sc->sc_flags
[all...]
H A Duss820dci.c200 if (!sc->sc_flags.d_pulled_up &&
201 sc->sc_flags.port_powered) {
202 sc->sc_flags.d_pulled_up = 1;
219 if (sc->sc_flags.d_pulled_up) {
220 sc->sc_flags.d_pulled_up = 0;
233 if (!(sc->sc_flags.status_suspend)) {
796 sc->sc_flags.status_bus_reset = 1;
797 sc->sc_flags.status_suspend = 0;
798 sc->sc_flags.change_suspend = 0;
799 sc->sc_flags
[all...]
/freebsd-current/sys/geom/union/
H A Dg_union.h67 long sc_flags; /* see flags below */ member in struct:g_union_softc
130 return (atomic_testandset_long(&sc->sc_flags, DOING_COMMIT_BITNUM));
138 ret = atomic_testandclear_long(&sc->sc_flags, DOING_COMMIT_BITNUM);
/freebsd-current/sys/dev/rtwn/
H A Dif_rtwn_calib.c57 if (!(sc->sc_flags & RTWN_TEMP_MEASURED)) {
62 sc->sc_flags |= RTWN_TEMP_MEASURED;
65 sc->sc_flags &= ~RTWN_TEMP_MEASURED;
/freebsd-current/sys/geom/eli/
H A Dg_eli_ctl.c236 sc->sc_flags |= G_ELI_FLAG_RW_DETACH;
502 if (sc->sc_flags & G_ELI_FLAG_RO) {
508 if (*boot && (sc->sc_flags & G_ELI_FLAG_BOOT)) {
512 } else if (*noboot && !(sc->sc_flags & G_ELI_FLAG_BOOT)) {
518 if (*notrim && (sc->sc_flags & G_ELI_FLAG_NODELETE)) {
522 } else if (*trim && !(sc->sc_flags & G_ELI_FLAG_NODELETE)) {
528 if (*geliboot && (sc->sc_flags & G_ELI_FLAG_GELIBOOT)) {
532 } else if (*nogeliboot && !(sc->sc_flags & G_ELI_FLAG_GELIBOOT)) {
538 if (*displaypass && (sc->sc_flags & G_ELI_FLAG_GELIDISPLAYPASS)) {
543 !(sc->sc_flags
[all...]
H A Dg_eli_key_cache.c82 if ((sc->sc_flags & G_ELI_FLAG_ENC_IVKEY) != 0)
185 if ((sc->sc_flags & G_ELI_FLAG_AUTH) == 0)
195 if ((sc->sc_flags & G_ELI_FLAG_SINGLE_KEY) != 0) {
202 if ((sc->sc_flags & G_ELI_FLAG_AUTH) != 0) {
237 if ((sc->sc_flags & G_ELI_FLAG_SINGLE_KEY) != 0) {
257 if ((sc->sc_flags & G_ELI_FLAG_SINGLE_KEY) != 0) {
263 if ((sc->sc_flags & G_ELI_FLAG_AUTH) != 0) {
307 if ((sc->sc_flags & G_ELI_FLAG_SINGLE_KEY) != 0)
365 if ((sc->sc_flags & G_ELI_FLAG_SINGLE_KEY) != 0)
H A Dg_eli.c392 if ((sc->sc_flags & G_ELI_FLAG_AUTORESIZE) == 0) {
400 if ((sc->sc_flags & G_ELI_FLAG_ONETIME) == 0) {
486 if (!(sc->sc_flags & G_ELI_FLAG_NODELETE))
502 if (!(sc->sc_flags & G_ELI_FLAG_AUTH)) {
548 if ((sc->sc_flags & G_ELI_FLAG_FIRST_KEY) != 0) {
556 if (sc->sc_flags & G_ELI_FLAG_AUTH) {
593 if ((sc->sc_flags & G_ELI_FLAG_FIRST_KEY) != 0) {
637 if (!(sc->sc_flags & G_ELI_FLAG_SUSPEND))
689 if (sc->sc_flags & G_ELI_FLAG_DESTROY) {
700 while (sc->sc_flags
[all...]
/freebsd-current/sys/x86/include/
H A Dsignal.h76 int sc_flags; member in struct:sigcontext
133 int sc_flags; member in struct:sigcontext
/freebsd-current/sys/geom/
H A Dgeom_ccd.c98 /* sc_flags */
158 int sc_flags; /* flags */ member in struct:ccd_s
246 if (cs->sc_flags & CCDF_LINUX) {
249 if (cs->sc_flags & CCDF_MIRROR && cs->sc_ndisks != 2)
253 if (cs->sc_flags & CCDF_NO_OFFSET)
303 if (cs->sc_flags & CCDF_UNIFORM) {
311 if (cs->sc_flags & CCDF_MIRROR) {
497 if (cs->sc_flags & CCDF_MIRROR) {
606 if (cs->sc_flags & CCDF_MIRROR) {
657 if (cs->sc_flags
[all...]
/freebsd-current/sys/powerpc/powermac/
H A Dkiic.c108 u_int sc_flags; member in struct:kiic_softc
307 sc->sc_flags |= I2C_SELECTED;
309 if (sc->sc_flags & I2C_READING) {
322 if (sc->sc_flags & I2C_READING) {
343 sc->sc_flags &= ~I2C_SELECTED;
365 if (sc->sc_flags & I2C_BUSY)
368 if (sc->sc_flags & I2C_BUSY) {
373 sc->sc_flags = I2C_BUSY;
394 sc->sc_flags = I2C_BUSY;
400 sc->sc_flags |
[all...]
/freebsd-current/sys/dev/usb/input/
H A Dums.c115 uint32_t sc_flags; member in struct:ums_info
271 if (sc->sc_info[0].sc_flags & UMS_FLAG_SBU) {
279 if ((info->sc_flags & UMS_FLAG_W_AXIS) &&
283 if ((info->sc_flags & UMS_FLAG_X_AXIS) &&
287 if ((info->sc_flags & UMS_FLAG_Y_AXIS) &&
291 if ((info->sc_flags & UMS_FLAG_Z_AXIS) &&
295 if (info->sc_flags & UMS_FLAG_REVZ)
300 if ((info->sc_flags & UMS_FLAG_T_AXIS) &&
362 if ((sc->sc_info[0].sc_flags & UMS_FLAG_SBU) &&
471 info->sc_flags |
[all...]
H A Dukbd.c169 uint32_t sc_flags; /* flags */ member in struct:ukbd_softc
416 KASSERT((sc->sc_flags & UKBD_FLAG_POLLING) != 0,
466 (sc->sc_flags & UKBD_FLAG_POLLING) != 0,
470 (sc->sc_flags & UKBD_FLAG_GONE) == 0) {
476 if (sc->sc_flags & UKBD_FLAG_POLLING)
580 if ((sc->sc_flags & UKBD_FLAG_POLLING) != 0)
695 if ((sc->sc_flags & UKBD_FLAG_APPLE_EJECT) &&
700 if ((sc->sc_flags & UKBD_FLAG_APPLE_FN) &&
734 if (sc->sc_flags & UKBD_FLAG_APPLE_SWAP)
746 if (sc->sc_flags
[all...]
/freebsd-current/sys/geom/raid3/
H A Dg_raid3_ctl.c57 if ((sc->sc_flags & G_RAID3_DEVICE_FLAG_DESTROY) != 0)
196 if ((sc->sc_flags & G_RAID3_DEVICE_FLAG_NOAUTOSYNC) != 0) {
198 sc->sc_flags &= ~G_RAID3_DEVICE_FLAG_NOAUTOSYNC;
203 sc->sc_flags |= G_RAID3_DEVICE_FLAG_NOAUTOSYNC;
205 if ((sc->sc_flags & G_RAID3_DEVICE_FLAG_NOFAILSYNC) != 0) {
207 sc->sc_flags &= ~G_RAID3_DEVICE_FLAG_NOFAILSYNC;
210 sc->sc_flags |= G_RAID3_DEVICE_FLAG_NOFAILSYNC;
214 if ((sc->sc_flags & G_RAID3_DEVICE_FLAG_VERIFY) != 0) {
216 sc->sc_flags &= ~G_RAID3_DEVICE_FLAG_VERIFY;
219 sc->sc_flags |
[all...]
/freebsd-current/sys/dev/intel/
H A Dspi.h57 volatile uint32_t sc_flags; member in struct:intelspi_softc
/freebsd-current/sys/arm/broadcom/bcm2835/
H A Dbcm2835_bscvar.h51 uint8_t sc_flags; member in struct:bcm_bsc_softc
H A Dbcm2835_spivar.h44 uint32_t sc_flags; member in struct:bcm_spi_softc
H A Dbcm2835_bsc.c439 sc->sc_flags |= BCM_I2C_READ;
457 if ((sc->sc_flags & BCM_I2C_BUSY) == 0) {
466 if ((sc->sc_flags & BCM_I2C_READ) && (status & BCM_BSC_STATUS_RXD))
471 sc->sc_flags |= BCM_I2C_DONE;
473 sc->sc_flags |= BCM_I2C_ERROR;
477 } else if (!(sc->sc_flags & BCM_I2C_READ)) {
504 while (sc->sc_flags & BCM_I2C_BUSY)
508 sc->sc_flags = BCM_I2C_BUSY;
590 sc->sc_flags |= BCM_I2C_READ;
593 sc->sc_flags
[all...]
/freebsd-current/sys/dev/tpm/
H A Dtpmvar.h42 int sc_flags; member in struct:tpm_softc
/freebsd-current/sys/dev/usb/
H A Dusb_hub_private.h66 uint8_t sc_flags; member in struct:uhub_softc
/freebsd-current/sys/dev/hyperv/input/
H A Dhv_kbd.c180 sc->sc_flags |= HVKBD_FLAG_POLLING;
182 sc->sc_flags &= ~HVKBD_FLAG_POLLING;
240 if (!(sc->sc_flags & HVKBD_FLAG_COMPOSE) && sc->sc_composed_char != 0)
242 if (sc->sc_flags & HVKBD_FLAG_POLLING)
280 if (!(sc->sc_flags & HVKBD_FLAG_COMPOSE) && sc->sc_composed_char > 0) {
357 if (sc->sc_flags & HVKBD_FLAG_COMPOSE) {
358 sc->sc_flags &= ~HVKBD_FLAG_COMPOSE;
364 if (!(sc->sc_flags & HVKBD_FLAG_COMPOSE)) {
365 sc->sc_flags |= HVKBD_FLAG_COMPOSE;
472 if (sc->sc_flags
[all...]
/freebsd-current/sys/dev/usb/net/
H A Dif_axe.c387 sc->sc_flags &= ~AXE_FLAG_LINK;
393 sc->sc_flags |= AXE_FLAG_LINK;
396 if ((sc->sc_flags & AXE_FLAG_178) == 0)
398 sc->sc_flags |= AXE_FLAG_LINK;
406 if ((sc->sc_flags & AXE_FLAG_LINK) == 0)
423 if ((sc->sc_flags & AXE_FLAG_178) != 0)
804 if (sc->sc_flags & AXE_FLAG_178)
806 else if (sc->sc_flags & AXE_FLAG_772)
808 else if (sc->sc_flags & AXE_FLAG_772A)
810 else if (sc->sc_flags
[all...]
/freebsd-current/sys/dev/hid/
H A Dhkbd.c165 uint32_t sc_flags; /* flags */ member in struct:hkbd_softc
410 KASSERT((sc->sc_flags & HKBD_FLAG_POLLING) != 0,
462 (sc->sc_flags & HKBD_FLAG_POLLING) != 0,
465 if (sc->sc_flags & HKBD_FLAG_POLLING)
561 if ((sc->sc_flags & HKBD_FLAG_POLLING) != 0)
677 if ((sc->sc_flags & HKBD_FLAG_APPLE_EJECT) &&
682 if ((sc->sc_flags & HKBD_FLAG_APPLE_FN) &&
711 if (sc->sc_flags & HKBD_FLAG_APPLE_SWAP)
724 if (sc->sc_flags & HKBD_FLAG_APPLE_SWAP)
775 sc->sc_flags
[all...]

Completed in 378 milliseconds

12345678