Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/soc/mediatek/
Dmtk-cmdq-helper.c118 if (unlikely(pkt->cmd_buf_size + CMDQ_INST_SIZE > pkt->buf_size)) { in cmdq_pkt_append_command()
127 pkt->cmd_buf_size += CMDQ_INST_SIZE; in cmdq_pkt_append_command()
132 cmd_ptr = pkt->va_base + pkt->cmd_buf_size; in cmdq_pkt_append_command()
134 pkt->cmd_buf_size += CMDQ_INST_SIZE; in cmdq_pkt_append_command()
226 pkt->cmd_buf_size, DMA_TO_DEVICE); in cmdq_pkt_flush_async_cb()
250 pkt->cmd_buf_size, DMA_TO_DEVICE); in cmdq_pkt_flush_async()
/Linux-v5.4/drivers/mailbox/
Dmtk-cmdq-mailbox.c21 #define CMDQ_NUM_CMD(t) (t->cmd_buf_size / CMDQ_INST_SIZE)
156 prev_task->pkt->cmd_buf_size, DMA_TO_DEVICE); in cmdq_task_insert_into_thread()
160 prev_task->pkt->cmd_buf_size, DMA_TO_DEVICE); in cmdq_task_insert_into_thread()
181 dma_sync_single_for_cpu(dev, task->pa_base, task->pkt->cmd_buf_size, in cmdq_task_remove_wfe()
187 dma_sync_single_for_device(dev, task->pa_base, task->pkt->cmd_buf_size, in cmdq_task_remove_wfe()
264 task_end_pa = task->pa_base + task->pkt->cmd_buf_size; in cmdq_thread_irq_handler()
377 writel(task->pa_base + pkt->cmd_buf_size, in cmdq_mbox_send_data()
417 writel(task->pa_base + pkt->cmd_buf_size, in cmdq_mbox_send_data()
/Linux-v5.4/include/linux/mailbox/
Dmtk-cmdq-mailbox.h73 size_t cmd_buf_size; /* command occupied size */ member
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Dpsp_gfx_if.h351 uint32_t cmd_buf_size; /* +8 command buffer size in bytes */ member