Home
last modified time | relevance | path

Searched refs:fdc_wait (Results 1 – 5 of 5) sorted by relevance

/linux-2.4.37.9/drivers/char/ftape/lowlevel/
Dfdc-io.c106 int fdc_wait(unsigned int usecs, __u8 mask, __u8 state) in fdc_wait() function
122 return fdc_wait(usecs, FDC_DATA_READY | FDC_BUSY, FDC_DATA_READY); in fdc_ready_wait()
129 fdc_wait(usecs, 0, 1); /* will always timeout ! */ in fdc_usec_wait()
135 return fdc_wait(usecs, FDC_DATA_OUT_READY, FDC_DATA_OUT_READY); in fdc_ready_out_wait()
141 return fdc_wait(usecs, FDC_DATA_OUT_READY, FDC_DATA_IN_READY); in fdc_ready_in_wait()
157 if (fdc_wait(150, FDC_DATA_READY_MASK, FDC_DATA_IN_READY) < 0) { in fdc_write()
172 if (fdc_wait(150, FDC_DATA_READY_MASK, FDC_DATA_OUT_READY) < 0) { in fdc_read()
/linux-2.4.37.9/drivers/acorn/block/
Dfd1772.c281 static DECLARE_WAIT_QUEUE_HEAD(fdc_wait);
1106 wake_up(&fdc_wait); in finish_fdc_done()
1314 sleep_on(&fdc_wait); in do_fd_request()
/linux-2.4.37.9/drivers/block/
Dataflop.c317 static DECLARE_WAIT_QUEUE_HEAD(fdc_wait);
667 while( fdc_busy ) sleep_on( &fdc_wait ); in do_format()
1326 wake_up( &fdc_wait ); in finish_fdc_done()
1537 while( fdc_busy ) sleep_on( &fdc_wait ); in do_fd_request()
Damiflop.c167 static DECLARE_WAIT_QUEUE_HEAD(fdc_wait);
276 sleep_on(&fdc_wait); in get_fdc()
292 wake_up(&fdc_wait); in rel_fdc()
Dfloppy.c501 static DECLARE_WAIT_QUEUE_HEAD(fdc_wait);
891 add_wait_queue(&fdc_wait, &wait); in _lock_fdc()
902 remove_wait_queue(&fdc_wait, &wait); in _lock_fdc()
908 remove_wait_queue(&fdc_wait, &wait); in _lock_fdc()
944 wake_up(&fdc_wait); in unlock_fdc()