Home
last modified time | relevance | path

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

12

/openbmc/linux/include/asm-generic/
H A Dtopology.h54 #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 Dtopology_64.h20 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 Dpci.h19 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 Dtopology.h11 #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 Dtopology.h10 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 Dpci-ip27.c18 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 Dtopology.h35 #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 Dtopology.h27 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 Dtopology.h21 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 Dtopology.h17 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 Dtopology.h13 extern int pcibus_to_node(struct pci_bus *);
/openbmc/linux/arch/mips/loongson64/
H A Dnuma.c187 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 Dpci_64.c281 int pcibus_to_node(struct pci_bus *bus) in pcibus_to_node() function
286 EXPORT_SYMBOL(pcibus_to_node);
H A Dpci-common.c1061 set_dev_node(&dev->dev, pcibus_to_node(dev->bus)); in pcibios_bus_add_device()
/openbmc/linux/arch/arm64/kernel/
H A Dpci.c57 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 Dtopology.h87 #define pcibus_to_node(bus) __pcibus_to_node(bus) macro
/openbmc/linux/arch/loongarch/kernel/
H A Dnuma.c443 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 Dtopology.h78 #define pcibus_to_node(bus) __pcibus_to_node(bus) macro
/openbmc/linux/arch/sparc/kernel/
H A Dpci.c767 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 Dquirks.c550 node = pcibus_to_node(dev->bus) | (val & 7); in quirk_amd_nb_node()
/openbmc/linux/arch/x86/events/intel/
H A Duncore_discovery.c36 int node = pcibus_to_node(dev->bus); in get_device_die_id()
/openbmc/linux/drivers/pci/
H A Dprobe.c943 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 Daffinity.c159 node = pcibus_to_node(dev->bus); in node_affinity_init()
/openbmc/linux/drivers/pci/controller/
H A Dvmd.c877 sd->node = pcibus_to_node(vmd->dev->bus); in vmd_enable_domain()
/openbmc/linux/drivers/infiniband/hw/qib/
H A Dqib_file_ops.c1546 if (pcibus_to_node(dd->pcidev->bus) < 0) { in find_hca()
1551 pcibus_to_node(dd->pcidev->bus)) { in find_hca()

12