Lines Matching refs:STAT_READY
197 #define STAT_READY 0x00040 macro
496 if (pd_wait_for(pd_current, STAT_READY, "do_pd_read") & STAT_ERR) { in do_pd_read_start()
511 if (pd_wait_for(pd_current, STAT_READY, "do_pd_write") & STAT_ERR) { in do_pd_write_start()
567 if (pd_wait_for(pd_current, STAT_READY, "do_pd_write_done") & STAT_ERR) { in do_pd_write_done()
597 if (!(pd_wait_for(disk, STAT_READY, "Lock") & STAT_ERR)) { in pd_door_lock()
599 pd_wait_for(disk, STAT_READY, "Lock done"); in pd_door_lock()
606 if (!(pd_wait_for(disk, STAT_READY, "Lock") & STAT_ERR)) { in pd_door_unlock()
608 pd_wait_for(disk, STAT_READY, "Lock done"); in pd_door_unlock()
626 int r = pd_wait_for(disk, STAT_READY, DBMSG("before media_check")); in pd_media_check()
629 r = pd_wait_for(disk, STAT_READY, DBMSG("RDY after READ_VRFY")); in pd_media_check()
635 pd_wait_for(disk, STAT_READY, DBMSG("RDY after ACKCHANGE")); in pd_media_check()
637 r = pd_wait_for(disk, STAT_READY, DBMSG("RDY after VRFY")); in pd_media_check()