Home
last modified time | relevance | path

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

/linux/drivers/dma/amd/ptdma/
H A Dptdma.h87 #define CMD_Q_LEN 32 macro
94 #define QUEUE_SIZE_VAL ((ffs(CMD_Q_LEN) - 2) & \
98 #define Q_SIZE(n) (CMD_Q_LEN * (n))
H A Dptdma-dmaengine.c127 ae4cmd_q->tail_wi = (ae4cmd_q->tail_wi + 1) % CMD_Q_LEN; in ae4_core_execute_cmd()
286 if (ae4cmd_q->q_cmd_count >= (CMD_Q_LEN - 1) || in pt_cmd_callback()
480 for (i = 0; i < CMD_Q_LEN; i++) in pt_check_status_trans_ae4()
H A Dptdma-debugfs.c35 seq_printf(s, " # Cmds per queue: %d\n", CMD_Q_LEN); in pt_debugfs_info_show()
H A Dptdma-dev.c84 cmd_q->qidx = (cmd_q->qidx + 1) % CMD_Q_LEN; in pt_core_execute_cmd()
/linux/drivers/dma/amd/ae4dma/
H A Dae4dma-dev.c41 ae4cmd_q->dridx = (ae4cmd_q->dridx + 1) % CMD_Q_LEN; in ae4_pending_work()
130 writel(CMD_Q_LEN, cmd_q->reg_control + AE4_MAX_IDX_OFF); in ae4_core_init()