Searched refs:cb_handle (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/drivers/misc/habanalabs/common/ |
D | command_buffer.c | 349 int hl_cb_destroy(struct hl_device *hdev, struct hl_cb_mgr *mgr, u64 cb_handle) in hl_cb_destroy() argument 359 cb_handle >>= PAGE_SHIFT; in hl_cb_destroy() 360 handle = (u32) cb_handle; in hl_cb_destroy() 408 args->out.cb_handle = handle; in hl_cb_ioctl() 413 args->in.cb_handle); in hl_cb_ioctl() 585 u64 cb_handle; in hl_cb_kernel_create() local 590 internal_cb, false, &cb_handle); in hl_cb_kernel_create() 597 cb_handle >>= PAGE_SHIFT; in hl_cb_kernel_create() 598 cb = hl_cb_get(hdev, &hdev->kernel_cb_mgr, (u32) cb_handle); in hl_cb_kernel_create() 600 WARN(!cb, "Kernel CB handle invalid 0x%x\n", (u32) cb_handle); in hl_cb_kernel_create() [all …]
|
D | command_submission.c | 561 u32 cb_handle; in get_cb_from_cs_chunk() local 563 cb_handle = (u32) (chunk->cb_handle >> PAGE_SHIFT); in get_cb_from_cs_chunk() 565 cb = hl_cb_get(hdev, cb_mgr, cb_handle); in get_cb_from_cs_chunk() 567 dev_err(hdev->dev, "CB handle 0x%x invalid\n", cb_handle); in get_cb_from_cs_chunk() 678 cb = (struct hl_cb *) (uintptr_t) chunk->cb_handle; in cs_ioctl_default()
|
D | habanalabs.h | 1863 int hl_cb_destroy(struct hl_device *hdev, struct hl_cb_mgr *mgr, u64 cb_handle);
|
/Linux-v5.10/include/uapi/misc/ |
D | habanalabs.h | 470 __u64 cb_handle; member 485 __u64 cb_handle; member 508 __u64 cb_handle; member
|