/openbmc/u-boot/cmd/ |
H A D | pci.c | 106 dm_pci_read_config8(dev, PCI_HEADER_TYPE, &header_type); in pci_bar_show() 180 { "header type", PCI_SIZE_8, PCI_HEADER_TYPE }, 270 dm_pci_read_config(dev, PCI_HEADER_TYPE, &header_type, PCI_SIZE_8); in pci_header_show() 275 pci_read_config_byte(dev, PCI_HEADER_TYPE, &header_type); in pci_header_show() 430 pci_read_config_byte(dev, PCI_HEADER_TYPE, in pciinfo()
|
/openbmc/linux/drivers/pci/hotplug/ |
H A D | cpqphp_pci.c | 361 rc = pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(device, 0), PCI_HEADER_TYPE, &header_type); in cpqhp_save_config() 444 …rc = pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(device, function), PCI_HEADER_TYPE, &header… in cpqhp_save_config() 488 …pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(new_slot->device, 0), PCI_HEADER_TYPE, &header_t… in cpqhp_save_slot_config() 531 …pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(new_slot->device, function), PCI_HEADER_TYPE, &h… in cpqhp_save_slot_config() 572 pci_bus_read_config_byte(pci_bus, devfn, PCI_HEADER_TYPE, &header_type); in cpqhp_save_base_addr_length() 724 pci_bus_read_config_byte(pci_bus, devfn, PCI_HEADER_TYPE, &header_type); in cpqhp_save_used_resources() 975 pci_bus_read_config_byte(pci_bus, devfn, PCI_HEADER_TYPE, &header_type); in cpqhp_configure_board() 1068 pci_bus_read_config_byte(pci_bus, devfn, PCI_HEADER_TYPE, &header_type); in cpqhp_valid_replace()
|
H A D | ibmphp_pci.c | 115 pci_bus_read_config_byte(ibmphp_pci_bus, devfn, PCI_HEADER_TYPE, &hdr_type); in ibmphp_configure_card() 1086 pci_bus_read_config_byte(ibmphp_pci_bus, devfn, PCI_HEADER_TYPE, &hdr_type); in scan_behind_bridge() 1451 pci_bus_read_config_byte(ibmphp_pci_bus, devfn, PCI_HEADER_TYPE, &hdr_type); in unconfigure_boot_card()
|
/openbmc/linux/drivers/pci/controller/dwc/ |
H A D | pci-layerscape.c | 60 header_type = ioread8(pci->dbi_base + PCI_HEADER_TYPE); in ls_pcie_is_bridge() 71 iowrite8(PCI_HEADER_TYPE_BRIDGE, pci->dbi_base + PCI_HEADER_TYPE); in ls_pcie_clear_multifunction()
|
/openbmc/linux/drivers/edac/ |
H A D | edac_pci_sysfs.c | 522 pci_read_config_byte(dev, PCI_HEADER_TYPE, &header_type); in edac_pci_dev_parity_clear() 548 pci_read_config_byte(dev, PCI_HEADER_TYPE, &header_type); in edac_pci_dev_parity_test()
|
/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/ |
H A D | pci.c | 140 PCI_HEADER_TYPE, in pci_mpc85xx_init()
|
/openbmc/u-boot/drivers/pci/ |
H A D | pci.c | 361 pci_hose_read_config_byte(hose, dev, PCI_HEADER_TYPE, &header_type); in pci_hose_scan_bus() 475 pci_hose_read_config_byte(hose, dev, PCI_HEADER_TYPE, &hdr_type); in pci_hose_find_capability()
|
H A D | pcie_layerscape.c | 293 writeb(PCI_HEADER_TYPE_BRIDGE, pcie->dbi + PCI_HEADER_TYPE); in ls_pcie_clear_multifunction() 528 pcie->mode = readb(pcie->dbi + PCI_HEADER_TYPE) & 0x7f; in ls_pcie_probe()
|
H A D | pci_common.c | 297 pci_read_config_byte(bdf, PCI_HEADER_TYPE, in pci_hose_find_devices()
|
H A D | pci_ftpci100.c | 179 PCI_HEADER_TYPE, &tmp); in pci_bus_scan()
|
H A D | pci_auto.c | 131 dm_pci_read_config8(dev, PCI_HEADER_TYPE, &header_type); in dm_pciauto_setup_device()
|
H A D | pci_auto_old.c | 142 pci_hose_read_config_byte(hose, dev, PCI_HEADER_TYPE, &header_type); in pciauto_setup_device()
|
H A D | pci-uclass.c | 787 pci_bus_read_config(bus, bdf, PCI_HEADER_TYPE, in pci_bind_bus_devices() 1398 dm_pci_read_config8(dev, PCI_HEADER_TYPE, &header_type); in dm_pci_find_capability()
|
/openbmc/qemu/hw/pci/ |
H A D | pci_bridge.c | 361 dev->config[PCI_HEADER_TYPE] = in pci_bridge_initfn() 362 (dev->config[PCI_HEADER_TYPE] & PCI_HEADER_TYPE_MULTI_FUNCTION) | in pci_bridge_initfn()
|
H A D | pci-qmp-cmds.c | 139 type = dev->config[PCI_HEADER_TYPE] & ~PCI_HEADER_TYPE_MULTI_FUNCTION; in qmp_query_pci_device()
|
/openbmc/linux/arch/xtensa/lib/ |
H A D | pci-auto.c | 260 if (pci_read_config_byte(dev, PCI_HEADER_TYPE, &header_type)) in pciauto_bus_scan()
|
/openbmc/u-boot/drivers/misc/ |
H A D | swap_case.c | 73 case PCI_HEADER_TYPE: in sandbox_swap_case_read_config()
|
/openbmc/linux/arch/x86/pci/ |
H A D | intel_mid_pci.c | 162 if (reg >= 0x100 || reg == PCI_STATUS || reg == PCI_HEADER_TYPE) in type1_access_ok()
|
/openbmc/qemu/tests/qtest/ |
H A D | i440fx-test.c | 71 g_assert_cmpint(qpci_config_readb(dev, PCI_HEADER_TYPE), ==, 0x00); in test_i440fx_defaults()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | aperture_64.c | 264 PCI_HEADER_TYPE); in search_agp_bridge()
|
/openbmc/linux/drivers/pci/controller/ |
H A D | vmd.c | 528 hdr_type = readb(base + PCI_HEADER_TYPE); in vmd_domain_reset() 535 hdr_type = readb(base + PCI_HEADER_TYPE) & in vmd_domain_reset()
|
H A D | pcie-rcar-ep.c | 46 rcar_rmw32(pcie, RCONF(PCI_HEADER_TYPE), 0x7f, in rcar_pcie_ep_hw_init()
|
/openbmc/linux/arch/powerpc/sysdev/ |
H A D | fsl_pci.c | 56 pci_read_config_byte(dev, PCI_HEADER_TYPE, &hdr_type); in quirk_fsl_pcie_early() 583 early_read_config_byte(hose, 0, 0, PCI_HEADER_TYPE, &hdr_type); in fsl_add_bridge()
|
/openbmc/linux/drivers/bcma/ |
H A D | driver_pci_host.c | 281 bcma_extpci_read_config(pc, dev, func, PCI_HEADER_TYPE, &byte_val, in bcma_find_pci_capability()
|
/openbmc/linux/drivers/pci/controller/mobiveil/ |
H A D | pcie-mobiveil-host.c | 541 header_type = mobiveil_csr_readb(pcie, PCI_HEADER_TYPE); in mobiveil_pcie_is_bridge()
|