Commit 6321da5263b513f1d6959fb721c33970405e6d1d
Committed by
Bin Meng
1 parent
f7ce2d6e65
Exists in
smarc_8mq_lf_v2020.04
and in
12 other branches
x86: cpu: add docstring to scu_ipc_command()
These comments were copied from the Linux kernel driver in drivers/platform/x86/intel_scu_ipc.c Signed-off-by: Georgii Staroselskii <georgii.staroselskii@emlid.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Showing 1 changed file with 11 additions and 0 deletions Side-by-side Diff
arch/x86/lib/scu.c
... | ... | @@ -180,6 +180,17 @@ |
180 | 180 | return scu_ipc_check_status(scu->regs); |
181 | 181 | } |
182 | 182 | |
183 | +/** | |
184 | + * scu_ipc_command - command with data | |
185 | + * @cmd: command | |
186 | + * @sub: sub type | |
187 | + * @in: input data | |
188 | + * @inlen: input length in dwords | |
189 | + * @out: output data | |
190 | + * @outlen: output length in dwords | |
191 | + * | |
192 | + * Issue a command to the SCU which involves data transfers. | |
193 | + */ | |
183 | 194 | int scu_ipc_command(u32 cmd, u32 sub, u32 *in, int inlen, u32 *out, int outlen) |
184 | 195 | { |
185 | 196 | struct scu *scu; |