HomeSort by: relevance | last modified time | path
    Searched refs:periph_flags (Results 1 - 22 of 22) sorted by relevancy

  /src/sys/dev/scsipi/
atapi_base.c 94 if ((periph->periph_flags & PERIPH_REMOVABLE) != 0)
95 periph->periph_flags &= ~PERIPH_MEDIA_LOADED;
121 if ((periph->periph_flags & PERIPH_REMOVABLE) != 0)
122 periph->periph_flags &= ~PERIPH_MEDIA_LOADED;
126 (periph->periph_flags & PERIPH_REMOVABLE) == 0)
uk.c 160 if (periph->periph_flags & PERIPH_OPEN) {
167 periph->periph_flags |= PERIPH_OPEN;
185 periph->periph_flags &= ~PERIPH_OPEN;
scsi_base.c 223 if ((periph->periph_flags & PERIPH_MODE_VALID) == 0 ||
232 periph->periph_flags |= PERIPH_MODE_VALID;
266 if ((periph->periph_flags & PERIPH_MODE_VALID) == 0 ||
271 periph->periph_flags |= PERIPH_MODE_VALID;
ss.c 259 if (periph->periph_flags & PERIPH_OPEN) {
280 periph->periph_flags |= PERIPH_OPEN; /* unit attn now errors */
295 periph->periph_flags &= ~PERIPH_OPEN;
329 periph->periph_flags &= ~PERIPH_OPEN;
401 if (periph->periph_flags & PERIPH_OPEN)
470 if (periph->periph_flags & PERIPH_WAITING) {
471 periph->periph_flags &= ~PERIPH_WAITING;
sd.c 316 periph->periph_flags |= PERIPH_GROW_OPENINGS;
479 removable = (periph->periph_flags & PERIPH_REMOVABLE) != 0;
490 if ((periph->periph_flags & PERIPH_MEDIA_LOADED) == 0) {
506 periph->periph_flags |= PERIPH_MEDIA_LOADED;
511 periph->periph_flags |= PERIPH_OPEN;
558 if ((periph->periph_flags & (PERIPH_OPEN | PERIPH_MEDIA_LOADED)) ==
597 if (periph->periph_flags & PERIPH_REMOVABLE)
602 periph->periph_flags &= ~PERIPH_OPEN;
648 if ((periph->periph_flags & PERIPH_MEDIA_LOADED) == 0 ||
650 if (periph->periph_flags & PERIPH_OPEN
    [all...]
scsipi_base.c 495 if (periph->periph_flags & PERIPH_SENSE) {
499 if ((periph->periph_flags &
502 periph->periph_flags |= PERIPH_RECOVERY_ACTIVE;
507 (periph->periph_flags & PERIPH_RECOVERING) != 0)
520 periph->periph_flags |= PERIPH_WAITING;
535 periph->periph_flags &= ~PERIPH_RECOVERY_ACTIVE;
588 if ((periph->periph_flags & PERIPH_RECOVERY_ACTIVE) != 0 &&
598 periph->periph_flags &= ~PERIPH_RECOVERY_ACTIVE;
602 (periph->periph_flags & PERIPH_WAITDRAIN) != 0) {
603 periph->periph_flags &= ~PERIPH_WAITDRAIN
    [all...]
st.c 560 if (periph->periph_flags & PERIPH_OPEN) {
656 oflags = periph->periph_flags;
657 periph->periph_flags |= PERIPH_OPEN;
661 periph->periph_flags = oflags; /* restore flags */
679 periph->periph_flags |= PERIPH_OPEN;
692 periph->periph_flags |= PERIPH_OPEN; /* unit attn are now errors */
700 (periph->periph_flags & PERIPH_MEDIA_LOADED) == 0)
723 periph->periph_flags &= ~PERIPH_OPEN;
794 if ((periph->periph_flags & PERIPH_MEDIA_LOADED) == 0) {
835 periph->periph_flags &= ~PERIPH_OPEN
    [all...]
ch.c 282 if (periph->periph_flags & PERIPH_OPEN)
300 periph->periph_flags |= PERIPH_OPEN;
312 periph->periph_flags &= ~PERIPH_OPEN;
329 periph->periph_flags &= ~PERIPH_OPEN;
417 sc->sc_periph->periph_flags |= PERIPH_MEDIA_LOADED;
532 if (periph->periph_flags & PERIPH_RECOVERING)
558 sc->sc_periph->periph_flags &= ~PERIPH_MEDIA_LOADED;
1226 if ((sc->sc_periph->periph_flags & PERIPH_MEDIA_LOADED) == 0)
1229 sc->sc_periph->periph_flags |= PERIPH_MEDIA_LOADED;
1231 sc->sc_periph->periph_flags &= ~PERIPH_MEDIA_LOADED
    [all...]
st_atapi.c 174 periph->periph_flags |= PERIPH_MEDIA_LOADED;
st_scsi.c 224 periph->periph_flags |= PERIPH_MEDIA_LOADED;
cd.c 324 periph->periph_flags |= PERIPH_GROW_OPENINGS;
440 if ((periph->periph_flags & PERIPH_MEDIA_LOADED) == 0) {
449 periph->periph_flags |= PERIPH_MEDIA_LOADED;
459 periph->periph_flags |= PERIPH_OPEN;
504 if ((periph->periph_flags & (PERIPH_OPEN | PERIPH_MEDIA_LOADED)) ==
529 (periph->periph_flags & PERIPH_MEDIA_LOADED) == 0)
542 periph->periph_flags &= ~PERIPH_OPEN;
724 if ((periph->periph_flags & PERIPH_MEDIA_LOADED) == 0) {
725 if (periph->periph_flags & PERIPH_OPEN)
789 if (periph->periph_flags & PERIPH_WAITING)
    [all...]
scsipiconf.h 413 int periph_flags; /* misc. flags */ member in struct:scsipi_periph
447 (((periph)->periph_flags & PERIPH_MODE_VALID) ? \
467 /* periph_flags */
if_se.c 1217 periph->periph_flags |= PERIPH_OPEN;
1239 periph->periph_flags &= ~PERIPH_OPEN;
if_dse.c 1358 periph->periph_flags |= PERIPH_OPEN;
1382 periph->periph_flags &= ~PERIPH_OPEN;
scsiconf.c 949 periph->periph_flags |= PERIPH_REMOVABLE;
atapi_wdc.c 310 periph->periph_flags |= PERIPH_REMOVABLE;
  /src/sys/dev/usb/
usscanner.c 608 xs->xs_periph->periph_flags |= 1; /* XXX 1 */
652 xs->xs_periph->periph_flags |= 1; /* XXX 1 */
umass_scsipi.c 578 periph->periph_flags |= PERIPH_REMOVABLE;
  /src/sys/arch/usermode/dev/
vatapi.c 243 periph->periph_flags |= PERIPH_REMOVABLE;
  /src/sys/dev/ic/
siisata.c 1667 periph->periph_flags |= PERIPH_REMOVABLE;
ahcisata_core.c 2156 periph->periph_flags |= PERIPH_REMOVABLE;
mvsata.c 809 periph->periph_flags |= PERIPH_REMOVABLE;

Completed in 32 milliseconds