Searched refs:cmd_buf_size (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.4/drivers/soc/mediatek/ |
D | mtk-cmdq-helper.c | 118 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/ |
D | mtk-cmdq-mailbox.c | 21 #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/ |
D | mtk-cmdq-mailbox.h | 73 size_t cmd_buf_size; /* command occupied size */ member
|
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/ |
D | psp_gfx_if.h | 351 uint32_t cmd_buf_size; /* +8 command buffer size in bytes */ member
|