Lines Matching refs:pcidev
460 iosapic_xlate_pin(struct iosapic_info *isi, struct pci_dev *pcidev) in iosapic_xlate_pin() argument
464 pci_read_config_byte(pcidev, PCI_INTERRUPT_PIN, &intr_pin); in iosapic_xlate_pin()
467 pcidev->slot_name, PCI_SLOT(pcidev->devfn), intr_pin); in iosapic_xlate_pin()
475 if (pcidev->bus->parent) { in iosapic_xlate_pin()
490 intr_pin = pci_bridge_funcs->xlate_intr_line(pcidev); in iosapic_xlate_pin()
493 struct pci_bus *p = pcidev->bus; in iosapic_xlate_pin()
507 intr_pin = pci_swizzle_interrupt_pin(pcidev, intr_pin); in iosapic_xlate_pin()
518 intr_slot = PCI_SLOT(pcidev->devfn); in iosapic_xlate_pin()
521 pcidev->bus->busn_res.start, intr_slot, intr_pin); in iosapic_xlate_pin()
706 int iosapic_fixup_irq(void *isi_obj, struct pci_dev *pcidev) in iosapic_fixup_irq() argument
715 pci_name(pcidev)); in iosapic_fixup_irq()
728 if (is_superio_device(pcidev)) { in iosapic_fixup_irq()
730 pcidev->irq = superio_fixup_irq(pcidev); in iosapic_fixup_irq()
733 if (PCI_FUNC(pcidev->devfn) != SUPERIO_USB_FN) in iosapic_fixup_irq()
734 return pcidev->irq; in iosapic_fixup_irq()
739 irte = iosapic_xlate_pin(isi, pcidev); in iosapic_fixup_irq()
742 pci_name(pcidev)); in iosapic_fixup_irq()
791 pcidev->irq = vi->txn_irq; in iosapic_fixup_irq()
794 PCI_SLOT(pcidev->devfn), PCI_FUNC(pcidev->devfn), in iosapic_fixup_irq()
795 pcidev->vendor, pcidev->device, isi_line, pcidev->irq); in iosapic_fixup_irq()
797 return pcidev->irq; in iosapic_fixup_irq()