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

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

Completed in 158 milliseconds