Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/parport/
Dparport_mfc3.c78 static struct parport *this_port[MAX_MFC] = {NULL, }; variable
219 if (this_port[i] != NULL) in mfc3_interrupt()
220 if (pia(this_port[i])->crb & 128) { /* Board caused interrupt */ in mfc3_interrupt()
221 dummy = pia(this_port[i])->pprb; /* clear irq bit */ in mfc3_interrupt()
222 parport_generic_irq(this_port[i]); in mfc3_interrupt()
361 this_port[pias++] = p; in parport_mfc3_init()
386 if (!this_port[i]) in parport_mfc3_exit()
388 parport_remove_port(this_port[i]); in parport_mfc3_exit()
389 if (this_port[i]->irq != PARPORT_IRQ_NONE) { in parport_mfc3_exit()
393 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
210 this_port = p; in parport_atari_init()
221 parport_remove_port(this_port); in parport_atari_exit()
222 if (this_port->irq != PARPORT_IRQ_NONE) in parport_atari_exit()
223 free_irq(IRQ_MFP_BUSY, this_port); in parport_atari_exit()
224 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 IS_ERR(this_port) ? PTR_ERR(this_port) : 0; in parport_ip32_init()
2215 parport_ip32_unregister_port(this_port); in parport_ip32_exit()