/linux-4.4.14/arch/powerpc/kernel/ |
D | pci_of_scan.c | 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() 340 pr_debug(" dev header type: %x\n", dev->hdr_type); in of_scan_pci_dev() 364 pr_debug(" dev header type: %x\n", dev->hdr_type); in __of_scan_bus()
|
D | eeh.c | 1181 if (dev->hdr_type == PCI_HEADER_TYPE_BRIDGE) { in eeh_add_device_tree_late() 1204 if (dev->hdr_type == PCI_HEADER_TYPE_BRIDGE) { in eeh_add_sysfs_files()
|
D | eeh_driver.c | 426 if (!dev || (dev->hdr_type & PCI_HEADER_TYPE_BRIDGE)) in eeh_rmv_device()
|
D | pci-common.c | 1668 (dev->hdr_type == PCI_HEADER_TYPE_NORMAL) && in fixup_hide_host_resource_fsl()
|
/linux-4.4.14/drivers/pci/host/ |
D | pcie-iproc.c | 158 u8 hdr_type; in iproc_pcie_check_link() local 170 pci_bus_read_config_byte(bus, 0, PCI_HEADER_TYPE, &hdr_type); in iproc_pcie_check_link() 171 if ((hdr_type & 0x7f) != PCI_HEADER_TYPE_BRIDGE) { in iproc_pcie_check_link() 172 dev_err(pcie->dev, "in EP mode, hdr=%#02x\n", hdr_type); in iproc_pcie_check_link()
|
/linux-4.4.14/drivers/pci/hotplug/ |
D | ibmphp_pci.c | 86 u8 hdr_type, device, sec_number; in ibmphp_configure_card() local 129 pci_bus_read_config_byte (ibmphp_pci_bus, devfn, PCI_HEADER_TYPE, &hdr_type); in ibmphp_configure_card() 133 debug ("hrd_type = %x, class = %x, class_code %x\n", hdr_type, class, class_code); in ibmphp_configure_card() 144 switch (hdr_type) { in ibmphp_configure_card() 146 …("single device case.... vendor id = %x, hdr_type = %x, class = %x\n", vendor_id, hdr_type, class); in ibmphp_configure_card() 313 err ("MAJOR PROBLEM!!!!, header type not supported? %x\n", hdr_type); in ibmphp_configure_card() 1082 u8 hdr_type; in scan_behind_bridge() local 1118 pci_bus_read_config_byte (ibmphp_pci_bus, devfn, PCI_HEADER_TYPE, &hdr_type); in scan_behind_bridge() 1121 debug ("hdr_type behind the bridge is %x\n", hdr_type); in scan_behind_bridge() 1122 if (hdr_type & PCI_HEADER_TYPE_BRIDGE) { in scan_behind_bridge() [all …]
|
D | shpchp_pci.c | 98 if (dev->hdr_type == PCI_HEADER_TYPE_BRIDGE) { in shpchp_unconfigure_device()
|
D | rpadlpar_core.c | 195 if (dev->hdr_type != PCI_HEADER_TYPE_BRIDGE) { in dlpar_add_pci_slot() 197 __func__, dev->hdr_type, drc_name); in dlpar_add_pci_slot()
|
D | pciehp_pci.c | 101 if (dev->hdr_type == PCI_HEADER_TYPE_BRIDGE && presence) { in pciehp_unconfigure_device()
|
D | cpcihp_generic.c | 159 if (!dev || dev->hdr_type != PCI_HEADER_TYPE_BRIDGE) { in cpcihp_generic_init()
|
D | sgi_hotplug.c | 393 if (dev->hdr_type == PCI_HEADER_TYPE_BRIDGE) { in enable_slot()
|
D | ibmphp_res.c | 1942 u8 sec_busno, device, function, hdr_type, start_io_address, end_io_address; in update_bridge_ranges() local 1968 pci_bus_read_config_byte (ibmphp_pci_bus, devfn, PCI_HEADER_TYPE, &hdr_type); in update_bridge_ranges() 1970 switch (hdr_type) { in update_bridge_ranges()
|
D | ibmphp_core.c | 815 if (!(flag) && (func->dev->hdr_type == PCI_HEADER_TYPE_BRIDGE)) { in ibm_configure_device()
|
D | cpqphp_pci.c | 109 if (func->pci_dev->hdr_type == PCI_HEADER_TYPE_BRIDGE) { in cpqhp_configure_device()
|
/linux-4.4.14/drivers/pci/pcie/aer/ |
D | aerdrv_core.c | 249 !(dev->hdr_type & PCI_HEADER_TYPE_BRIDGE)) { in report_error_detected() 272 if (!(dev->hdr_type & PCI_HEADER_TYPE_BRIDGE)) in report_error_detected() 372 if (dev->hdr_type & PCI_HEADER_TYPE_BRIDGE) { in broadcast_error_message() 443 if (dev->hdr_type & PCI_HEADER_TYPE_BRIDGE) { in reset_link() 663 } else if (dev->hdr_type & PCI_HEADER_TYPE_BRIDGE || in get_device_error_info()
|
/linux-4.4.14/drivers/misc/ |
D | spear13xx_pcie_gadget.c | 164 u8 hdr_type) in pci_find_own_cap_start() argument 172 switch (hdr_type) { in pci_find_own_cap_start() 204 u32 hdr_type; in pci_find_own_capability() local 206 spear_dbi_read_reg(config, PCI_HEADER_TYPE, 1, &hdr_type); in pci_find_own_capability() 208 pos = pci_find_own_cap_start(config, hdr_type); in pci_find_own_capability()
|
/linux-4.4.14/arch/powerpc/sysdev/ |
D | fsl_pci.c | 47 u8 hdr_type; in quirk_fsl_pcie_early() local 54 pci_read_config_byte(dev, PCI_HEADER_TYPE, &hdr_type); in quirk_fsl_pcie_early() 55 if ((hdr_type & 0x7f) != PCI_HEADER_TYPE_BRIDGE) in quirk_fsl_pcie_early() 512 u8 hdr_type, progif; in fsl_add_bridge() local 564 early_read_config_byte(hose, 0, 0, PCI_HEADER_TYPE, &hdr_type); in fsl_add_bridge() 565 if ((hdr_type & 0x7f) != PCI_HEADER_TYPE_BRIDGE) in fsl_add_bridge()
|
D | mv64x60_pci.c | 113 dev->hdr_type = PCI_HEADER_TYPE_INVALID; in mv64x60_pci_fixup_early()
|
D | mpic.c | 564 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()
|
/linux-4.4.14/drivers/pci/ |
D | probe.c | 807 int is_cardbus = (dev->hdr_type == PCI_HEADER_TYPE_CARDBUS); in pci_scan_bridge() 1181 u8 hdr_type; in pci_setup_device() local 1186 if (pci_read_config_byte(dev, PCI_HEADER_TYPE, &hdr_type)) in pci_setup_device() 1192 dev->hdr_type = hdr_type & 0x7f; in pci_setup_device() 1193 dev->multifunction = !!(hdr_type & 0x80); in pci_setup_device() 1211 dev->vendor, dev->device, dev->hdr_type, dev->class); in pci_setup_device() 1236 switch (dev->hdr_type) { /* header type */ in pci_setup_device() 1317 dev->hdr_type); in pci_setup_device() 1322 dev->class, dev->hdr_type); in pci_setup_device()
|
D | pci.c | 199 unsigned int devfn, u8 hdr_type) in __pci_bus_find_cap_start() argument 207 switch (hdr_type) { in __pci_bus_find_cap_start() 241 pos = __pci_bus_find_cap_start(dev->bus, dev->devfn, dev->hdr_type); in pci_find_capability() 265 u8 hdr_type; in pci_bus_find_capability() local 267 pci_bus_read_config_byte(bus, devfn, PCI_HEADER_TYPE, &hdr_type); in pci_bus_find_capability() 269 pos = __pci_bus_find_cap_start(bus, devfn, hdr_type & 0x7f); in pci_bus_find_capability() 410 pos = __pci_bus_find_cap_start(dev->bus, dev->devfn, dev->hdr_type); in pci_find_ht_capability() 1107 if (pdev->hdr_type == PCI_HEADER_TYPE_NORMAL) { in pci_restore_config_space() 2414 if (dev->hdr_type == PCI_HEADER_TYPE_BRIDGE) in pci_ea_init() 4669 if (dev->hdr_type == PCI_HEADER_TYPE_NORMAL && in pci_reassigndev_resource_alignment() [all …]
|
D | proc.c | 41 else if (dev->hdr_type == PCI_HEADER_TYPE_CARDBUS) in proc_bus_pci_read()
|
D | pci-sysfs.c | 642 else if (dev->hdr_type == PCI_HEADER_TYPE_CARDBUS) in pci_read_config()
|
D | quirks.c | 1546 pdev->hdr_type = hdr & 0x7f; in quirk_jmicron_ata() 3674 pdev->hdr_type == PCI_HEADER_TYPE_BRIDGE && in quirk_use_pcie_bridge_dma_alias()
|
/linux-4.4.14/drivers/xen/xen-pciback/ |
D | conf_space_header.c | 415 switch (dev->hdr_type) { in xen_pcibk_config_header_add_fields() 427 pci_name(dev), dev->hdr_type); in xen_pcibk_config_header_add_fields()
|
D | pciback_ops.c | 36 if (dev->hdr_type != PCI_HEADER_TYPE_NORMAL) in xen_pcibk_control_isr() 117 if (dev->hdr_type == PCI_HEADER_TYPE_NORMAL) { in xen_pcibk_reset_device()
|
D | pci_stub.c | 526 if (dev->hdr_type != PCI_HEADER_TYPE_NORMAL in pcistub_probe() 527 && dev->hdr_type != PCI_HEADER_TYPE_BRIDGE) { in pcistub_probe()
|
/linux-4.4.14/arch/sparc/kernel/ |
D | pci.c | 333 dev->hdr_type = PCI_HEADER_TYPE_BRIDGE; in of_create_pci_dev() 336 dev->hdr_type = PCI_HEADER_TYPE_CARDBUS; in of_create_pci_dev() 338 dev->hdr_type = PCI_HEADER_TYPE_NORMAL; in of_create_pci_dev() 575 dev->hdr_type); in pci_of_scan_bus()
|
/linux-4.4.14/drivers/infiniband/hw/mthca/ |
D | mthca_reset.c | 75 if (bridge->hdr_type == PCI_HEADER_TYPE_BRIDGE && in mthca_reset()
|
/linux-4.4.14/arch/powerpc/platforms/85xx/ |
D | mpc85xx_cds.c | 161 dev->hdr_type = 0x7f; in skip_fake_bridge()
|
/linux-4.4.14/arch/unicore32/kernel/ |
D | pci.c | 240 if (bus->self && bus->self->hdr_type == PCI_HEADER_TYPE_BRIDGE) { in pcibios_fixup_bus()
|
/linux-4.4.14/arch/arm/kernel/ |
D | bios32.c | 348 if (bus->self && bus->self->hdr_type == PCI_HEADER_TYPE_BRIDGE) { in pcibios_fixup_bus()
|
/linux-4.4.14/drivers/net/ethernet/brocade/bna/ |
D | bna_types.h | 658 enum bfi_enet_hds_type hdr_type; member
|
D | bna_tx_rx.c | 1703 cfg_req->rx_cfg.hds.type = rx->hds_cfg.hdr_type; in bna_bfi_rx_enet_start()
|
/linux-4.4.14/include/linux/ |
D | pci.h | 274 u8 hdr_type; /* PCI header type (`multi' flag masked out) */ member 517 return dev->hdr_type == PCI_HEADER_TYPE_BRIDGE || in pci_is_bridge() 518 dev->hdr_type == PCI_HEADER_TYPE_CARDBUS; in pci_is_bridge()
|
/linux-4.4.14/drivers/s390/net/ |
D | qeth_core.h | 337 __u8 hdr_type; member
|
D | qeth_l3_main.c | 2795 hdr->ext.hdr_type = 1; in qeth_tso_fill_header()
|
/linux-4.4.14/arch/x86/kvm/ |
D | assigned-dev.c | 743 if (dev->hdr_type != PCI_HEADER_TYPE_NORMAL) { in kvm_vm_ioctl_assign_device()
|
/linux-4.4.14/drivers/vfio/pci/ |
D | vfio_pci.c | 943 if (pdev->hdr_type != PCI_HEADER_TYPE_NORMAL) in vfio_pci_probe()
|
/linux-4.4.14/drivers/vfio/ |
D | vfio.c | 465 if (pdev->hdr_type != PCI_HEADER_TYPE_NORMAL) in vfio_dev_whitelisted()
|
/linux-4.4.14/drivers/iommu/ |
D | dmar.c | 245 (info->dev->hdr_type == PCI_HEADER_TYPE_NORMAL)) { in dmar_insert_dev_scope()
|
/linux-4.4.14/arch/powerpc/platforms/powernv/ |
D | pci-ioda.c | 837 if (dev->hdr_type != PCI_HEADER_TYPE_NORMAL) in pnv_ioda_dma_weight()
|