Home
last modified time | relevance | path

Searched refs:npdev (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
Dnpu-dma.c45 struct pci_dev *pnv_pci_get_gpu_dev(struct pci_dev *npdev) in pnv_pci_get_gpu_dev() argument
50 if (WARN_ON(!npdev)) in pnv_pci_get_gpu_dev()
53 if (WARN_ON(!npdev->dev.of_node)) in pnv_pci_get_gpu_dev()
57 dn = of_parse_phandle(npdev->dev.of_node, "ibm,gpu", 0); in pnv_pci_get_gpu_dev()
72 struct pci_dev *npdev; in pnv_pci_get_npu_dev() local
86 npdev = get_pci_dev(dn); in pnv_pci_get_npu_dev()
89 return npdev; in pnv_pci_get_npu_dev()
438 struct pci_dev *npdev = NULL; in pnv_try_setup_npu_table_group() local
441 npdev = pnv_pci_get_npu_dev(gpdev, 0); in pnv_try_setup_npu_table_group()
442 if (npdev) in pnv_try_setup_npu_table_group()
[all …]
/kernel/linux/linux-5.10/drivers/vfio/pci/
Dvfio_pci_nvlink2.c397 struct pci_dev *npdev = vdev->pdev; in vfio_pci_ibm_npu2_init() local
398 struct device_node *npu_node = pci_device_to_OF_node(npdev); in vfio_pci_ibm_npu2_init()
399 struct pci_controller *hose = pci_bus_to_host(npdev->bus); in vfio_pci_ibm_npu2_init()
421 nvlink_dn = of_parse_phandle(npdev->dev.of_node, "ibm,nvlink", 0); in vfio_pci_ibm_npu2_init()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dpci.h122 extern struct pci_dev *pnv_pci_get_gpu_dev(struct pci_dev *npdev);