Lines Matching refs:pci
80 static int fm801_gp_probe(struct pci_dev *pci, const struct pci_device_id *id) in fm801_gp_probe() argument
94 error = pci_enable_device(pci); in fm801_gp_probe()
103 gameport_set_phys(port, "pci%s/gameport0", pci_name(pci)); in fm801_gp_probe()
104 port->dev.parent = &pci->dev; in fm801_gp_probe()
105 port->io = pci_resource_start(pci, 0); in fm801_gp_probe()
116 pci_set_drvdata(pci, gp); in fm801_gp_probe()
124 pci_disable_device(pci); in fm801_gp_probe()
131 static void fm801_gp_remove(struct pci_dev *pci) in fm801_gp_remove() argument
133 struct fm801_gp *gp = pci_get_drvdata(pci); in fm801_gp_remove()
139 pci_disable_device(pci); in fm801_gp_remove()
146 MODULE_DEVICE_TABLE(pci, fm801_gp_id_table);