Searched refs:mm_tx (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/accel/ivpu/ |
D | ivpu_ipc.c | 74 tx_buf_vpu_addr = gen_pool_alloc(ipc->mm_tx, sizeof(*tx_buf)); in ivpu_ipc_tx_prepare() 83 gen_pool_free(ipc->mm_tx, tx_buf_vpu_addr, sizeof(*tx_buf)); in ivpu_ipc_tx_prepare() 127 gen_pool_free(ipc->mm_tx, vpu_addr, sizeof(struct ivpu_ipc_tx_buf)); in ivpu_ipc_tx_release() 485 ipc->mm_tx = devm_gen_pool_create(vdev->drm.dev, __ffs(IVPU_IPC_ALIGNMENT), in ivpu_ipc_init() 487 if (IS_ERR(ipc->mm_tx)) { in ivpu_ipc_init() 488 ret = PTR_ERR(ipc->mm_tx); in ivpu_ipc_init() 489 ivpu_err(vdev, "Failed to create gen pool, %pe\n", ipc->mm_tx); in ivpu_ipc_init() 493 ret = gen_pool_add(ipc->mm_tx, ipc->mem_tx->vpu_addr, ivpu_bo_size(ipc->mem_tx), -1); in ivpu_ipc_init()
|
D | ivpu_ipc.h | 70 struct gen_pool *mm_tx; member
|