Lines Matching refs:cmd

84 static __always_inline int mbox_prepare_cmd_only(u8 id, u32 cmd,  in mbox_prepare_cmd_only()  argument
95 if (cmd > MBOX_MAX_CMD_INDEX) in mbox_prepare_cmd_only()
99 (is_indirect) ? 1 : 0, cmd); in mbox_prepare_cmd_only()
107 static __always_inline int mbox_send_cmd_only_common(u8 id, u32 cmd, in mbox_send_cmd_only_common() argument
111 int ret = mbox_prepare_cmd_only(id, cmd, is_indirect, len, arg); in mbox_send_cmd_only_common()
150 static __always_inline int mbox_send_cmd_common(u8 id, u32 cmd, u8 is_indirect, in mbox_send_cmd_common() argument
167 MBOX_WRITEL(cmd, MBOX_URG); in mbox_send_cmd_common()
169 ret = mbox_prepare_cmd_only(id, cmd, is_indirect, len, arg); in mbox_send_cmd_common()
346 static __always_inline int mbox_get_fpga_config_status_common(u32 cmd) in mbox_get_fpga_config_status_common() argument
353 ret = mbox_send_cmd_common(MBOX_ID_UBOOT, cmd, in mbox_get_fpga_config_status_common()
383 int mbox_get_fpga_config_status(u32 cmd) in mbox_get_fpga_config_status() argument
385 return mbox_get_fpga_config_status_common(cmd); in mbox_get_fpga_config_status()
388 int __secure mbox_get_fpga_config_status_psci(u32 cmd) in mbox_get_fpga_config_status_psci() argument
390 return mbox_get_fpga_config_status_common(cmd); in mbox_get_fpga_config_status_psci()
393 int mbox_send_cmd(u8 id, u32 cmd, u8 is_indirect, u32 len, u32 *arg, in mbox_send_cmd() argument
396 return mbox_send_cmd_common(id, cmd, is_indirect, len, arg, urgent, in mbox_send_cmd()
400 int __secure mbox_send_cmd_psci(u8 id, u32 cmd, u8 is_indirect, u32 len, in mbox_send_cmd_psci() argument
404 return mbox_send_cmd_common(id, cmd, is_indirect, len, arg, urgent, in mbox_send_cmd_psci()
408 int mbox_send_cmd_only(u8 id, u32 cmd, u8 is_indirect, u32 len, u32 *arg) in mbox_send_cmd_only() argument
410 return mbox_send_cmd_only_common(id, cmd, is_indirect, len, arg); in mbox_send_cmd_only()
413 int __secure mbox_send_cmd_only_psci(u8 id, u32 cmd, u8 is_indirect, u32 len, in mbox_send_cmd_only_psci() argument
416 return mbox_send_cmd_only_common(id, cmd, is_indirect, len, arg); in mbox_send_cmd_only_psci()