Lines Matching defs:dev
29 struct pci_dev *dev = NULL;
32 while ((dev = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL) {
33 pci_read_config_byte(dev, PCI_INTERRUPT_PIN, &pin);
35 dev->irq = XIRQ1;
36 pci_write_config_byte(dev, PCI_INTERRUPT_LINE,
37 dev->irq);
39 pci_read_config_byte(dev, PCI_INTERRUPT_LINE, &line);
47 void pcibios_enable_irq(struct pci_dev *dev)
49 pci_write_config_byte(dev, PCI_INTERRUPT_LINE, dev->irq);