Searched refs:lp_table (Results 1 – 2 of 2) sorted by relevance
144 static struct lp_struct lp_table[LP_NO]; variable162 #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 …]
22 #define LP_F(minor) lp_table[(minor)].flags /* flags for busy, etc. */23 #define LP_CHAR(minor) lp_table[(minor)].chars /* busy timeout */24 #define LP_TIME(minor) lp_table[(minor)].time /* wait time */25 #define LP_WAIT(minor) lp_table[(minor)].wait /* strobe wait */26 #define LP_IRQ(minor) lp_table[(minor)].dev->port->irq /* interrupt # */29 #define LP_STAT(minor) lp_table[(minor)].stats /* statistics area */33 #define LP_BASE(x) lp_table[(x)].dev->port->base