Lines Matching refs:cmd
23 static bool cs35l45_check_cspl_mbox_sts(const enum cs35l45_cspl_mboxcmd cmd, in cs35l45_check_cspl_mbox_sts() argument
26 switch (cmd) { in cs35l45_check_cspl_mbox_sts()
48 const enum cs35l45_cspl_mboxcmd cmd) in cs35l45_set_cspl_mbox_cmd() argument
59 ret = regmap_write(regmap, CS35L45_DSP_VIRT1_MBOX_1, cmd); in cs35l45_set_cspl_mbox_cmd()
61 if (cmd != CSPL_MBOX_CMD_OUT_OF_HIBERNATE) in cs35l45_set_cspl_mbox_cmd()
76 if (!cs35l45_check_cspl_mbox_sts(cmd, sts)) in cs35l45_set_cspl_mbox_cmd()
77 dev_dbg(cs35l45->dev, "[%u] cmd %u returned invalid sts %u", i, cmd, sts); in cs35l45_set_cspl_mbox_cmd()
82 if (cmd != CSPL_MBOX_CMD_OUT_OF_HIBERNATE) in cs35l45_set_cspl_mbox_cmd()
83 dev_err(cs35l45->dev, "Failed to set mailbox cmd %u (status %u)\n", cmd, sts); in cs35l45_set_cspl_mbox_cmd()
975 const unsigned int cmd, in cs35l45_dsp_virt2_mbox3_irq_handle() argument
980 switch (cmd) { in cs35l45_dsp_virt2_mbox3_irq_handle()
1001 dev_err(cs35l45->dev, "MBOX event not supported %u\n", cmd); in cs35l45_dsp_virt2_mbox3_irq_handle()