Searched refs:kernel_ctx (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/drivers/accel/habanalabs/common/ |
D | device.c | 1806 if (hdev->kernel_ctx && hl_ctx_put(hdev->kernel_ctx) == 1) in hl_device_reset() 1807 hdev->kernel_ctx = NULL; in hl_device_reset() 1852 if (hdev->kernel_ctx) { in hl_device_reset() 1868 hdev->kernel_ctx = kzalloc(sizeof(*hdev->kernel_ctx), in hl_device_reset() 1870 if (!hdev->kernel_ctx) { in hl_device_reset() 1878 rc = hl_ctx_init(hdev, hdev->kernel_ctx, true); in hl_device_reset() 1882 kfree(hdev->kernel_ctx); in hl_device_reset() 1883 hdev->kernel_ctx = NULL; in hl_device_reset() 2292 hdev->kernel_ctx = kzalloc(sizeof(*hdev->kernel_ctx), GFP_KERNEL); in hl_device_init() 2293 if (!hdev->kernel_ctx) { in hl_device_init() [all …]
|
D | command_buffer.c | 451 rc = hl_cb_create(hdev, &hdev->kernel_mem_mgr, hdev->kernel_ctx, cb_size, in hl_cb_kernel_create()
|
D | debugfs.c | 430 ctx = hdev->kernel_ctx; in mmu_show()
|
D | habanalabs.h | 3441 struct hl_ctx *kernel_ctx; member
|
/linux-6.12.1/drivers/accel/habanalabs/goya/ |
D | goya.c | 3990 rc = hl_cb_create(hdev, &hdev->kernel_mem_mgr, hdev->kernel_ctx, in goya_parse_cb_mmu() 4060 rc = hl_cb_create(hdev, &hdev->kernel_mem_mgr, hdev->kernel_ctx, in goya_parse_cb_no_mmu() 4898 rc = hl_mmu_map_page(hdev->kernel_ctx, in goya_mmu_add_mappings_for_device_cpu() 4910 rc = hl_mmu_map_page(hdev->kernel_ctx, in goya_mmu_add_mappings_for_device_cpu() 4923 rc = hl_mmu_map_page(hdev->kernel_ctx, in goya_mmu_add_mappings_for_device_cpu() 4950 if (hl_mmu_unmap_page(hdev->kernel_ctx, in goya_mmu_add_mappings_for_device_cpu() 4958 if (hl_mmu_unmap_page(hdev->kernel_ctx, in goya_mmu_add_mappings_for_device_cpu() 4984 if (hl_mmu_unmap_page(hdev->kernel_ctx, in goya_mmu_remove_device_cpu_mappings() 4991 if (hl_mmu_unmap_page(hdev->kernel_ctx, in goya_mmu_remove_device_cpu_mappings() 5001 if (hl_mmu_unmap_page(hdev->kernel_ctx, in goya_mmu_remove_device_cpu_mappings()
|
/linux-6.12.1/drivers/accel/habanalabs/gaudi/ |
D | gaudi.c | 5349 rc = hl_cb_create(hdev, &hdev->kernel_mem_mgr, hdev->kernel_ctx, in gaudi_parse_cb_mmu() 5425 rc = hl_cb_create(hdev, &hdev->kernel_mem_mgr, hdev->kernel_ctx, in gaudi_parse_cb_no_mmu()
|