Home
last modified time | relevance | path

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

/external/syslinux/gpxe/src/drivers/bus/
Dpci.c153 PCI_SLOT ( pci->devfn ), PCI_FUNC ( pci->devfn ), in adjust_pci_device()
162 PCI_SLOT ( pci->devfn ), PCI_FUNC ( pci->devfn ), in adjust_pci_device()
184 "irq %d)\n", pci->bus, PCI_SLOT ( pci->devfn ), in pci_probe()
185 PCI_FUNC ( pci->devfn ), pci->vendor, pci->device, in pci_probe()
220 PCI_SLOT ( pci->devfn ), PCI_FUNC ( pci->devfn ) ); in pci_remove()
235 unsigned int devfn; in pcibus_probe() local
242 for ( devfn = 0 ; devfn <= 0xff ; devfn++ ) { in pcibus_probe()
253 pci->devfn = devfn; in pcibus_probe()
258 if ( PCI_FUNC ( devfn ) == 0 ) { in pcibus_probe()
282 PCI_SLOT ( devfn ), PCI_FUNC ( devfn ) ); in pcibus_probe()
[all …]
/external/syslinux/gpxe/src/interface/efi/
Defi_pci.c38 return EFI_PCI_ADDRESS ( pci->bus, PCI_SLOT ( pci->devfn ), in efipci_address()
39 PCI_FUNC ( pci->devfn ), in efipci_address()
51 "failed: %s\n", pci->bus, PCI_SLOT ( pci->devfn ), in efipci_read()
52 PCI_FUNC ( pci->devfn ), EFIPCI_OFFSET ( location ), in efipci_read()
68 "failed: %s\n", pci->bus, PCI_SLOT ( pci->devfn ), in efipci_write()
69 PCI_FUNC ( pci->devfn ), EFIPCI_OFFSET ( location ), in efipci_write()
/external/kernel-headers/original/uapi/linux/
Dpci.h31 #define PCI_SLOT(devfn) (((devfn) >> 3) & 0x1f) argument
32 #define PCI_FUNC(devfn) ((devfn) & 0x07) argument
Dvfio.h460 __u8 devfn; /* Use PCI_SLOT/PCI_FUNC */ member
Dkvm.h1292 __u32 devfn; member
/external/syslinux/gpxe/src/include/gpxe/
Dpci.h307 uint8_t devfn; member
350 #define PCI_SLOT( devfn ) ( ( (devfn) >> 3 ) & 0x1f ) argument
351 #define PCI_FUNC( devfn ) ( (devfn) & 0x07 ) argument
353 #define PCI_BUSDEVFN( bus, devfn ) ( ( (bus) << 8 ) | (devfn) ) argument
/external/syslinux/gpxe/src/arch/i386/drivers/net/
Dundiload.c82 unsigned int devfn = ( undi->pci_busdevfn & 0xff ); in undi_load() local
84 bus, PCI_SLOT ( devfn ), PCI_FUNC ( devfn ) ); in undi_load()
Dundi.c69 unsigned int busdevfn = PCI_BUSDEVFN ( pci->bus, pci->devfn ); in undipci_probe()
/external/syslinux/gpxe/src/arch/i386/interface/pcbios/
Dpcibios.c76 "b" ( PCI_BUSDEVFN ( pci->bus, pci->devfn ) ) in pcibios_read()
102 "b" ( PCI_BUSDEVFN ( pci->bus, pci->devfn ) ), in pcibios_write()
/external/valgrind/include/vki/
Dvki-xen-physdev.h49 int devfn; member
/external/syslinux/gpxe/src/arch/x86/core/
Dpcidirect.c37 outl ( ( 0x80000000 | ( pci->bus << 16 ) | ( pci->devfn << 8 ) | in pcidirect_prepare()
/external/syslinux/gpxe/src/drivers/net/phantom/
Dphantom.c1746 "%08lx+%lx\n", phantom, pci->bus, PCI_SLOT ( pci->devfn ), in phantom_map_crb()
1747 PCI_FUNC ( pci->devfn ), bar0_start, bar0_size ); in phantom_map_crb()
2010 phantom->port = PCI_FUNC ( pci->devfn ); in phantom_probe()
2027 if ( PCI_FUNC ( pci->devfn ) == 0 ) { in phantom_probe()
2031 pci->devfn = PCI_DEVFN ( PCI_SLOT ( pci->devfn ), i ); in phantom_probe()
2036 pci->devfn = PCI_DEVFN ( PCI_SLOT ( pci->devfn ), 0 ); in phantom_probe()
/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/syslinux/gpxe/src/drivers/net/
Dmtnic.h708 u8 devfn; member
Dw89c840.c638 …printf("winbond-840: PCI bus %hhX device function %hhX: I/O address: %hX\n", p->bus, p->devfn, ioa… in w89c840_probe()
Dmtnic.c1019 DBG("bus=%d devfn=0x%x\n", dev->bus, dev->devfn); in mtnic_init_pci()
Dtg3.c2912 if (PCI_FUNC(tp->pdev->devfn) == 0) in tg3_get_device_address()
/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/valgrind/coregrind/m_syswrap/
Dsyswrap-xen.c486 PRE_XEN_PHYSDEVOP_READ("map_pirq", devfn); in PRE()
/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) {}