Home
last modified time | relevance | path

Searched refs:gpdev (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/arch/powerpc/platforms/powernv/
Dnpu-dma.c68 struct pci_dev *gpdev; in pnv_pci_get_gpu_dev() local
81 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() argument
94 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() argument
195 if (gpdev) in get_gpu_pci_dev_and_pe()
196 *gpdev = pdev; in get_gpu_pci_dev_and_pe()
[all …]
Dpci.h235 extern void pnv_npu_try_dma_set_bypass(struct pci_dev *gpdev, bool bypass);
/Linux-v4.19/arch/powerpc/include/asm/
Dpowernv.h16 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() argument
34 struct pci_dev *gpdev) { } in pnv_npu2_destroy_context() argument
Dpci.h131 extern struct pci_dev *pnv_pci_get_npu_dev(struct pci_dev *gpdev, int index);