Lines Matching refs:periph_flags
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)
695 if (periph->periph_flags & PERIPH_WAITING) {
696 periph->periph_flags &= ~PERIPH_WAITING;
708 (periph->periph_flags & PERIPH_MEDIA_LOADED) == 0)) {
901 ((sd->sc_periph->periph_flags &
961 if ((periph->periph_flags & PERIPH_MEDIA_LOADED) == 0 &&
967 if (periph->periph_flags & PERIPH_REMOVABLE)
975 if ((periph->periph_flags & PERIPH_REMOVABLE) == 0)
994 return ((periph->periph_flags & PERIPH_REMOVABLE) == 0 ?
1043 if (sd->sc_periph->periph_flags & PERIPH_REMOVABLE)
1137 if (periph->periph_flags & PERIPH_RECOVERING)
1182 periph->periph_flags |= PERIPH_RECOVERING;
1194 periph->periph_flags &= ~PERIPH_RECOVERING;
1253 if ((periph->periph_flags & PERIPH_MEDIA_LOADED) == 0)
1851 if (sd->sc_periph->periph_flags & PERIPH_REMOVABLE) {