Home
last modified time | relevance | path

Searched refs:cb_args (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/accel/habanalabs/common/
H A Dcommand_buffer.c189 if (!cb_args->internal_cb) { in hl_cb_mmap_mem_alloc()
191 if (cb_args->cb_size < PAGE_SIZE) in hl_cb_mmap_mem_alloc()
192 cb_args->cb_size = PAGE_SIZE; in hl_cb_mmap_mem_alloc()
195 cb_args->cb_size <= cb_args->hdev->asic_prop.cb_pool_cb_size) { in hl_cb_mmap_mem_alloc()
212 cb = hl_cb_alloc(cb_args->hdev, cb_args->cb_size, ctx_id, cb_args->internal_cb); in hl_cb_mmap_mem_alloc()
217 cb->hdev = cb_args->hdev; in hl_cb_mmap_mem_alloc()
218 cb->ctx = cb_args->ctx; in hl_cb_mmap_mem_alloc()
225 if (cb_args->map_cb) { in hl_cb_mmap_mem_alloc()
227 dev_err(cb_args->hdev->dev, in hl_cb_mmap_mem_alloc()
233 rc = cb_map_mem(cb_args->ctx, cb); in hl_cb_mmap_mem_alloc()
[all …]