Lines Matching defs:pci_dev
1590 pci_read_config_word (dev->pci_dev, PCI_STATUS, &status);
1594 pci_write_config_word (dev->pci_dev, PCI_STATUS, status);
2607 static int hrz_probe(struct pci_dev *pci_dev,
2614 u32 iobase = pci_resource_start (pci_dev, 0);
2615 u32 * membase = bus_to_virt (pci_resource_start (pci_dev, 1));
2621 if (pci_enable_device(pci_dev))
2638 pci_set_drvdata(pci_dev, dev);
2641 irq = pci_dev->irq;
2655 dev->atm_dev = atm_dev_register(DEV_LABEL, &pci_dev->dev, &hrz_ops, -1,
2666 dev->pci_dev = pci_dev;
2669 pci_set_master(pci_dev);
2672 pci_read_config_byte(pci_dev, PCI_LATENCY_TIMER, &lat);
2676 pci_write_config_byte(pci_dev, PCI_LATENCY_TIMER, pci_lat);
2680 pci_write_config_byte(pci_dev, PCI_LATENCY_TIMER, MIN_PCI_LATENCY);
2757 pci_disable_device(pci_dev);
2761 static void hrz_remove_one(struct pci_dev *pci_dev)
2765 dev = pci_get_drvdata(pci_dev);
2775 pci_disable_device(pci_dev);