Lines Matching refs:hl_ctx
100 struct hl_ctx *ctx;
449 struct hl_ctx *ctx;
804 int (*ctx_init)(struct hl_ctx *ctx);
879 struct hl_ctx { struct
969 struct hl_ctx *ctx;
1195 struct hl_ctx *ctx;
1475 int (*ctx_init)(struct hl_ctx *ctx);
1476 void (*ctx_fini)(struct hl_ctx *ctx);
1477 int (*map)(struct hl_ctx *ctx,
1480 int (*unmap)(struct hl_ctx *ctx,
1482 void (*flush)(struct hl_ctx *ctx);
1483 void (*swap_out)(struct hl_ctx *ctx);
1484 void (*swap_in)(struct hl_ctx *ctx);
1612 struct hl_ctx *kernel_ctx;
1648 struct hl_ctx *compute_ctx;
1831 void hl_ctx_free(struct hl_device *hdev, struct hl_ctx *ctx);
1832 int hl_ctx_init(struct hl_device *hdev, struct hl_ctx *ctx, bool is_kernel_ctx);
1834 void hl_ctx_get(struct hl_device *hdev, struct hl_ctx *ctx);
1835 int hl_ctx_put(struct hl_ctx *ctx);
1836 struct hl_fence *hl_ctx_get_fence(struct hl_ctx *ctx, u64 seq);
1861 struct hl_ctx *ctx, u32 cb_size, bool internal_cb,
1874 int hl_cb_va_pool_init(struct hl_ctx *ctx);
1875 void hl_cb_va_pool_fini(struct hl_ctx *ctx);
1887 int hl_vm_ctx_init(struct hl_ctx *ctx);
1888 void hl_vm_ctx_fini(struct hl_ctx *ctx);
1904 int hl_mmu_ctx_init(struct hl_ctx *ctx);
1905 void hl_mmu_ctx_fini(struct hl_ctx *ctx);
1906 int hl_mmu_map(struct hl_ctx *ctx, u64 virt_addr, u64 phys_addr,
1908 int hl_mmu_unmap(struct hl_ctx *ctx, u64 virt_addr, u32 page_size,
1910 void hl_mmu_swap_out(struct hl_ctx *ctx);
1911 void hl_mmu_swap_in(struct hl_ctx *ctx);
1993 void hl_debugfs_add_ctx_mem_hash(struct hl_device *hdev, struct hl_ctx *ctx);
1994 void hl_debugfs_remove_ctx_mem_hash(struct hl_device *hdev, struct hl_ctx *ctx);
2059 struct hl_ctx *ctx) in hl_debugfs_add_ctx_mem_hash()
2064 struct hl_ctx *ctx) in hl_debugfs_remove_ctx_mem_hash()