Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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)))
/kernel/linux/linux-5.10/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)))
/kernel/linux/linux-5.10/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)))
/kernel/linux/linux-5.10/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)))
/kernel/linux/linux-5.10/arch/mips/pci/
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()
/kernel/linux/linux-5.10/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)))
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
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)))
/kernel/linux/linux-5.10/arch/mips/include/asm/mach-ip27/
Dtopology.h21 extern int pcibus_to_node(struct pci_bus *);
23 #define cpumask_of_pcibus(bus) (cpumask_of_node(pcibus_to_node(bus)))
/kernel/linux/linux-5.10/arch/mips/include/asm/mach-loongson64/
Dtopology.h13 extern int pcibus_to_node(struct pci_bus *);
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dpci_64.c281 int pcibus_to_node(struct pci_bus *bus) in pcibus_to_node() function
286 EXPORT_SYMBOL(pcibus_to_node);
Dpci-common.c984 set_dev_node(&dev->dev, pcibus_to_node(dev->bus)); in pcibios_bus_add_device()
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dpci.c59 int pcibus_to_node(struct pci_bus *bus) in pcibus_to_node() function
63 EXPORT_SYMBOL(pcibus_to_node);
/kernel/linux/linux-5.10/arch/mips/loongson64/
Dnuma.c241 int pcibus_to_node(struct pci_bus *bus) in pcibus_to_node() function
245 EXPORT_SYMBOL(pcibus_to_node);
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dtopology.h87 #define pcibus_to_node(bus) __pcibus_to_node(bus) macro
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dtopology.h78 #define pcibus_to_node(bus) __pcibus_to_node(bus) macro
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dpci.c910 int pcibus_to_node(struct pci_bus *pbus) in pcibus_to_node() function
916 EXPORT_SYMBOL(pcibus_to_node);
/kernel/linux/linux-5.10/arch/x86/kernel/
Dquirks.c550 node = pcibus_to_node(dev->bus) | (val & 7); in quirk_amd_nb_node()
/kernel/linux/linux-5.10/drivers/pci/controller/
Dvmd.c674 sd->node = pcibus_to_node(vmd->dev->bus); in vmd_enable_domain()
/kernel/linux/linux-5.10/drivers/pci/
Dprobe.c931 set_dev_node(bus->bridge, pcibus_to_node(bus)); in pci_register_host_bridge()
959 if (nr_node_ids > 1 && pcibus_to_node(bus) == NUMA_NO_NODE) in pci_register_host_bridge()
2485 set_dev_node(&dev->dev, pcibus_to_node(bus)); in pci_device_add()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Daffinity.c201 node = pcibus_to_node(dev->bus); in node_affinity_init()
Dinit.c1280 dd->node = pcibus_to_node(pdev->bus); in hfi1_alloc_devdata()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
Defx_channels.c357 pcibus_to_node(efx->pci_dev->bus)); in efx_set_interrupt_affinity()
/kernel/linux/linux-5.10/drivers/block/mtip32xx/
Dmtip32xx.c4009 my_node = pcibus_to_node(pdev->bus); in mtip_pci_probe()
4018 my_node, pcibus_to_node(pdev->bus), dev_to_node(&pdev->dev), in mtip_pci_probe()