Home
last modified time | relevance | path

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

/Linux-v5.4/include/asm-generic/
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)))
/Linux-v5.4/arch/sparc/include/asm/
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)))
/Linux-v5.4/arch/arm64/include/asm/
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)))
/Linux-v5.4/arch/sh/include/asm/
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)))
/Linux-v5.4/arch/powerpc/include/asm/
Dtopology.h26 extern int pcibus_to_node(struct pci_bus *bus);
28 static inline int pcibus_to_node(struct pci_bus *bus) in pcibus_to_node() function
34 #define cpumask_of_pcibus(bus) (pcibus_to_node(bus) == -1 ? \
36 cpumask_of_node(pcibus_to_node(bus)))
/Linux-v5.4/arch/ia64/include/asm/
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)))
/Linux-v5.4/arch/mips/pci/
Dpci-ip27.c26 int pcibus_to_node(struct pci_bus *bus) in pcibus_to_node() function
32 EXPORT_SYMBOL(pcibus_to_node);
/Linux-v5.4/arch/mips/include/asm/mach-ip27/
Dtopology.h22 extern int pcibus_to_node(struct pci_bus *);
24 #define cpumask_of_pcibus(bus) (cpumask_of_node(pcibus_to_node(bus)))
/Linux-v5.4/arch/mips/include/asm/mach-loongson64/
Dtopology.h11 extern int pcibus_to_node(struct pci_bus *);
/Linux-v5.4/arch/arm64/kernel/
Dpci.c59 int pcibus_to_node(struct pci_bus *bus) in pcibus_to_node() function
63 EXPORT_SYMBOL(pcibus_to_node);
/Linux-v5.4/arch/powerpc/kernel/
Dpci_64.c263 int pcibus_to_node(struct pci_bus *bus) in pcibus_to_node() function
268 EXPORT_SYMBOL(pcibus_to_node);
Dpci-common.c973 set_dev_node(&dev->dev, pcibus_to_node(dev->bus)); in pcibios_setup_device()
/Linux-v5.4/arch/mips/loongson64/loongson-3/
Dnuma.c259 int pcibus_to_node(struct pci_bus *bus) in pcibus_to_node() function
263 EXPORT_SYMBOL(pcibus_to_node);
/Linux-v5.4/arch/s390/include/asm/
Dtopology.h84 #define pcibus_to_node(bus) __pcibus_to_node(bus) macro
/Linux-v5.4/arch/x86/include/asm/
Dtopology.h78 #define pcibus_to_node(bus) __pcibus_to_node(bus) macro
/Linux-v5.4/arch/sparc/kernel/
Dpci.c910 int pcibus_to_node(struct pci_bus *pbus) in pcibus_to_node() function
916 EXPORT_SYMBOL(pcibus_to_node);
/Linux-v5.4/drivers/infiniband/hw/hfi1/
Daffinity.c200 node = pcibus_to_node(dev->bus); in node_affinity_init()
632 int node = pcibus_to_node(dd->pcidev->bus); in hfi1_dev_affinity_init()
/Linux-v5.4/arch/x86/kernel/
Dquirks.c549 node = pcibus_to_node(dev->bus) | (val & 7); in quirk_amd_nb_node()
/Linux-v5.4/drivers/pci/controller/
Dvmd.c673 sd->node = pcibus_to_node(vmd->dev->bus); in vmd_enable_domain()
/Linux-v5.4/drivers/infiniband/hw/qib/
Dqib_file_ops.c1547 if (pcibus_to_node(dd->pcidev->bus) < 0) { in find_hca()
1552 pcibus_to_node(dd->pcidev->bus)) { in find_hca()
Dqib_init.c124 int local_node_id = pcibus_to_node(dd->pcidev->bus); in qib_create_ctxts()
/Linux-v5.4/drivers/pci/
Dprobe.c878 set_dev_node(bus->bridge, pcibus_to_node(bus)); in pci_register_host_bridge()
2395 set_dev_node(&dev->dev, pcibus_to_node(bus)); in pci_device_add()
/Linux-v5.4/drivers/block/mtip32xx/
Dmtip32xx.c4008 my_node = pcibus_to_node(pdev->bus); in mtip_pci_probe()
4017 my_node, pcibus_to_node(pdev->bus), dev_to_node(&pdev->dev), in mtip_pci_probe()
/Linux-v5.4/drivers/net/ethernet/sfc/
Defx.c1570 pcibus_to_node(efx->pci_dev->bus)); in efx_set_interrupt_affinity()