Searched refs:TP_WRP (Results 1 – 2 of 2) sorted by relevance
| /netbsd/src/sys/dev/isa/ |
| D | wt.c | 391 if (!wtsense(sc, 0, (flag & FWRITE) ? 0 : TP_WRP)) { in wtopen() 395 if (!wtsense(sc, 1, (flag & FWRITE) ? 0 : TP_WRP)) in wtopen() 424 if (!wtsense(sc, 1, TP_WRP | TP_ILL)) in wtopen() 627 if (!wtsense(sc, 1, TP_WRP)) { in wtstrategy() 633 wtsense(sc, 1, TP_WRP); in wtstrategy() 719 wtsense(sc, 1, TP_WRP); in wtintr() 732 wtsense(sc, 1, (sc->flags & TPRMARK) ? TP_WRP : 0); in wtintr() 765 wtsense(sc, 1, (sc->dmaflags & DMAMODE_READ) ? TP_WRP : 0); in wtintr() 819 wtsense(sc, 1, TP_WRP); in wtreadfm() 1078 error = sc->error & (TP_FIL | TP_BNL | TP_UDA | TP_EOM | TP_WRP | in wtsense() [all …]
|
| D | wtreg.h | 99 #define TP_WRP 0x0010 /* Write protected cartridge */ macro
|