Home
last modified time | relevance | path

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

/drivers/char/
Dlp.c144 static struct lp_struct lp_table[LP_NO]; variable
162 #define r_dtr(x) (parport_read_data(lp_table[(x)].dev->port))
163 #define r_str(x) (parport_read_status(lp_table[(x)].dev->port))
164 #define w_ctr(x,y) do { parport_write_control(lp_table[(x)].dev->port, (y)); } while (0)
165 #define w_dtr(x,y) do { parport_write_data(lp_table[(x)].dev->port, (y)); } while (0)
210 lp_claim_parport_or_block(&lp_table[minor]); in lp_reset()
215 lp_release_parport(&lp_table[minor]); in lp_reset()
227 polling = lp_table[minor].dev->port->irq == PARPORT_IRQ_NONE; in lp_error()
229 lp_release_parport(&lp_table[minor]); in lp_error()
230 prepare_to_wait(&lp_table[minor].waitq, &wait, TASK_INTERRUPTIBLE); in lp_error()
[all …]