Lines Matching refs:ext
284 if (dev->ext) { in interrupt_hw()
285 if (dev->ext->irq_mask & isr) { in interrupt_hw()
286 if (dev->ext->irq_func) in interrupt_hw()
287 dev->ext->irq_func(dev, &isr); in interrupt_hw()
288 isr &= ~dev->ext->irq_mask; in interrupt_hw()
332 struct saa7146_extension *ext = pci_ext->ext; in saa7146_init_one() local
425 dev->ext = ext; in saa7146_init_one()
443 if (ext->probe && ext->probe(dev)) { in saa7146_init_one()
448 if (ext->attach(dev, pci_ext)) { in saa7146_init_one()
501 dev->ext->detach(dev); in saa7146_remove_one()
526 int saa7146_register_extension(struct saa7146_extension* ext) in saa7146_register_extension() argument
528 DEB_EE("ext:%p\n", ext); in saa7146_register_extension()
530 ext->driver.name = ext->name; in saa7146_register_extension()
531 ext->driver.id_table = ext->pci_tbl; in saa7146_register_extension()
532 ext->driver.probe = saa7146_init_one; in saa7146_register_extension()
533 ext->driver.remove = saa7146_remove_one; in saa7146_register_extension()
535 pr_info("register extension '%s'\n", ext->name); in saa7146_register_extension()
536 return pci_register_driver(&ext->driver); in saa7146_register_extension()
539 int saa7146_unregister_extension(struct saa7146_extension* ext) in saa7146_unregister_extension() argument
541 DEB_EE("ext:%p\n", ext); in saa7146_unregister_extension()
542 pr_info("unregister extension '%s'\n", ext->name); in saa7146_unregister_extension()
543 pci_unregister_driver(&ext->driver); in saa7146_unregister_extension()