Lines Matching refs:p
32 static void amiga_write_data(struct parport *p, unsigned char data) in amiga_write_data() argument
40 static unsigned char amiga_read_data(struct parport *p) in amiga_read_data() argument
54 static void amiga_write_control(struct parport *p, unsigned char control) in amiga_write_control() argument
60 static unsigned char amiga_read_control( struct parport *p) in amiga_read_control() argument
66 static unsigned char amiga_frob_control( struct parport *p, unsigned char mask, unsigned char val) in amiga_frob_control() argument
71 old = amiga_read_control(p); in amiga_frob_control()
72 amiga_write_control(p, (old & ~mask) ^ val); in amiga_frob_control()
91 static unsigned char amiga_read_status(struct parport *p) in amiga_read_status() argument
100 static void amiga_enable_irq(struct parport *p) in amiga_enable_irq() argument
105 static void amiga_disable_irq(struct parport *p) in amiga_disable_irq() argument
110 static void amiga_data_forward(struct parport *p) in amiga_data_forward() argument
117 static void amiga_data_reverse(struct parport *p) in amiga_data_reverse() argument
132 static void amiga_save_state(struct parport *p, struct parport_state *s) in amiga_save_state() argument
142 static void amiga_restore_state(struct parport *p, struct parport_state *s) in amiga_restore_state() argument
192 struct parport *p; in amiga_parallel_probe() local
199 p = parport_register_port((unsigned long)&ciaa.prb, IRQ_AMIGA_CIAA_FLG, in amiga_parallel_probe()
201 if (!p) in amiga_parallel_probe()
204 err = request_irq(IRQ_AMIGA_CIAA_FLG, parport_irq_handler, 0, p->name, in amiga_parallel_probe()
205 p); in amiga_parallel_probe()
209 pr_info("%s: Amiga built-in port using irq\n", p->name); in amiga_parallel_probe()
211 parport_announce_port(p); in amiga_parallel_probe()
213 platform_set_drvdata(pdev, p); in amiga_parallel_probe()
218 parport_put_port(p); in amiga_parallel_probe()