Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/block/paride/
Dpd.c394 static struct pd_unit *pd_current; /* current request's drive */ variable
433 pd_current = pd_req->rq_disk->private_data; in run_fsm()
434 pi_current = pd_current->pi; in run_fsm()
512 return req->func(pd_current); in pd_special()
545 if (pd_wait_for(pd_current, STAT_READY, "do_pd_read") & STAT_ERR) { in do_pd_read_start()
552 pd_ide_command(pd_current, IDE_READ, pd_block, pd_run); in do_pd_read_start()
560 if (pd_wait_for(pd_current, STAT_READY, "do_pd_write") & STAT_ERR) { in do_pd_write_start()
567 pd_ide_command(pd_current, IDE_WRITE, pd_block, pd_run); in do_pd_write_start()
569 if (pd_wait_for(pd_current, STAT_DRQ, "do_pd_write_drq") & STAT_ERR) { in do_pd_write_start()
576 pi_write_block(pd_current->pi, pd_buf, 512); in do_pd_write_start()
[all …]