Home
last modified time | relevance | path

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

/openbmc/linux/drivers/dma/qcom/
H A Dgpi.c338 #define IS_CHAN_CMD(_cmd) ((_cmd) <= GPI_CH_CMD_END) macro
696 if (IS_CHAN_CMD(gpi_cmd)) in gpi_send_cmd()
706 cmd_reg = IS_CHAN_CMD(gpi_cmd) ? gchan->ch_cmd_reg : gpii->ev_cmd_reg; in gpi_send_cmd()
707 cmd = IS_CHAN_CMD(gpi_cmd) ? GPII_n_CH_CMD(gpi_cmd_info[gpi_cmd].opcode, chid) : in gpi_send_cmd()
722 if (IS_CHAN_CMD(gpi_cmd) && gchan->ch_state == gpi_cmd_info[gpi_cmd].state) in gpi_send_cmd()
725 if (!IS_CHAN_CMD(gpi_cmd) && gpii->ev_state == gpi_cmd_info[gpi_cmd].state) in gpi_send_cmd()