Lines Matching refs:pd_wait_for

622 static int pd_wait_for( int unit, int w, char * msg )    /* polled wait */  in pd_wait_for()  function
684 pd_wait_for(unit,0,DBMSG("before init_dev_parms")); in pd_init_dev_parms()
687 pd_wait_for(unit,0,"Initialise device parameters"); in pd_init_dev_parms()
694 if (pd_wait_for(unit,STAT_READY,"Lock") & STAT_ERR) { in pd_doorlock()
699 pd_wait_for(unit,STAT_READY,"Lock done"); in pd_doorlock()
706 pd_wait_for(unit,0,DBMSG("before unlock on eject")); in pd_eject()
708 pd_wait_for(unit,0,DBMSG("after unlock on eject")); in pd_eject()
709 pd_wait_for(unit,0,DBMSG("before eject")); in pd_eject()
711 pd_wait_for(unit,0,DBMSG("after eject")); in pd_eject()
720 r = pd_wait_for(unit,STAT_READY,DBMSG("before media_check")); in pd_media_check()
723 r = pd_wait_for(unit,STAT_READY,DBMSG("RDY after READ_VRFY")); in pd_media_check()
728 pd_wait_for(unit,STAT_READY,DBMSG("RDY after ACKCHANGE")); in pd_media_check()
730 r = pd_wait_for(unit,STAT_READY,DBMSG("RDY after VRFY")); in pd_media_check()
739 pd_wait_for(unit,0,DBMSG("before STANDBY")); in pd_standby_off()
741 pd_wait_for(unit,0,DBMSG("after STANDBY")); in pd_standby_off()
762 pd_wait_for(unit,0,DBMSG("before IDENT")); in pd_identify()
765 if (pd_wait_for(unit,STAT_DRQ,DBMSG("IDENT DRQ")) & STAT_ERR) { in pd_identify()
937 if (pd_wait_for(unit,STAT_READY,"do_pd_read") & STAT_ERR) { in do_pd_read_start()
961 if (pd_wait_for(unit,STAT_DRQ,"do_pd_read_drq") & STAT_ERR) { in do_pd_read_drq()
1003 if (pd_wait_for(unit,STAT_READY,"do_pd_write") & STAT_ERR) { in do_pd_write_start()
1019 if (pd_wait_for(unit,STAT_DRQ,"do_pd_write_drq") & STAT_ERR) { in do_pd_write_start()
1048 if (pd_wait_for(unit,STAT_READY,"do_pd_write_done") & STAT_ERR) { in do_pd_write_done()