Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/block/paride/
Dpd.c384 static struct pd_unit *pd_current; /* current request's drive */ variable
395 pd_current = pd_req->rq_disk->private_data; in run_fsm()
396 pi_current = pd_current->pi; in run_fsm()
469 return func(pd_current); in pd_special()
496 if (pd_wait_for(pd_current, STAT_READY, "do_pd_read") & STAT_ERR) { in do_pd_read_start()
503 pd_ide_command(pd_current, IDE_READ, pd_block, pd_run); in do_pd_read_start()
511 if (pd_wait_for(pd_current, STAT_READY, "do_pd_write") & STAT_ERR) { in do_pd_write_start()
518 pd_ide_command(pd_current, IDE_WRITE, pd_block, pd_run); in do_pd_write_start()
520 if (pd_wait_for(pd_current, STAT_DRQ, "do_pd_write_drq") & STAT_ERR) { in do_pd_write_start()
527 pi_write_block(pd_current->pi, pd_buf, 512); in do_pd_write_start()
[all …]