Lines Matching refs:pci_dev
2395 static int __devinit hrz_probe(struct pci_dev *pci_dev, const struct pci_device_id *pci_ent)
2401 u32 iobase = pci_resource_start (pci_dev, 0);
2402 u32 * membase = bus_to_virt (pci_resource_start (pci_dev, 1));
2408 if (pci_enable_device(pci_dev))
2424 pci_set_drvdata(pci_dev, dev);
2427 irq = pci_dev->irq;
2451 dev->pci_dev = pci_dev;
2454 pci_set_master(pci_dev);
2457 pci_read_config_byte(pci_dev, PCI_LATENCY_TIMER, &lat);
2461 pci_write_config_byte(pci_dev, PCI_LATENCY_TIMER, pci_lat);
2465 pci_write_config_byte(pci_dev, PCI_LATENCY_TIMER, MIN_PCI_LATENCY);
2544 pci_disable_device(pci_dev);
2548 static void __devexit hrz_remove_one(struct pci_dev *pci_dev)
2552 dev = pci_get_drvdata(pci_dev);
2562 pci_disable_device(pci_dev);