Lines Matching refs:hl_ctx
73 struct hl_ctx *ctx;
644 struct hl_ctx { struct
728 struct hl_ctx *ctx;
929 struct hl_ctx *ctx;
1269 struct hl_ctx *kernel_ctx;
1302 struct hl_ctx *compute_ctx;
1461 void hl_ctx_free(struct hl_device *hdev, struct hl_ctx *ctx);
1462 int hl_ctx_init(struct hl_device *hdev, struct hl_ctx *ctx, bool is_kernel_ctx);
1464 void hl_ctx_get(struct hl_device *hdev, struct hl_ctx *ctx);
1465 int hl_ctx_put(struct hl_ctx *ctx);
1466 struct dma_fence *hl_ctx_get_fence(struct hl_ctx *ctx, u64 seq);
1508 int hl_vm_ctx_init(struct hl_ctx *ctx);
1509 void hl_vm_ctx_fini(struct hl_ctx *ctx);
1525 int hl_mmu_ctx_init(struct hl_ctx *ctx);
1526 void hl_mmu_ctx_fini(struct hl_ctx *ctx);
1527 int hl_mmu_map(struct hl_ctx *ctx, u64 virt_addr, u64 phys_addr, u32 page_size);
1528 int hl_mmu_unmap(struct hl_ctx *ctx, u64 virt_addr, u32 page_size);
1529 void hl_mmu_swap_out(struct hl_ctx *ctx);
1530 void hl_mmu_swap_in(struct hl_ctx *ctx);
1587 void hl_debugfs_add_ctx_mem_hash(struct hl_device *hdev, struct hl_ctx *ctx);
1588 void hl_debugfs_remove_ctx_mem_hash(struct hl_device *hdev, struct hl_ctx *ctx);
1653 struct hl_ctx *ctx) in hl_debugfs_add_ctx_mem_hash()
1658 struct hl_ctx *ctx) in hl_debugfs_remove_ctx_mem_hash()