| /rk3399_rockchip-uboot/drivers/pci/ |
| H A D | pci_sandbox.c | 16 static int sandbox_pci_write_config(struct udevice *bus, pci_dev_t devfn, in sandbox_pci_write_config() argument 24 ret = sandbox_pci_get_emul(bus, devfn, &emul); in sandbox_pci_write_config() 34 static int sandbox_pci_read_config(struct udevice *bus, pci_dev_t devfn, in sandbox_pci_read_config() argument 44 ret = sandbox_pci_get_emul(bus, devfn, &emul); in sandbox_pci_read_config()
|
| H A D | pci_msc01.c | 37 unsigned int devfn = PCI_DEV(bdf) << 3 | PCI_FUNC(bdf); in msc01_config_access() local 45 (devfn << MSC01_PCI_CFGADDR_FNUM_SHF) | in msc01_config_access()
|
| H A D | pci_gt64120.c | 50 unsigned int devfn = PCI_DEV(bdf) << 3 | PCI_FUNC(bdf); in gt_config_access() local 69 addr |= devfn << GT_PCI0_CFGADDR_FUNCTNUM_SHF; in gt_config_access()
|
| H A D | pci-uclass.c | 53 return PCI_ADD_BUS(bus->seq, pplat->devfn); in dm_pci_get_bdf() 106 if (pplat && pplat->devfn == find_devfn) { in pci_bus_find_devfn() 900 pplat->devfn = PCI_MASK_BUS(bdf); in pci_bind_bus_devices() 1094 pplat->devfn = addr.phys_hi & 0xff00; in pci_uclass_child_post_bind()
|
| /rk3399_rockchip-uboot/arch/x86/lib/ |
| H A D | bios_interrupts.c | 107 unsigned short devid, vendorid, devfn; in int1a_handler() local 165 devfn = M.x86.R_EBX & 0xff; in int1a_handler() 168 bdf = PCI_BDF(bus, devfn >> 3, devfn & 7); in int1a_handler() 204 bus, devfn, reg, M.x86.R_ECX); in int1a_handler()
|
| H A D | pirq_routing.c | 66 irq->bus, irq->devfn >> 3, irq->devfn & 7); in pirq_route_irqs() 102 pci_assign_irqs(irq->bus, irq->devfn >> 3, irq_slot); in pirq_route_irqs()
|
| /rk3399_rockchip-uboot/board/armltd/vexpress/ |
| H A D | vexpress_common.c | 152 int v2m_cfg_write(u32 devfn, u32 data) in v2m_cfg_write() argument 157 devfn |= SYS_CFG_START | SYS_CFG_WRITE; in v2m_cfg_write() 163 writel(devfn, V2M_SYS_CFGCTRL); in v2m_cfg_write()
|
| /rk3399_rockchip-uboot/board/gateworks/gw_ventana/ |
| H A D | gw_ventana.c | 510 pci_dev_t devfn; member 533 pdev->devfn = dev; in board_pci_fixup_dev() 545 pdev->devfn = 0; in board_pci_fixup_dev() 549 if (pci_devs[i].busno == PCI_BUS(pdev->devfn)) { in board_pci_fixup_dev() 878 (PCI_BUS(x->devfn)<<16)| \ 879 (PCI_DEV(x->devfn)<<11)| \ 880 (PCI_FUNC(x->devfn)<<8) \ 889 sprintf(node, "pcie@%d,%d,%d", PCI_BUS(dev->devfn), in fdt_add_pci_node() 890 PCI_DEV(dev->devfn), PCI_FUNC(dev->devfn)); in fdt_add_pci_node() 980 b += PCI_DEV(d->devfn); in fdt_fixup_gw16082()
|
| /rk3399_rockchip-uboot/board/armltd/integrator/ |
| H A D | pci.c | 93 unsigned int devfn = PCI_FUNC(bdf); in v3_open_config_window() local 102 if (devfn > 255) in v3_open_config_window() 149 address = (busnr << 16) | (devfn << 8); in v3_open_config_window()
|
| /rk3399_rockchip-uboot/arch/x86/include/asm/ |
| H A D | pirq_routing.h | 30 u8 devfn; /* Device and function number */ member
|
| /rk3399_rockchip-uboot/arch/powerpc/cpu/mpc83xx/ |
| H A D | pcie.c | 59 u8 devfn = PCI_DEV(dev) << 3 | PCI_FUNC(dev); in mpc83xx_pcie_remap_cfg() local 60 u32 dev_base = bus << 24 | devfn << 16; in mpc83xx_pcie_remap_cfg() 69 if (devfn & 0xf8) in mpc83xx_pcie_remap_cfg()
|
| /rk3399_rockchip-uboot/cmd/ |
| H A D | pci.c | 307 PCI_DEV(pplat->devfn), PCI_FUNC(pplat->devfn)); in pciinfo() 311 PCI_DEV(pplat->devfn), PCI_FUNC(pplat->devfn)); in pciinfo()
|
| /rk3399_rockchip-uboot/arch/x86/cpu/ |
| H A D | irq.c | 69 if (slot->bus == bus && slot->devfn == (device << 3)) in check_dup_entry() 81 slot->devfn = (device << 3) | 0; in fill_irq_info()
|
| /rk3399_rockchip-uboot/drivers/misc/ |
| H A D | swap_case.c | 62 return plat->devfn; in sandbox_swap_case_get_devfn()
|
| /rk3399_rockchip-uboot/include/ |
| H A D | pci.h | 523 #define PCI_ADD_BUS(bus, devfn) (((bus) << 16) | (devfn)) argument 854 int devfn; member
|