Home
last modified time | relevance | path

Searched refs:PCI_FUNC (Results 1 – 25 of 27) sorted by relevance

12

/external/u-boot/drivers/pci/
Dpci_gt64120.c49 unsigned int devfn = PCI_DEV(bdf) << 3 | PCI_FUNC(bdf); in gt_config_access()
61 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf), where, *data); in gt_config_access()
110 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf), where, *data); in gt_config_access()
Dpcie_intel_fpga.c96 PCI_FUNC(bdf) == 0 && offset == PCI_BASE_ADDRESS_0) in intel_fpga_pcie_hide_rc_bar()
203 headers[2] = TLP_CFG_DW2(busno, PCI_DEV(bdf), PCI_FUNC(bdf), offset); in tlp_cfg_dword_read()
218 headers[2] = TLP_CFG_DW2(busno, PCI_DEV(bdf), PCI_FUNC(bdf), offset); in tlp_cfg_dword_write()
309 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in _pcie_intel_fpga_write_config()
332 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in pcie_intel_fpga_read_config()
Dpci.c361 if (PCI_FUNC(dev) && !found_multi) in pci_hose_scan_bus()
371 if (!PCI_FUNC(dev)) in pci_hose_scan_bus()
375 PCI_BUS(dev), PCI_DEV(dev), PCI_FUNC(dev)); in pci_hose_scan_bus()
392 PCI_BUS(dev), PCI_DEV(dev), 6 - indent, PCI_FUNC(dev), in pci_hose_scan_bus()
402 PCI_BUS(dev), PCI_DEV(dev), PCI_FUNC(dev)); in pci_hose_scan_bus()
Dpci_indirect.c26 b = PCI_BUS(dev); d = PCI_DEV(dev); f = PCI_FUNC(dev); \
41 b = PCI_BUS(dev); d = PCI_DEV(dev); f = PCI_FUNC(dev); \
Dpci-aardvark.c124 PCIE_CONF_FUNC(PCI_FUNC(devfn)) | PCIE_CONF_REG(where))
309 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in pcie_advk_read_config()
405 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in pcie_advk_write_config()
Dpcie_ecam_generic.c47 addr += PCI_FUNC(bdf) << 12; in pci_generic_ecam_conf_address()
Dpcie_xilinx.c63 unsigned int func = PCI_FUNC(bdf); in pcie_xilinx_config_address()
Dpcie_dw_mvebu.c252 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in pcie_dw_mvebu_read_config()
298 PCI_BUS(bdf), PCI_DEV(bdf), PCI_FUNC(bdf)); in pcie_dw_mvebu_write_config()
Dpci_msc01.c36 unsigned int devfn = PCI_DEV(bdf) << 3 | PCI_FUNC(bdf); in msc01_config_access()
Dpci-uclass.c710 PCI_FUNC(bdf)); in pci_find_and_bind_driver()
748 if (PCI_FUNC(bdf) && !found_multi) in pci_bind_bus_devices()
760 if (!PCI_FUNC(bdf)) in pci_bind_bus_devices()
764 bus->seq, bus->name, PCI_DEV(bdf), PCI_FUNC(bdf)); in pci_bind_bus_devices()
Dpci_common.c296 if (!PCI_FUNC(bdf)) { in pci_hose_find_devices()
Dpci-rcar-gen2.c95 if (PCI_FUNC(d)) in rcar_gen2_pci_addr_valid()
Dpci_mvebu.c48 PCIE_CONF_FUNC(PCI_FUNC(dev)) | PCIE_CONF_REG(reg) | \
Dpcie_layerscape.c259 PCIE_ATU_FUNC(PCI_FUNC(bdf)); in ls_pcie_conf_address()
/external/u-boot/drivers/bios_emulator/
Datibios.c254 (int)PCI_DEV(bdf) << 3 | (int)PCI_FUNC(bdf); in PCI_doBIOSPOST()
257 ((int)PCI_DEV(pcidev) << 3) | (int)PCI_FUNC(pcidev); in PCI_doBIOSPOST()
525 vga_info->function = PCI_FUNC(bdf); in PCI_postController()
529 vga_info->function = PCI_FUNC(pcidev); in PCI_postController()
561 PCI_BUS(bdf), PCI_FUNC(bdf), PCI_DEV(bdf)); in biosemu_setup()
564 PCI_BUS(pcidev), PCI_FUNC(pcidev), PCI_DEV(pcidev)); in biosemu_setup()
/external/kernel-headers/original/uapi/linux/
Dpci.h33 #define PCI_FUNC(devfn) ((devfn) & 0x07) macro
/external/u-boot/board/armltd/integrator/
Dpci.c92 unsigned int devfn = PCI_FUNC(bdf); in v3_open_config_window()
121 address = PCI_FUNC(bdf) << 8; in v3_open_config_window()
/external/u-boot/arch/x86/cpu/
Dirq.c259 rt->rtr_devfn = (PCI_DEV(priv->bdf) << 3) | PCI_FUNC(priv->bdf); in create_pirq_routing_table()
276 PCI_FUNC(pr.bdf), 'A' + pr.pin - 1, in create_pirq_routing_table()
/external/u-boot/board/armltd/vexpress64/
Dpcie.c59 (PCI_FUNC(d) << 12) | o)
/external/u-boot/board/gateworks/gw_ventana/
Dgw_ventana.c530 PCI_BUS(dev), PCI_DEV(dev), PCI_FUNC(dev), vendor, device); in board_pci_fixup_dev()
558 PCI_DEV(dev) == 0 && PCI_FUNC(dev) == 0) { in board_pci_fixup_dev()
880 (PCI_FUNC(x->devfn)<<8) \
890 PCI_DEV(dev->devfn), PCI_FUNC(dev->devfn)); in fdt_add_pci_node()
/external/u-boot/arch/x86/lib/
Dbios_interrupts.c148 PCI_FUNC(bdf); in int1a_handler()
Dbios.c253 PCI_FUNC(pcidev); in bios_run_on_x86()
Dmpspec.c328 func = PCI_FUNC(pr.bdf); in mptable_add_intsrc()
/external/u-boot/cmd/
Dpci.c346 PCI_DEV(pplat->devfn), PCI_FUNC(pplat->devfn)); in pciinfo()
350 PCI_DEV(pplat->devfn), PCI_FUNC(pplat->devfn)); in pciinfo()
/external/u-boot/arch/powerpc/cpu/mpc83xx/
Dpcie.c58 u8 devfn = PCI_DEV(dev) << 3 | PCI_FUNC(dev); in mpc83xx_pcie_remap_cfg()

12