Searched refs:gpdev (Results 1 – 4 of 4) sorted by relevance
68 struct pci_dev *gpdev; in pnv_pci_get_gpu_dev() local81 gpdev = get_pci_dev(dn); in pnv_pci_get_gpu_dev()84 return gpdev; in pnv_pci_get_gpu_dev()89 struct pci_dev *pnv_pci_get_npu_dev(struct pci_dev *gpdev, int index) in pnv_pci_get_npu_dev() argument94 if (WARN_ON(!gpdev)) in pnv_pci_get_npu_dev()98 if (!gpdev->dev.of_node) in pnv_pci_get_npu_dev()102 dn = of_parse_phandle(gpdev->dev.of_node, "ibm,npu", index); in pnv_pci_get_npu_dev()175 struct pci_dev **gpdev) in get_gpu_pci_dev_and_pe() argument195 if (gpdev) in get_gpu_pci_dev_and_pe()196 *gpdev = pdev; in get_gpu_pci_dev_and_pe()[all …]
235 extern void pnv_npu_try_dma_set_bypass(struct pci_dev *gpdev, bool bypass);
16 extern struct npu_context *pnv_npu2_init_context(struct pci_dev *gpdev,21 struct pci_dev *gpdev);29 static inline struct npu_context *pnv_npu2_init_context(struct pci_dev *gpdev, in pnv_npu2_init_context() argument34 struct pci_dev *gpdev) { } in pnv_npu2_destroy_context() argument
131 extern struct pci_dev *pnv_pci_get_npu_dev(struct pci_dev *gpdev, int index);