Searched refs:kernel_ctx (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/misc/habanalabs/common/ |
| A D | device.c | 1144 if (hdev->kernel_ctx && hl_ctx_put(hdev->kernel_ctx) == 1) in hl_device_reset() 1145 hdev->kernel_ctx = NULL; in hl_device_reset() 1184 if (hdev->kernel_ctx) { in hl_device_reset() 1199 hdev->kernel_ctx = kzalloc(sizeof(*hdev->kernel_ctx), in hl_device_reset() 1201 if (!hdev->kernel_ctx) { in hl_device_reset() 1213 kfree(hdev->kernel_ctx); in hl_device_reset() 1214 hdev->kernel_ctx = NULL; in hl_device_reset() 1452 hdev->kernel_ctx = kzalloc(sizeof(*hdev->kernel_ctx), GFP_KERNEL); in hl_device_init() 1453 if (!hdev->kernel_ctx) { in hl_device_init() 1470 kfree(hdev->kernel_ctx); in hl_device_init() [all …]
|
| A D | command_buffer.c | 632 rc = hl_cb_create(hdev, &hdev->kernel_cb_mgr, hdev->kernel_ctx, cb_size, in hl_cb_kernel_create()
|
| A D | debugfs.c | 408 ctx = hdev->kernel_ctx; in mmu_show()
|
| A D | habanalabs.h | 2530 struct hl_ctx *kernel_ctx; member
|
| /linux/drivers/misc/habanalabs/goya/ |
| A D | goya.c | 3957 rc = hl_cb_create(hdev, &hdev->kernel_cb_mgr, hdev->kernel_ctx, in goya_parse_cb_mmu() 4031 rc = hl_cb_create(hdev, &hdev->kernel_cb_mgr, hdev->kernel_ctx, in goya_parse_cb_no_mmu() 5073 rc = hl_mmu_map_page(hdev->kernel_ctx, in goya_mmu_add_mappings_for_device_cpu() 5085 rc = hl_mmu_map_page(hdev->kernel_ctx, in goya_mmu_add_mappings_for_device_cpu() 5098 rc = hl_mmu_map_page(hdev->kernel_ctx, in goya_mmu_add_mappings_for_device_cpu() 5125 if (hl_mmu_unmap_page(hdev->kernel_ctx, in goya_mmu_add_mappings_for_device_cpu() 5133 if (hl_mmu_unmap_page(hdev->kernel_ctx, in goya_mmu_add_mappings_for_device_cpu() 5159 if (hl_mmu_unmap_page(hdev->kernel_ctx, in goya_mmu_remove_device_cpu_mappings() 5166 if (hl_mmu_unmap_page(hdev->kernel_ctx, in goya_mmu_remove_device_cpu_mappings() 5176 if (hl_mmu_unmap_page(hdev->kernel_ctx, in goya_mmu_remove_device_cpu_mappings()
|
| /linux/drivers/misc/habanalabs/gaudi/ |
| A D | gaudi.c | 5629 rc = hl_cb_create(hdev, &hdev->kernel_cb_mgr, hdev->kernel_ctx, in gaudi_parse_cb_mmu() 5703 rc = hl_cb_create(hdev, &hdev->kernel_cb_mgr, hdev->kernel_ctx, in gaudi_parse_cb_no_mmu()
|
Completed in 47 milliseconds