/openbmc/linux/include/asm-generic/ |
H A D | topology.h | 54 #ifndef pcibus_to_node 55 #define pcibus_to_node(bus) ((void)(bus), -1) macro 59 #define cpumask_of_pcibus(bus) (pcibus_to_node(bus) == -1 ? \ 61 cpumask_of_node(pcibus_to_node(bus)))
|
/openbmc/linux/arch/sparc/include/asm/ |
H A D | topology_64.h | 20 int pcibus_to_node(struct pci_bus *pbus); 22 static inline int pcibus_to_node(struct pci_bus *pbus) in pcibus_to_node() function 29 (pcibus_to_node(bus) == -1 ? \ 31 cpumask_of_node(pcibus_to_node(bus)))
|
/openbmc/linux/arch/riscv/include/asm/ |
H A D | pci.h | 19 static inline int pcibus_to_node(struct pci_bus *bus) in pcibus_to_node() function 24 #define cpumask_of_pcibus(bus) (pcibus_to_node(bus) == -1 ? \ 26 cpumask_of_node(pcibus_to_node(bus)))
|
/openbmc/linux/arch/sh/include/asm/ |
H A D | topology.h | 11 #define pcibus_to_node(bus) ((void)(bus), -1) macro 12 #define cpumask_of_pcibus(bus) (pcibus_to_node(bus) == -1 ? \ 14 cpumask_of_node(pcibus_to_node(bus)))
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | topology.h | 10 int pcibus_to_node(struct pci_bus *bus); 11 #define cpumask_of_pcibus(bus) (pcibus_to_node(bus) == -1 ? \ 13 cpumask_of_node(pcibus_to_node(bus)))
|
/openbmc/linux/arch/mips/pci/ |
H A D | pci-ip27.c | 18 int pcibus_to_node(struct pci_bus *bus) in pcibus_to_node() function 24 EXPORT_SYMBOL(pcibus_to_node); 29 int nasid = pcibus_to_node(dev->bus); in ip29_fixup_phy()
|
/openbmc/linux/arch/ia64/include/asm/ |
H A D | topology.h | 35 #define pcibus_to_node(bus) PCI_CONTROLLER(bus)->node macro 50 #define cpumask_of_pcibus(bus) (pcibus_to_node(bus) == -1 ? \ 52 cpumask_of_node(pcibus_to_node(bus)))
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | topology.h | 27 extern int pcibus_to_node(struct pci_bus *bus); 29 static inline int pcibus_to_node(struct pci_bus *bus) in pcibus_to_node() function 35 #define cpumask_of_pcibus(bus) (pcibus_to_node(bus) == -1 ? \ 37 cpumask_of_node(pcibus_to_node(bus)))
|
/openbmc/linux/arch/mips/include/asm/mach-ip27/ |
H A D | topology.h | 21 extern int pcibus_to_node(struct pci_bus *); 23 #define cpumask_of_pcibus(bus) (cpumask_of_node(pcibus_to_node(bus)))
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | topology.h | 17 extern int pcibus_to_node(struct pci_bus *); 28 #define pcibus_to_node(bus) 0 macro
|
/openbmc/linux/arch/mips/include/asm/mach-loongson64/ |
H A D | topology.h | 13 extern int pcibus_to_node(struct pci_bus *);
|
/openbmc/linux/arch/mips/loongson64/ |
H A D | numa.c | 187 int pcibus_to_node(struct pci_bus *bus) in pcibus_to_node() function 191 EXPORT_SYMBOL(pcibus_to_node);
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | pci_64.c | 281 int pcibus_to_node(struct pci_bus *bus) in pcibus_to_node() function 286 EXPORT_SYMBOL(pcibus_to_node);
|
H A D | pci-common.c | 1061 set_dev_node(&dev->dev, pcibus_to_node(dev->bus)); in pcibios_bus_add_device()
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | pci.c | 57 int pcibus_to_node(struct pci_bus *bus) in pcibus_to_node() function 61 EXPORT_SYMBOL(pcibus_to_node);
|
/openbmc/linux/arch/s390/include/asm/ |
H A D | topology.h | 87 #define pcibus_to_node(bus) __pcibus_to_node(bus) macro
|
/openbmc/linux/arch/loongarch/kernel/ |
H A D | numa.c | 443 int pcibus_to_node(struct pci_bus *bus) in pcibus_to_node() function 447 EXPORT_SYMBOL(pcibus_to_node);
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | topology.h | 78 #define pcibus_to_node(bus) __pcibus_to_node(bus) macro
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | pci.c | 767 int pcibus_to_node(struct pci_bus *pbus) in pcibus_to_node() function 773 EXPORT_SYMBOL(pcibus_to_node);
|
/openbmc/linux/arch/x86/kernel/ |
H A D | quirks.c | 550 node = pcibus_to_node(dev->bus) | (val & 7); in quirk_amd_nb_node()
|
/openbmc/linux/arch/x86/events/intel/ |
H A D | uncore_discovery.c | 36 int node = pcibus_to_node(dev->bus); in get_device_die_id()
|
/openbmc/linux/drivers/pci/ |
H A D | probe.c | 943 set_dev_node(bus->bridge, pcibus_to_node(bus)); in pci_register_host_bridge() 971 if (nr_node_ids > 1 && pcibus_to_node(bus) == NUMA_NO_NODE) in pci_register_host_bridge() 2548 set_dev_node(&dev->dev, pcibus_to_node(bus)); in pci_device_add()
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | affinity.c | 159 node = pcibus_to_node(dev->bus); in node_affinity_init()
|
/openbmc/linux/drivers/pci/controller/ |
H A D | vmd.c | 877 sd->node = pcibus_to_node(vmd->dev->bus); in vmd_enable_domain()
|
/openbmc/linux/drivers/infiniband/hw/qib/ |
H A D | qib_file_ops.c | 1546 if (pcibus_to_node(dd->pcidev->bus) < 0) { in find_hca() 1551 pcibus_to_node(dd->pcidev->bus)) { in find_hca()
|