/external/kernel-headers/original/uapi/linux/ |
D | pci.h | 32 #define PCI_SLOT(devfn) (((devfn) >> 3) & 0x1f) argument 33 #define PCI_FUNC(devfn) ((devfn) & 0x07) argument
|
D | vfio.h | 583 __u8 devfn; /* Use PCI_SLOT/PCI_FUNC */ member
|
D | kvm.h | 1530 __u32 devfn; member
|
/external/u-boot/drivers/pci/ |
D | pci_sandbox.c | 13 static int sandbox_pci_write_config(struct udevice *bus, pci_dev_t devfn, in sandbox_pci_write_config() argument 21 ret = sandbox_pci_get_emul(bus, devfn, &emul); in sandbox_pci_write_config() 31 static int sandbox_pci_read_config(struct udevice *bus, pci_dev_t devfn, in sandbox_pci_read_config() argument 41 ret = sandbox_pci_get_emul(bus, devfn, &emul); in sandbox_pci_read_config()
|
D | pci_msc01.c | 36 unsigned int devfn = PCI_DEV(bdf) << 3 | PCI_FUNC(bdf); in msc01_config_access() local 44 (devfn << MSC01_PCI_CFGADDR_FNUM_SHF) | in msc01_config_access()
|
D | pci_gt64120.c | 49 unsigned int devfn = PCI_DEV(bdf) << 3 | PCI_FUNC(bdf); in gt_config_access() local 68 addr |= devfn << GT_PCI0_CFGADDR_FUNCTNUM_SHF; in gt_config_access()
|
D | pci-aardvark.c | 122 #define PCIE_CONF_ADDR(bus, devfn, where) \ argument 123 (PCIE_CONF_BUS(bus) | PCIE_CONF_DEV(PCI_SLOT(devfn)) | \ 124 PCIE_CONF_FUNC(PCI_FUNC(devfn)) | PCIE_CONF_REG(where))
|
D | pcie_intel_fpga.c | 39 #define TLP_REQ_ID(bus, devfn) (((bus) << 8) | (devfn)) argument
|
D | pci-uclass.c | 52 return PCI_ADD_BUS(bus->seq, pplat->devfn); in dm_pci_get_bdf() 105 if (pplat && pplat->devfn == find_devfn) { in pci_bus_find_devfn() 800 pplat->devfn = PCI_MASK_BUS(bdf); in pci_bind_bus_devices() 1003 pplat->devfn = addr.phys_hi & 0xff00; in pci_uclass_child_post_bind()
|
/external/u-boot/arch/x86/lib/ |
D | bios_interrupts.c | 106 unsigned short devid, vendorid, devfn; in int1a_handler() local 164 devfn = M.x86.R_EBX & 0xff; in int1a_handler() 167 bdf = PCI_BDF(bus, devfn >> 3, devfn & 7); in int1a_handler() 203 bus, devfn, reg, M.x86.R_ECX); in int1a_handler()
|
D | pirq_routing.c | 65 irq->bus, irq->devfn >> 3, irq->devfn & 7); in pirq_route_irqs() 101 pci_assign_irqs(irq->bus, irq->devfn >> 3, irq_slot); in pirq_route_irqs()
|
/external/u-boot/board/armltd/vexpress/ |
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()
|
/external/u-boot/board/gateworks/gw_ventana/ |
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()
|
/external/u-boot/board/armltd/integrator/ |
D | pci.c | 92 unsigned int devfn = PCI_FUNC(bdf); in v3_open_config_window() local 101 if (devfn > 255) in v3_open_config_window() 148 address = (busnr << 16) | (devfn << 8); in v3_open_config_window()
|
/external/u-boot/arch/powerpc/cpu/mpc83xx/ |
D | pcie.c | 58 u8 devfn = PCI_DEV(dev) << 3 | PCI_FUNC(dev); in mpc83xx_pcie_remap_cfg() local 59 u32 dev_base = bus << 24 | devfn << 16; in mpc83xx_pcie_remap_cfg() 68 if (devfn & 0xf8) in mpc83xx_pcie_remap_cfg()
|
/external/u-boot/cmd/ |
D | pci.c | 346 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/x86/include/asm/ |
D | pirq_routing.h | 29 u8 devfn; /* Device and function number */ member
|
/external/u-boot/arch/x86/cpu/ |
D | irq.c | 128 if (slot->bus == bus && slot->devfn == (device << 3)) in check_dup_entry() 140 slot->devfn = (device << 3) | 0; in fill_irq_info()
|
/external/u-boot/include/ |
D | pci.h | 502 #define PCI_ADD_BUS(bus, devfn) (((bus) << 16) | (devfn)) argument 836 int devfn; member
|
/external/u-boot/drivers/misc/ |
D | swap_case.c | 61 return plat->devfn; in sandbox_swap_case_get_devfn()
|
/external/ltp/testcases/kernel/device-drivers/usb/tusb/ |
D | tusb.c | 359 printk("tusb: Slot number: %d\n", pdev->devfn); in test_find_hcd()
|
/external/ltp/testcases/kernel/device-drivers/pci/tpci_kernel/ |
D | ltp_tpci.c | 324 int ret, num = ltp_pci.dev->devfn; in test_slot_scan()
|
/external/compiler-rt/include/sanitizer/ |
D | linux_syscall_hooks.h | 1399 #define __sanitizer_syscall_pre_pciconfig_iobase(which, bus, devfn) \ argument 1401 (long)(devfn)) 1402 #define __sanitizer_syscall_post_pciconfig_iobase(res, which, bus, devfn) \ argument 1404 (long)(bus), (long)(devfn)) 2801 long devfn); 2803 long bus, long devfn);
|
/external/syzkaller/sys/linux/ |
D | kvm.txt | 454 devfn int32
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_common_syscalls.inc | 2217 PRE_SYSCALL(pciconfig_iobase)(long which, long bus, long devfn) {} 2219 POST_SYSCALL(pciconfig_iobase)(long res, long which, long bus, long devfn) {}
|