Lines Matching refs:hl_ctx
53 static int alloc_device_memory(struct hl_ctx *ctx, struct hl_mem_in *args, in alloc_device_memory()
304 static int free_device_memory(struct hl_ctx *ctx, u32 handle) in free_device_memory()
645 static int init_phys_pg_pack_from_userptr(struct hl_ctx *ctx, in init_phys_pg_pack_from_userptr()
745 static int map_phys_page_pack(struct hl_ctx *ctx, u64 vaddr, in map_phys_page_pack()
786 static int get_paddr_from_handle(struct hl_ctx *ctx, struct hl_mem_in *args, in get_paddr_from_handle()
824 static int map_device_va(struct hl_ctx *ctx, struct hl_mem_in *args, in map_device_va()
974 static int unmap_device_va(struct hl_ctx *ctx, u64 vaddr, bool ctx_free) in unmap_device_va()
1096 struct hl_ctx *ctx = hpriv->ctx; in mem_ioctl_no_mmu()
1155 struct hl_ctx *ctx = hpriv->ctx; in hl_mem_ioctl()
1466 static int hl_vm_ctx_init_with_ranges(struct hl_ctx *ctx, u64 host_range_start, in hl_vm_ctx_init_with_ranges()
1518 int hl_vm_ctx_init(struct hl_ctx *ctx) in hl_vm_ctx_init()
1615 void hl_vm_ctx_fini(struct hl_ctx *ctx) in hl_vm_ctx_fini()