Searched refs:mm_tx (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/drivers/accel/ivpu/ |
D | ivpu_ipc.c | 80 tx_buf_vpu_addr = gen_pool_alloc(ipc->mm_tx, sizeof(*tx_buf)); in ivpu_ipc_tx_prepare() 89 gen_pool_free(ipc->mm_tx, tx_buf_vpu_addr, sizeof(*tx_buf)); in ivpu_ipc_tx_prepare() 133 gen_pool_free(ipc->mm_tx, vpu_addr, sizeof(struct ivpu_ipc_tx_buf)); in ivpu_ipc_tx_release() 436 ipc->mm_tx = devm_gen_pool_create(vdev->drm.dev, __ffs(IVPU_IPC_ALIGNMENT), in ivpu_ipc_init() 438 if (IS_ERR(ipc->mm_tx)) { in ivpu_ipc_init() 439 ret = PTR_ERR(ipc->mm_tx); in ivpu_ipc_init() 440 ivpu_err(vdev, "Failed to create gen pool, %pe\n", ipc->mm_tx); in ivpu_ipc_init() 444 ret = gen_pool_add(ipc->mm_tx, ipc->mem_tx->vpu_addr, ipc->mem_tx->base.size, -1); in ivpu_ipc_init()
|
D | ivpu_ipc.h | 57 struct gen_pool *mm_tx; member
|