Home
last modified time | relevance | path

Searched refs:hdr_type (Results 1 – 13 of 13) sorted by relevance

/arch/powerpc/kernel/
Dpci_of_scan.c172 dev->hdr_type = PCI_HEADER_TYPE_BRIDGE; in of_create_pci_dev()
176 dev->hdr_type = PCI_HEADER_TYPE_CARDBUS; in of_create_pci_dev()
178 dev->hdr_type = PCI_HEADER_TYPE_NORMAL; in of_create_pci_dev()
337 pr_debug(" dev header type: %x\n", dev->hdr_type); in of_scan_pci_dev()
361 pr_debug(" dev header type: %x\n", dev->hdr_type); in __of_scan_bus()
Deeh.c1186 if (dev->hdr_type == PCI_HEADER_TYPE_BRIDGE) { in eeh_add_device_tree_late()
1209 if (dev->hdr_type == PCI_HEADER_TYPE_BRIDGE) { in eeh_add_sysfs_files()
Deeh_driver.c464 if (!dev || (dev->hdr_type == PCI_HEADER_TYPE_BRIDGE)) in eeh_rmv_device()
Dpci-common.c1728 (dev->hdr_type == PCI_HEADER_TYPE_NORMAL) && in fixup_hide_host_resource_fsl()
/arch/powerpc/sysdev/
Dmv64x60_pci.c113 dev->hdr_type = PCI_HEADER_TYPE_INVALID; in mv64x60_pci_fixup_early()
Dfsl_pci.c50 u8 hdr_type; in quirk_fsl_pcie_early() local
57 pci_read_config_byte(dev, PCI_HEADER_TYPE, &hdr_type); in quirk_fsl_pcie_early()
58 if ((hdr_type & 0x7f) != PCI_HEADER_TYPE_BRIDGE) in quirk_fsl_pcie_early()
526 u8 hdr_type, progif; in fsl_add_bridge() local
580 early_read_config_byte(hose, 0, 0, PCI_HEADER_TYPE, &hdr_type); in fsl_add_bridge()
581 if ((hdr_type & 0x7f) != PCI_HEADER_TYPE_BRIDGE) in fsl_add_bridge()
Dmpic.c564 u8 hdr_type = readb(devbase + PCI_HEADER_TYPE); in mpic_scan_ht_pics() local
584 if (PCI_FUNC(devfn) == 0 && (hdr_type & 0x80) == 0) in mpic_scan_ht_pics()
/arch/sparc/kernel/
Dpci.c342 dev->hdr_type = PCI_HEADER_TYPE_BRIDGE; in of_create_pci_dev()
345 dev->hdr_type = PCI_HEADER_TYPE_CARDBUS; in of_create_pci_dev()
347 dev->hdr_type = PCI_HEADER_TYPE_NORMAL; in of_create_pci_dev()
584 dev->hdr_type); in pci_of_scan_bus()
/arch/powerpc/platforms/85xx/
Dmpc85xx_cds.c175 dev->hdr_type = 0x7f; in skip_fake_bridge()
/arch/unicore32/kernel/
Dpci.c240 if (bus->self && bus->self->hdr_type == PCI_HEADER_TYPE_BRIDGE) { in pcibios_fixup_bus()
/arch/arm/kernel/
Dbios32.c348 if (bus->self && bus->self->hdr_type == PCI_HEADER_TYPE_BRIDGE) { in pcibios_fixup_bus()
/arch/x86/kvm/
Dassigned-dev.c737 if (dev->hdr_type != PCI_HEADER_TYPE_NORMAL) { in kvm_vm_ioctl_assign_device()
/arch/powerpc/platforms/powernv/
Dpci-ioda.c2036 if (dev->hdr_type != PCI_HEADER_TYPE_NORMAL) in pnv_pci_ioda_dev_dma_weight()