Lines Matching refs:STAT_ERR
106 Fix for drives that don't clear STAT_ERR
187 #define STAT_ERR 0x00001
408 if ((r & (STAT_ERR & stop)) || (j > PF_SPIN)) {
458 r = pf_wait(pf, STAT_BUSY, STAT_DRQ | STAT_READY | STAT_ERR,
467 s = pf_wait(pf, STAT_BUSY, STAT_READY | STAT_ERR, fun, "data done");
870 if (pf_wait(pf_current, STAT_BUSY, STAT_DRQ | STAT_ERR,
871 "read block", "completion") & STAT_ERR) {
911 if (pf_wait(pf_current, STAT_BUSY, STAT_DRQ | STAT_ERR,
912 "write block", "data wait") & STAT_ERR) {
932 if (pf_wait(pf_current, STAT_BUSY, 0, "write block", "done") & STAT_ERR) {