Searched refs:npu_context (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/arch/powerpc/platforms/powernv/ |
D | npu-dma.c | 412 struct npu_context { struct 420 void (*release_cb)(struct npu_context *context, void *priv); argument 532 #define mn_to_npu_context(x) container_of(x, struct npu_context, mn) 557 static void acquire_atsd_reg(struct npu_context *npu_context, in acquire_atsd_reg() argument 574 npdev = READ_ONCE(npu_context->npdev[i][j]); in acquire_atsd_reg() 618 static void mmio_invalidate(struct npu_context *npu_context, int va, in mmio_invalidate() argument 622 unsigned long pid = npu_context->mm->context.id; in mmio_invalidate() 624 if (npu_context->nmmu_flush) in mmio_invalidate() 630 flush_all_mm(npu_context->mm); in mmio_invalidate() 636 acquire_atsd_reg(npu_context, mmio_atsd_reg); in mmio_invalidate() [all …]
|
/Linux-v4.19/arch/powerpc/include/asm/ |
D | powernv.h | 16 extern struct npu_context *pnv_npu2_init_context(struct pci_dev *gpdev, 18 void (*cb)(struct npu_context *, void *), 20 extern void pnv_npu2_destroy_context(struct npu_context *context, 22 extern int pnv_npu2_handle_fault(struct npu_context *context, uintptr_t *ea, 29 static inline struct npu_context *pnv_npu2_init_context(struct pci_dev *gpdev, in pnv_npu2_init_context() 31 struct npu_context *(*cb)(struct npu_context *, void *), in pnv_npu2_init_context() argument 33 static inline void pnv_npu2_destroy_context(struct npu_context *context, in pnv_npu2_destroy_context() 36 static inline int pnv_npu2_handle_fault(struct npu_context *context, in pnv_npu2_handle_fault()
|
/Linux-v4.19/arch/powerpc/include/asm/book3s/64/ |
D | mmu.h | 115 struct npu_context *npu_context; member
|
/Linux-v4.19/arch/powerpc/mm/ |
D | mmu_context_book3s64.c | 111 mm->context.npu_context = NULL; in radix__init_new_context()
|