Home
last modified time | relevance | path

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

/external/kernel-headers/original/uapi/linux/
Dpci.h32 #define PCI_SLOT(devfn) (((devfn) >> 3) & 0x1f) argument
33 #define PCI_FUNC(devfn) ((devfn) & 0x07) argument
Dvfio.h583 __u8 devfn; /* Use PCI_SLOT/PCI_FUNC */ member
Dkvm.h1530 __u32 devfn; member
/external/u-boot/drivers/pci/
Dpci_sandbox.c13 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()
Dpci_msc01.c36 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()
Dpci_gt64120.c49 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()
Dpci-aardvark.c122 #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))
Dpcie_intel_fpga.c39 #define TLP_REQ_ID(bus, devfn) (((bus) << 8) | (devfn)) argument
Dpci-uclass.c52 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/
Dbios_interrupts.c106 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()
Dpirq_routing.c65 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/
Dvexpress_common.c152 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/
Dgw_ventana.c510 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/
Dpci.c92 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/
Dpcie.c58 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/
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/x86/include/asm/
Dpirq_routing.h29 u8 devfn; /* Device and function number */ member
/external/u-boot/arch/x86/cpu/
Dirq.c128 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/
Dpci.h502 #define PCI_ADD_BUS(bus, devfn) (((bus) << 16) | (devfn)) argument
836 int devfn; member
/external/u-boot/drivers/misc/
Dswap_case.c61 return plat->devfn; in sandbox_swap_case_get_devfn()
/external/ltp/testcases/kernel/device-drivers/usb/tusb/
Dtusb.c359 printk("tusb: Slot number: %d\n", pdev->devfn); in test_find_hcd()
/external/ltp/testcases/kernel/device-drivers/pci/tpci_kernel/
Dltp_tpci.c324 int ret, num = ltp_pci.dev->devfn; in test_slot_scan()
/external/compiler-rt/include/sanitizer/
Dlinux_syscall_hooks.h1399 #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/
Dkvm.txt454 devfn int32
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_syscalls.inc2217 PRE_SYSCALL(pciconfig_iobase)(long which, long bus, long devfn) {}
2219 POST_SYSCALL(pciconfig_iobase)(long res, long which, long bus, long devfn) {}