Searched refs:hdr_type (Results 1 – 13 of 13) sorted by relevance
172 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()
1186 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()
464 if (!dev || (dev->hdr_type == PCI_HEADER_TYPE_BRIDGE)) in eeh_rmv_device()
1728 (dev->hdr_type == PCI_HEADER_TYPE_NORMAL) && in fixup_hide_host_resource_fsl()
113 dev->hdr_type = PCI_HEADER_TYPE_INVALID; in mv64x60_pci_fixup_early()
50 u8 hdr_type; in quirk_fsl_pcie_early() local57 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() local580 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()
564 u8 hdr_type = readb(devbase + PCI_HEADER_TYPE); in mpic_scan_ht_pics() local584 if (PCI_FUNC(devfn) == 0 && (hdr_type & 0x80) == 0) in mpic_scan_ht_pics()
342 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()
175 dev->hdr_type = 0x7f; in skip_fake_bridge()
240 if (bus->self && bus->self->hdr_type == PCI_HEADER_TYPE_BRIDGE) { in pcibios_fixup_bus()
348 if (bus->self && bus->self->hdr_type == PCI_HEADER_TYPE_BRIDGE) { in pcibios_fixup_bus()
737 if (dev->hdr_type != PCI_HEADER_TYPE_NORMAL) { in kvm_vm_ioctl_assign_device()
2036 if (dev->hdr_type != PCI_HEADER_TYPE_NORMAL) in pnv_pci_ioda_dev_dma_weight()