intel_pmc_ipc: Update kerneldoc formatting
Update kerneldoc formatting per Documentation/kernel-dec-nano-HOWTO.txt. Signed-off-by: qipeng.zha <qipeng.zha@intel.com> Signed-off-by: Darren Hart <dvhart@linux.intel.com>
This commit is contained in:
parent
22565ba0bf
commit
02941007f5
|
@ -25,36 +25,9 @@
|
|||
|
||||
#if IS_ENABLED(CONFIG_INTEL_PMC_IPC)
|
||||
|
||||
/*
|
||||
* intel_pmc_ipc_simple_command
|
||||
* @cmd: command
|
||||
* @sub: sub type
|
||||
*/
|
||||
int intel_pmc_ipc_simple_command(int cmd, int sub);
|
||||
|
||||
/*
|
||||
* intel_pmc_ipc_raw_cmd
|
||||
* @cmd: command
|
||||
* @sub: sub type
|
||||
* @in: input data
|
||||
* @inlen: input length in bytes
|
||||
* @out: output data
|
||||
* @outlen: output length in dwords
|
||||
* @sptr: data writing to SPTR register
|
||||
* @dptr: data writing to DPTR register
|
||||
*/
|
||||
int intel_pmc_ipc_raw_cmd(u32 cmd, u32 sub, u8 *in, u32 inlen,
|
||||
u32 *out, u32 outlen, u32 dptr, u32 sptr);
|
||||
|
||||
/*
|
||||
* intel_pmc_ipc_command
|
||||
* @cmd: command
|
||||
* @sub: sub type
|
||||
* @in: input data
|
||||
* @inlen: input length in bytes
|
||||
* @out: output data
|
||||
* @outlen: output length in dwords
|
||||
*/
|
||||
int intel_pmc_ipc_command(u32 cmd, u32 sub, u8 *in, u32 inlen,
|
||||
u32 *out, u32 outlen);
|
||||
|
||||
|
|
|
@ -210,10 +210,15 @@ static int intel_pmc_ipc_check_status(void)
|
|||
return ret;
|
||||
}
|
||||
|
||||
/*
|
||||
* intel_pmc_ipc_simple_command
|
||||
* @cmd: command
|
||||
* @sub: sub type
|
||||
/**
|
||||
* intel_pmc_ipc_simple_command() - Simple IPC command
|
||||
* @cmd: IPC command code.
|
||||
* @sub: IPC command sub type.
|
||||
*
|
||||
* Send a simple IPC command to PMC when don't need to specify
|
||||
* input/output data and source/dest pointers.
|
||||
*
|
||||
* Return: an IPC error code or 0 on success.
|
||||
*/
|
||||
int intel_pmc_ipc_simple_command(int cmd, int sub)
|
||||
{
|
||||
|
@ -232,16 +237,20 @@ int intel_pmc_ipc_simple_command(int cmd, int sub)
|
|||
}
|
||||
EXPORT_SYMBOL_GPL(intel_pmc_ipc_simple_command);
|
||||
|
||||
/*
|
||||
* intel_pmc_ipc_raw_cmd
|
||||
* @cmd: command
|
||||
* @sub: sub type
|
||||
* @in: input data
|
||||
* @inlen: input length in bytes
|
||||
* @out: output data
|
||||
* @outlen: output length in dwords
|
||||
* @sptr: data writing to SPTR register
|
||||
* @dptr: data writing to DPTR register
|
||||
/**
|
||||
* intel_pmc_ipc_raw_cmd() - IPC command with data and pointers
|
||||
* @cmd: IPC command code.
|
||||
* @sub: IPC command sub type.
|
||||
* @in: input data of this IPC command.
|
||||
* @inlen: input data length in bytes.
|
||||
* @out: output data of this IPC command.
|
||||
* @outlen: output data length in dwords.
|
||||
* @sptr: data writing to SPTR register.
|
||||
* @dptr: data writing to DPTR register.
|
||||
*
|
||||
* Send an IPC command to PMC with input/output data and source/dest pointers.
|
||||
*
|
||||
* Return: an IPC error code or 0 on success.
|
||||
*/
|
||||
int intel_pmc_ipc_raw_cmd(u32 cmd, u32 sub, u8 *in, u32 inlen, u32 *out,
|
||||
u32 outlen, u32 dptr, u32 sptr)
|
||||
|
@ -278,14 +287,18 @@ int intel_pmc_ipc_raw_cmd(u32 cmd, u32 sub, u8 *in, u32 inlen, u32 *out,
|
|||
}
|
||||
EXPORT_SYMBOL_GPL(intel_pmc_ipc_raw_cmd);
|
||||
|
||||
/*
|
||||
* intel_pmc_ipc_command
|
||||
* @cmd: command
|
||||
* @sub: sub type
|
||||
* @in: input data
|
||||
* @inlen: input length in bytes
|
||||
* @out: output data
|
||||
* @outlen: output length in dwords
|
||||
/**
|
||||
* intel_pmc_ipc_command() - IPC command with input/output data
|
||||
* @cmd: IPC command code.
|
||||
* @sub: IPC command sub type.
|
||||
* @in: input data of this IPC command.
|
||||
* @inlen: input data length in bytes.
|
||||
* @out: output data of this IPC command.
|
||||
* @outlen: output data length in dwords.
|
||||
*
|
||||
* Send an IPC command to PMC with input/output data.
|
||||
*
|
||||
* Return: an IPC error code or 0 on success.
|
||||
*/
|
||||
int intel_pmc_ipc_command(u32 cmd, u32 sub, u8 *in, u32 inlen,
|
||||
u32 *out, u32 outlen)
|
||||
|
|
Loading…
Reference in New Issue