Home
last modified time | relevance | path

Searched refs:PCI_HEADER_TYPE (Results 1 – 25 of 48) sorted by relevance

12

/openbmc/u-boot/cmd/
H A Dpci.c106 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 Dcpqphp_pci.c361 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 Dibmphp_pci.c115 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 Dpci-layerscape.c60 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 Dedac_pci_sysfs.c522 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 Dpci.c140 PCI_HEADER_TYPE, in pci_mpc85xx_init()
/openbmc/u-boot/drivers/pci/
H A Dpci.c361 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 Dpcie_layerscape.c293 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 Dpci_common.c297 pci_read_config_byte(bdf, PCI_HEADER_TYPE, in pci_hose_find_devices()
H A Dpci_ftpci100.c179 PCI_HEADER_TYPE, &tmp); in pci_bus_scan()
H A Dpci_auto.c131 dm_pci_read_config8(dev, PCI_HEADER_TYPE, &header_type); in dm_pciauto_setup_device()
H A Dpci_auto_old.c142 pci_hose_read_config_byte(hose, dev, PCI_HEADER_TYPE, &header_type); in pciauto_setup_device()
H A Dpci-uclass.c787 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 Dpci_bridge.c361 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 Dpci-qmp-cmds.c139 type = dev->config[PCI_HEADER_TYPE] & ~PCI_HEADER_TYPE_MULTI_FUNCTION; in qmp_query_pci_device()
/openbmc/linux/arch/xtensa/lib/
H A Dpci-auto.c260 if (pci_read_config_byte(dev, PCI_HEADER_TYPE, &header_type)) in pciauto_bus_scan()
/openbmc/u-boot/drivers/misc/
H A Dswap_case.c73 case PCI_HEADER_TYPE: in sandbox_swap_case_read_config()
/openbmc/linux/arch/x86/pci/
H A Dintel_mid_pci.c162 if (reg >= 0x100 || reg == PCI_STATUS || reg == PCI_HEADER_TYPE) in type1_access_ok()
/openbmc/qemu/tests/qtest/
H A Di440fx-test.c71 g_assert_cmpint(qpci_config_readb(dev, PCI_HEADER_TYPE), ==, 0x00); in test_i440fx_defaults()
/openbmc/linux/arch/x86/kernel/
H A Daperture_64.c264 PCI_HEADER_TYPE); in search_agp_bridge()
/openbmc/linux/drivers/pci/controller/
H A Dvmd.c528 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 Dpcie-rcar-ep.c46 rcar_rmw32(pcie, RCONF(PCI_HEADER_TYPE), 0x7f, in rcar_pcie_ep_hw_init()
/openbmc/linux/arch/powerpc/sysdev/
H A Dfsl_pci.c56 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 Ddriver_pci_host.c281 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 Dpcie-mobiveil-host.c541 header_type = mobiveil_csr_readb(pcie, PCI_HEADER_TYPE); in mobiveil_pcie_is_bridge()

12