Searched refs:npdev (Results 1 – 3 of 3) sorted by relevance
45 struct pci_dev *pnv_pci_get_gpu_dev(struct pci_dev *npdev) in pnv_pci_get_gpu_dev() argument50 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() local86 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() local441 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 …]
397 struct pci_dev *npdev = vdev->pdev; in vfio_pci_ibm_npu2_init() local398 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()
122 extern struct pci_dev *pnv_pci_get_gpu_dev(struct pci_dev *npdev);