Lines Matching refs:pcidev
474 iosapic_xlate_pin(struct iosapic_info *isi, struct pci_dev *pcidev) in iosapic_xlate_pin() argument
478 pci_read_config_byte(pcidev, PCI_INTERRUPT_PIN, &intr_pin); in iosapic_xlate_pin()
481 pcidev->slot_name, PCI_SLOT(pcidev->devfn), intr_pin); in iosapic_xlate_pin()
489 if (pcidev->bus->parent) { in iosapic_xlate_pin()
504 intr_pin = pci_bridge_funcs->xlate_intr_line(pcidev); in iosapic_xlate_pin()
507 struct pci_bus *p = pcidev->bus; in iosapic_xlate_pin()
521 intr_pin = pci_swizzle_interrupt_pin(pcidev, intr_pin); in iosapic_xlate_pin()
532 intr_slot = PCI_SLOT(pcidev->devfn); in iosapic_xlate_pin()
535 pcidev->bus->busn_res.start, intr_slot, intr_pin); in iosapic_xlate_pin()
720 int iosapic_fixup_irq(void *isi_obj, struct pci_dev *pcidev) in iosapic_fixup_irq() argument
729 pci_name(pcidev)); in iosapic_fixup_irq()
742 if (is_superio_device(pcidev)) { in iosapic_fixup_irq()
744 pcidev->irq = superio_fixup_irq(pcidev); in iosapic_fixup_irq()
747 if (PCI_FUNC(pcidev->devfn) != SUPERIO_USB_FN) in iosapic_fixup_irq()
748 return pcidev->irq; in iosapic_fixup_irq()
753 irte = iosapic_xlate_pin(isi, pcidev); in iosapic_fixup_irq()
756 pci_name(pcidev)); in iosapic_fixup_irq()
805 pcidev->irq = vi->txn_irq; in iosapic_fixup_irq()
808 PCI_SLOT(pcidev->devfn), PCI_FUNC(pcidev->devfn), in iosapic_fixup_irq()
809 pcidev->vendor, pcidev->device, isi_line, pcidev->irq); in iosapic_fixup_irq()
811 return pcidev->irq; in iosapic_fixup_irq()