Home
last modified time | relevance | path

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

/drivers/char/
Dlp.c143 static struct lp_struct lp_table[LP_NO]; variable
160 #define r_dtr(x) (parport_read_data(lp_table[(x)].dev->port))
161 #define r_str(x) (parport_read_status(lp_table[(x)].dev->port))
162 #define w_ctr(x,y) do { parport_write_control(lp_table[(x)].dev->port, (y)); } while (0)
163 #define w_dtr(x,y) do { parport_write_data(lp_table[(x)].dev->port, (y)); } while (0)
208 lp_claim_parport_or_block (&lp_table[minor]); in lp_reset()
213 lp_release_parport (&lp_table[minor]); in lp_reset()
225 polling = lp_table[minor].dev->port->irq == PARPORT_IRQ_NONE; in lp_error()
226 if (polling) lp_release_parport (&lp_table[minor]); in lp_error()
227 prepare_to_wait(&lp_table[minor].waitq, &wait, TASK_INTERRUPTIBLE); in lp_error()
[all …]