Home
last modified time | relevance | path

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

/drivers/parport/
Dparport_mfc3.c78 static struct parport *this_port[MAX_MFC] = {NULL, }; variable
184 if (this_port[i] != NULL) in mfc3_interrupt()
185 if (pia(this_port[i])->crb & 128) { /* Board caused interrupt */ in mfc3_interrupt()
186 dummy = pia(this_port[i])->pprb; /* clear irq bit */ in mfc3_interrupt()
187 parport_generic_irq(this_port[i]); in mfc3_interrupt()
326 this_port[pias++] = p; in parport_mfc3_init()
351 if (!this_port[i]) in parport_mfc3_exit()
353 parport_remove_port(this_port[i]); in parport_mfc3_exit()
354 if (this_port[i]->irq != PARPORT_IRQ_NONE) { in parport_mfc3_exit()
358 release_mem_region(ZTWO_PADDR(this_port[i]->private_data), sizeof(struct pia)); in parport_mfc3_exit()
[all …]
Dparport_atari.c21 static struct parport *this_port = NULL; variable
201 this_port = p; in parport_atari_init()
212 parport_remove_port(this_port); in parport_atari_exit()
213 if (this_port->irq != PARPORT_IRQ_NONE) in parport_atari_exit()
214 free_irq(IRQ_MFP_BUSY, this_port); in parport_atari_exit()
215 parport_put_port(this_port); in parport_atari_exit()
Dparport_ip32.c141 static struct parport *this_port = NULL; variable
2206 this_port = parport_ip32_probe_port(); in parport_ip32_init()
2207 return PTR_ERR_OR_ZERO(this_port); in parport_ip32_init()
2215 parport_ip32_unregister_port(this_port); in parport_ip32_exit()