/openbmc/u-boot/arch/x86/dts/ |
H A D | cherryhill.dts | 88 PCI_BDF(0, 2, 0) INTA PIRQA 89 PCI_BDF(0, 3, 0) INTA PIRQA 90 PCI_BDF(0, 11, 0) INTA PIRQA 91 PCI_BDF(0, 16, 0) INTA PIRQA 92 PCI_BDF(0, 17, 0) INTA PIRQA 93 PCI_BDF(0, 18, 0) INTA PIRQA 121 PCI_BDF(1, 0, 0) INTA PIRQA 122 PCI_BDF(1, 0, 0) INTB PIRQB 123 PCI_BDF(1, 0, 0) INTC PIRQC 124 PCI_BDF(1, 0, 0) INTD PIRQD [all …]
|
H A D | crownbay.dts | 163 PCI_BDF(0, 2, 0) INTA PIRQE 164 PCI_BDF(0, 3, 0) INTA PIRQF 192 PCI_BDF(1, 0, 0) INTA PIRQA 193 PCI_BDF(2, 0, 1) INTA PIRQA 194 PCI_BDF(2, 0, 2) INTA PIRQA 195 PCI_BDF(2, 2, 0) INTB PIRQD 196 PCI_BDF(2, 2, 1) INTB PIRQD 197 PCI_BDF(2, 2, 2) INTB PIRQD 198 PCI_BDF(2, 2, 3) INTB PIRQD 199 PCI_BDF(2, 2, 4) INTB PIRQD [all …]
|
H A D | bayleybay.dts | 113 PCI_BDF(0, 2, 0) INTA PIRQA 114 PCI_BDF(0, 3, 0) INTA PIRQA 150 PCI_BDF(1, 0, 0) INTA PIRQA 151 PCI_BDF(1, 0, 0) INTB PIRQB 152 PCI_BDF(1, 0, 0) INTC PIRQC 153 PCI_BDF(1, 0, 0) INTD PIRQD 154 PCI_BDF(2, 0, 0) INTA PIRQB 155 PCI_BDF(2, 0, 0) INTB PIRQC 156 PCI_BDF(2, 0, 0) INTC PIRQD 157 PCI_BDF(2, 0, 0) INTD PIRQA [all …]
|
H A D | baytrail_som-db5800-som-6867.dts | 137 PCI_BDF(0, 2, 0) INTA PIRQA 138 PCI_BDF(0, 3, 0) INTA PIRQA 174 PCI_BDF(1, 0, 0) INTA PIRQA 175 PCI_BDF(1, 0, 0) INTB PIRQB 176 PCI_BDF(1, 0, 0) INTC PIRQC 177 PCI_BDF(1, 0, 0) INTD PIRQD 178 PCI_BDF(2, 0, 0) INTA PIRQB 179 PCI_BDF(2, 0, 0) INTB PIRQC 180 PCI_BDF(2, 0, 0) INTC PIRQD 181 PCI_BDF(2, 0, 0) INTD PIRQA [all …]
|
H A D | conga-qeval20-qa3-e3845.dts | 124 PCI_BDF(0, 2, 0) INTA PIRQA 125 PCI_BDF(0, 3, 0) INTA PIRQA 161 PCI_BDF(1, 0, 0) INTA PIRQA 162 PCI_BDF(1, 0, 0) INTB PIRQB 163 PCI_BDF(1, 0, 0) INTC PIRQC 164 PCI_BDF(1, 0, 0) INTD PIRQD 165 PCI_BDF(2, 0, 0) INTA PIRQB 166 PCI_BDF(2, 0, 0) INTB PIRQC 167 PCI_BDF(2, 0, 0) INTC PIRQD 168 PCI_BDF(2, 0, 0) INTD PIRQA [all …]
|
H A D | dfi-bt700.dtsi | 135 PCI_BDF(0, 2, 0) INTA PIRQA 136 PCI_BDF(0, 3, 0) INTA PIRQA 172 PCI_BDF(1, 0, 0) INTA PIRQA 173 PCI_BDF(1, 0, 0) INTB PIRQB 174 PCI_BDF(1, 0, 0) INTC PIRQC 175 PCI_BDF(1, 0, 0) INTD PIRQD 176 PCI_BDF(2, 0, 0) INTA PIRQB 177 PCI_BDF(2, 0, 0) INTB PIRQC 178 PCI_BDF(2, 0, 0) INTC PIRQD 179 PCI_BDF(2, 0, 0) INTD PIRQA [all …]
|
H A D | minnowmax.dts | 137 PCI_BDF(0, 2, 0) INTA PIRQA 138 PCI_BDF(0, 3, 0) INTA PIRQA 174 PCI_BDF(1, 0, 0) INTA PIRQA 175 PCI_BDF(1, 0, 0) INTB PIRQB 176 PCI_BDF(1, 0, 0) INTC PIRQC 177 PCI_BDF(1, 0, 0) INTD PIRQD 178 PCI_BDF(2, 0, 0) INTA PIRQB 179 PCI_BDF(2, 0, 0) INTB PIRQC 180 PCI_BDF(2, 0, 0) INTC PIRQD 181 PCI_BDF(2, 0, 0) INTD PIRQA [all …]
|
H A D | cougarcanyon2.dts | 124 PCI_BDF(0, 2, 0) INTA PIRQA 125 PCI_BDF(0, 20, 0) INTA PIRQA 126 PCI_BDF(0, 22, 0) INTA PIRQA 127 PCI_BDF(0, 22, 1) INTB PIRQB 128 PCI_BDF(0, 22, 2) INTC PIRQC 129 PCI_BDF(0, 22, 3) INTD PIRQD 130 PCI_BDF(0, 25, 0) INTA PIRQA 131 PCI_BDF(0, 26, 0) INTA PIRQA 132 PCI_BDF(0, 27, 0) INTB PIRQA 133 PCI_BDF(0, 28, 0) INTA PIRQA [all …]
|
H A D | galileo.dts | 107 PCI_BDF(0, 20, 0) INTA PIRQE 108 PCI_BDF(0, 20, 1) INTB PIRQF 109 PCI_BDF(0, 20, 2) INTC PIRQG 122 PCI_BDF(1, 0, 0) INTA PIRQA 123 PCI_BDF(1, 0, 0) INTB PIRQB 124 PCI_BDF(1, 0, 0) INTC PIRQC 125 PCI_BDF(1, 0, 0) INTD PIRQD 126 PCI_BDF(2, 0, 0) INTA PIRQB 127 PCI_BDF(2, 0, 0) INTB PIRQC 128 PCI_BDF(2, 0, 0) INTC PIRQD [all …]
|
H A D | qemu-x86_q35.dts | 82 PCI_BDF(0, 2, 0) INTA PIRQG 84 PCI_BDF(0, 29, 0) INTA PIRQA 85 PCI_BDF(0, 29, 1) INTB PIRQB 86 PCI_BDF(0, 29, 2) INTC PIRQC 88 PCI_BDF(0, 29, 7) INTD PIRQD 90 PCI_BDF(0, 31, 2) INTA PIRQA
|
H A D | qemu-x86_i440fx.dts | 69 PCI_BDF(0, 1, 2) INTD PIRQD 71 PCI_BDF(0, 3, 0) INTA PIRQC
|
/openbmc/u-boot/arch/x86/include/asm/arch-quark/ |
H A D | device.h | 47 PCI_BDF(0, QUARK_DEV_20, QUARK_MMC_SDIO_FUNC) 49 PCI_BDF(0, QUARK_DEV_20, QUARK_UART0_FUNC) 53 PCI_BDF(0, QUARK_DEV_20, QUARK_USB_EHCI_FUNC) 55 PCI_BDF(0, QUARK_DEV_20, QUARK_USB_OHCI_FUNC) 57 PCI_BDF(0, QUARK_DEV_20, QUARK_UART1_FUNC) 59 PCI_BDF(0, QUARK_DEV_20, QUARK_EMAC0_FUNC) 61 PCI_BDF(0, QUARK_DEV_20, QUARK_EMAC1_FUNC) 63 PCI_BDF(0, QUARK_DEV_21, QUARK_SPI0_FUNC) 65 PCI_BDF(0, QUARK_DEV_21, QUARK_SPI1_FUNC) 69 PCI_BDF(0, QUARK_DEV_23, QUARK_PCIE0_FUNC) [all …]
|
/openbmc/u-boot/arch/x86/include/asm/arch-qemu/ |
H A D | device.h | 11 #define QEMU_I440FX PCI_BDF(0, 0, 0) 12 #define PIIX_ISA PCI_BDF(0, 1, 0) 13 #define PIIX_IDE PCI_BDF(0, 1, 1) 14 #define PIIX_USB PCI_BDF(0, 1, 2) 15 #define PIIX_PM PCI_BDF(0, 1, 3) 16 #define ICH9_PM PCI_BDF(0, 0x1f, 0) 17 #define I440FX_VGA PCI_BDF(0, 2, 0) 19 #define QEMU_Q35 PCI_BDF(0, 0, 0) 20 #define Q35_VGA PCI_BDF(0, 1, 0)
|
/openbmc/u-boot/arch/x86/include/asm/arch-queensbay/ |
H A D | device.h | 32 PCI_BDF(0, TNC_HOST_BRIDGE_DEV, TNC_HOST_BRIDGE_FUNC) 34 PCI_BDF(0, TNC_IGD_DEV, TNC_IGD_FUNC) 36 PCI_BDF(0, TNC_SDVO_DEV, TNC_SDVO_FUNC) 38 PCI_BDF(0, TNC_PCIE0_DEV, TNC_PCIE0_FUNC) 40 PCI_BDF(0, TNC_PCIE1_DEV, TNC_PCIE1_FUNC) 42 PCI_BDF(0, TNC_PCIE2_DEV, TNC_PCIE2_FUNC) 44 PCI_BDF(0, TNC_PCIE3_DEV, TNC_PCIE3_FUNC) 46 PCI_BDF(0, TNC_HDA_DEV, TNC_HDA_FUNC) 48 PCI_BDF(0, TNC_LPC_DEV, TNC_LPC_FUNC)
|
/openbmc/u-boot/test/dm/ |
H A D | pci.c | 34 ut_assertok(dm_pci_bus_find_bdf(PCI_BDF(0, 0x00, 0), &swap)); in dm_test_pci_busdev() 38 ut_assertok(dm_pci_bus_find_bdf(PCI_BDF(0, 0x1f, 0), &swap)); in dm_test_pci_busdev() 46 ut_assertok(dm_pci_bus_find_bdf(PCI_BDF(1, 0x08, 0), &swap)); in dm_test_pci_busdev() 50 ut_assertok(dm_pci_bus_find_bdf(PCI_BDF(1, 0x0c, 0), &swap)); in dm_test_pci_busdev() 67 ut_assertok(dm_pci_bus_find_bdf(PCI_BDF(0, 0x00, 0), &swap)); in dm_test_pci_swapcase() 88 ut_assertok(dm_pci_bus_find_bdf(PCI_BDF(0, 0x1f, 0), &swap)); in dm_test_pci_swapcase() 120 ut_assertok(dm_pci_bus_find_bdf(PCI_BDF(1, 0x08, 0), &swap)); in dm_test_pci_drvdata() 123 ut_assertok(dm_pci_bus_find_bdf(PCI_BDF(1, 0x0c, 0), &swap)); in dm_test_pci_drvdata() 126 ut_assertok(dm_pci_bus_find_bdf(PCI_BDF(1, 0x10, 0), &swap)); in dm_test_pci_drvdata() 146 ut_assertok(dm_pci_bus_find_bdf(PCI_BDF(2, 0x08, 0), &swap)); in dm_test_pci_mixed() [all …]
|
/openbmc/u-boot/arch/x86/include/asm/arch-ivybridge/ |
H A D | pch.h | 46 #define PCH_EHCI1_DEV PCI_BDF(0, 0x1d, 0) 47 #define PCH_EHCI2_DEV PCI_BDF(0, 0x1a, 0) 48 #define PCH_XHCI_DEV PCI_BDF(0, 0x14, 0) 49 #define PCH_ME_DEV PCI_BDF(0, 0x16, 0) 52 #define PCH_DEV PCI_BDF(0, 0, 0) 53 #define PCH_VIDEO_DEV PCI_BDF(0, 2, 0) 56 #define PCH_LPC_DEV PCI_BDF(0, 0x1f, 0) 100 #define PCH_IDE_DEV PCI_BDF(0, 0x1f, 1) 101 #define PCH_SATA_DEV PCI_BDF(0, 0x1f, 2) 102 #define PCH_SATA2_DEV PCI_BDF(0, 0x1f, 5)
|
/openbmc/u-boot/doc/device-tree-bindings/misc/ |
H A D | intel,irq-router.txt | 35 bus number, device number and function number encoding with PCI_BDF() macro. 52 PCI_BDF(0, 2, 0) INTA PIRQA 53 PCI_BDF(0, 3, 0) INTA PIRQB 54 PCI_BDF(0, 8, 0) INTA PIRQC 55 PCI_BDF(0, 8, 1) INTB PIRQD 56 PCI_BDF(1, 6, 0) INTA PIRQE 57 PCI_BDF(1, 6, 1) INTB PIRQF 58 PCI_BDF(1, 6, 2) INTC PIRQG 59 PCI_BDF(1, 6, 3) INTD PIRQH
|
/openbmc/u-boot/drivers/pci/ |
H A D | pci_common.c | 86 if (dev == PCI_BDF(hose->first_busno, 0, 0)) { in pci_skip_dev() 290 for (bdf = PCI_BDF(busnum, 0, 0); in pci_hose_find_devices() 291 bdf < PCI_BDF(busnum + 1, 0, 0); in pci_hose_find_devices() 292 bdf += PCI_BDF(0, 0, 1)) { in pci_hose_find_devices() 331 pci_read_config_dword(PCI_BDF(bus, devnum, 0), in pci_find_class() 336 for (bdf = PCI_BDF(bus, devnum, 0); in pci_find_class() 337 bdf <= PCI_BDF(bus, devnum, in pci_find_class() 339 bdf += PCI_BDF(0, 0, 1)) { in pci_find_class()
|
H A D | pci_indirect.c | 28 dev = PCI_BDF(b, d, f); \ 43 dev = PCI_BDF(b, d, f); \
|
H A D | pci-rcar-gen2.c | 204 devad = setup_bus_address(dev, PCI_BDF(0, 0, 0), 0); in rcar_gen2_pci_probe() 213 devad = setup_bus_address(dev, PCI_BDF(0, 1, 0), 0); in rcar_gen2_pci_probe() 220 devad = setup_bus_address(dev, PCI_BDF(0, 2, 0), 0); in rcar_gen2_pci_probe()
|
/openbmc/u-boot/board/esd/vme8349/ |
H A D | caddy.c | 98 dev = PCI_BDF(caddy_cmd->par[0], in do_caddy() 108 dev = PCI_BDF(caddy_cmd->par[0], in do_caddy() 118 dev = PCI_BDF(caddy_cmd->par[0], in do_caddy() 127 dev = PCI_BDF(caddy_cmd->par[0], in do_caddy() 137 dev = PCI_BDF(caddy_cmd->par[0], in do_caddy() 147 dev = PCI_BDF(caddy_cmd->par[0], in do_caddy()
|
/openbmc/u-boot/arch/x86/cpu/qemu/ |
H A D | qemu.c | 96 pci_read_config16(PCI_BDF(0, 0, 0), PCI_DEVICE_ID, &device); in qemu_chipset_init() 106 pci_write_config8(PCI_BDF(0, 0, 0), pam + i, PAM_RW); in qemu_chipset_init() 128 pci_write_config32(PCI_BDF(0, 0, 0), PCIEX_BAR, in qemu_chipset_init() 177 pci_read_config8(PCI_BDF(bus, dev, func), in mp_determine_pci_dstirq()
|
/openbmc/u-boot/include/dt-bindings/interrupt-router/ |
H A D | intel-irq.h | 26 #ifndef PCI_BDF 27 #define PCI_BDF(b, d, f) ((b) << 16 | (d) << 11 | (f) << 8) macro
|
/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/ |
H A D | pci.c | 62 dev = PCI_BDF(hose->first_busno, 0, 0); in pci_mpc85xx_init() 139 PCI_BDF(0,BRIDGE_ID,0), in pci_mpc85xx_init() 157 dev = PCI_BDF(hose->first_busno, 0, 0); in pci_mpc85xx_init()
|
/openbmc/u-boot/board/freescale/mpc8572ds/ |
H A D | mpc8572ds.c | 130 pci_hose_read_config_dword(hose, PCI_BDF(uli_busno, 0x1d, 0), in pci_init_board() 134 void *p = pci_mem_to_virt(PCI_BDF(uli_busno, 0x1d, 0), in pci_init_board()
|