drivers: i3c: shell: add ibi disable/enable commands #151446
compliance.yml
on: pull_request
Run compliance checks on patch series (PR)
2m 16s
Annotations
1 error, 1 warning, and 1 notice
Run compliance checks on patch series (PR)
Process completed with exit code 1.
|
Run compliance checks on patch series (PR):
ClangFormat.txt#L1
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
You may want to run clang-format on this change:
-SHELL_STATIC_SUBCMD_SET_CREATE(
- sub_i3c_ibi_cmds,
- SHELL_CMD_ARG(hj, &dsub_i3c_device_name,
- "Send IBI HJ\n"
- "Usage: ibi hj <device>",
- cmd_i3c_ibi_hj, 2, 0),
- SHELL_CMD_ARG(tir, &dsub_i3c_device_name,
- "Send IBI TIR\n"
- "Usage: ibi tir <device> [<byte1>, ...]",
- cmd_i3c_ibi_tir, 2, MAX_I3C_BYTES),
- SHELL_CMD_ARG(cr, &dsub_i3c_device_name,
- "Send IBI CR\n"
- "Usage: ibi cr <device>",
- cmd_i3c_ibi_cr, 2, 0),
- SHELL_CMD_ARG(enable, &dsub_i3c_device_attached_name,
- "Enable receiving IBI from target\n"
- "Usage: ibi enable <device> <target>",
- cmd_i3c_ibi_enable, 3, 0),
- SHELL_CMD_ARG(disable, &dsub_i3c_device_attached_name,
- "Disable receiving IBI from target\n"
- "Usage: ibi disable <device> <target>",
- cmd_i3c_ibi_disable, 3, 0),
- SHELL_SUBCMD_SET_END /* Array terminated. */
+SHELL_STATIC_SUBCMD_SET_CREATE(sub_i3c_ibi_cmds,
+ SHELL_CMD_ARG(hj, &dsub_i3c_device_name,
+ "Send IBI HJ\n"
+ "Usage: ibi hj <device>",
+ cmd_i3c_ibi_hj, 2, 0),
+ SHELL_CMD_ARG(tir, &dsub_i3c_device_name,
+ "Send IBI TIR\n"
+ "Usage: ibi tir <device> [<byte1>, ...]",
+ cmd_i3c_ibi_tir, 2, MAX_I3C_BYTES),
+ SHELL_CMD_ARG(cr, &dsub_i3c_device_name,
+ "Send IBI CR\n"
+ "Usage: ibi cr <device>",
+ cmd_i3c_ibi_cr, 2, 0),
+ SHELL_CMD_ARG(enable, &dsub_i3c_device_attached_name,
+ "Enable receiving IBI from target\n"
+ "Usage: ibi enable <device> <target>",
+ cmd_i3c_ibi_enable, 3, 0),
+ SHELL_CMD_ARG(disable, &dsub_i3c_device_attached_name,
+ "Disable receiving IBI from target\n"
+ "Usage: ibi disable <device> <target>",
+ cmd_i3c_ibi_disable, 3, 0),
+ SHELL_SUBCMD_SET_END /* Array terminated. */
File:drivers/i3c/i3c_shell.c
Line:2092
|
You may want to run clang-format on this change:
drivers/i3c/i3c_shell.c#L2092
drivers/i3c/i3c_shell.c:2092
-SHELL_STATIC_SUBCMD_SET_CREATE(
- sub_i3c_ibi_cmds,
- SHELL_CMD_ARG(hj, &dsub_i3c_device_name,
- "Send IBI HJ\n"
- "Usage: ibi hj <device>",
- cmd_i3c_ibi_hj, 2, 0),
- SHELL_CMD_ARG(tir, &dsub_i3c_device_name,
- "Send IBI TIR\n"
- "Usage: ibi tir <device> [<byte1>, ...]",
- cmd_i3c_ibi_tir, 2, MAX_I3C_BYTES),
- SHELL_CMD_ARG(cr, &dsub_i3c_device_name,
- "Send IBI CR\n"
- "Usage: ibi cr <device>",
- cmd_i3c_ibi_cr, 2, 0),
- SHELL_CMD_ARG(enable, &dsub_i3c_device_attached_name,
- "Enable receiving IBI from target\n"
- "Usage: ibi enable <device> <target>",
- cmd_i3c_ibi_enable, 3, 0),
- SHELL_CMD_ARG(disable, &dsub_i3c_device_attached_name,
- "Disable receiving IBI from target\n"
- "Usage: ibi disable <device> <target>",
- cmd_i3c_ibi_disable, 3, 0),
- SHELL_SUBCMD_SET_END /* Array terminated. */
+SHELL_STATIC_SUBCMD_SET_CREATE(sub_i3c_ibi_cmds,
+ SHELL_CMD_ARG(hj, &dsub_i3c_device_name,
+ "Send IBI HJ\n"
+ "Usage: ibi hj <device>",
+ cmd_i3c_ibi_hj, 2, 0),
+ SHELL_CMD_ARG(tir, &dsub_i3c_device_name,
+ "Send IBI TIR\n"
+ "Usage: ibi tir <device> [<byte1>, ...]",
+ cmd_i3c_ibi_tir, 2, MAX_I3C_BYTES),
+ SHELL_CMD_ARG(cr, &dsub_i3c_device_name,
+ "Send IBI CR\n"
+ "Usage: ibi cr <device>",
+ cmd_i3c_ibi_cr, 2, 0),
+ SHELL_CMD_ARG(enable, &dsub_i3c_device_attached_name,
+ "Enable receiving IBI from target\n"
+ "Usage: ibi enable <device> <target>",
+ cmd_i3c_ibi_enable, 3, 0),
+ SHELL_CMD_ARG(disable, &dsub_i3c_device_attached_name,
+ "Disable receiving IBI from target\n"
+ "Usage: ibi disable <device> <target>",
+ cmd_i3c_ibi_disable, 3, 0),
+ SHELL_SUBCMD_SET_END /* Array terminated. */
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
compliance.xml
|
1008 Bytes |
|