diff options
author | qipeng.zha <qipeng.zha@intel.com> | 2015-07-08 12:14:15 -0400 |
---|---|---|
committer | Darren Hart <dvhart@linux.intel.com> | 2015-07-09 14:23:15 -0400 |
commit | 02941007f59ce015233d4c0f7047776960bf0c17 (patch) | |
tree | 41cc898cf23505f76722d323108f065bb173cde6 /drivers/platform | |
parent | 22565ba0bf231eb4267b1d2ebad300d55b28a427 (diff) |
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>
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/intel_pmc_ipc.c | 57 |
1 files changed, 35 insertions, 22 deletions
diff --git a/drivers/platform/x86/intel_pmc_ipc.c b/drivers/platform/x86/intel_pmc_ipc.c index 69d43b8fe9ba..105cfffe82c6 100644 --- a/drivers/platform/x86/intel_pmc_ipc.c +++ b/drivers/platform/x86/intel_pmc_ipc.c | |||
@@ -210,10 +210,15 @@ static int intel_pmc_ipc_check_status(void) | |||
210 | return ret; | 210 | return ret; |
211 | } | 211 | } |
212 | 212 | ||
213 | /* | 213 | /** |
214 | * intel_pmc_ipc_simple_command | 214 | * intel_pmc_ipc_simple_command() - Simple IPC command |
215 | * @cmd: command | 215 | * @cmd: IPC command code. |
216 | * @sub: sub type | 216 | * @sub: IPC command sub type. |
217 | * | ||
218 | * Send a simple IPC command to PMC when don't need to specify | ||
219 | * input/output data and source/dest pointers. | ||
220 | * | ||
221 | * Return: an IPC error code or 0 on success. | ||
217 | */ | 222 | */ |
218 | int intel_pmc_ipc_simple_command(int cmd, int sub) | 223 | int intel_pmc_ipc_simple_command(int cmd, int sub) |
219 | { | 224 | { |
@@ -232,16 +237,20 @@ int intel_pmc_ipc_simple_command(int cmd, int sub) | |||
232 | } | 237 | } |
233 | EXPORT_SYMBOL_GPL(intel_pmc_ipc_simple_command); | 238 | EXPORT_SYMBOL_GPL(intel_pmc_ipc_simple_command); |
234 | 239 | ||
235 | /* | 240 | /** |
236 | * intel_pmc_ipc_raw_cmd | 241 | * intel_pmc_ipc_raw_cmd() - IPC command with data and pointers |
237 | * @cmd: command | 242 | * @cmd: IPC command code. |
238 | * @sub: sub type | 243 | * @sub: IPC command sub type. |
239 | * @in: input data | 244 | * @in: input data of this IPC command. |
240 | * @inlen: input length in bytes | 245 | * @inlen: input data length in bytes. |
241 | * @out: output data | 246 | * @out: output data of this IPC command. |
242 | * @outlen: output length in dwords | 247 | * @outlen: output data length in dwords. |
243 | * @sptr: data writing to SPTR register | 248 | * @sptr: data writing to SPTR register. |
244 | * @dptr: data writing to DPTR register | 249 | * @dptr: data writing to DPTR register. |
250 | * | ||
251 | * Send an IPC command to PMC with input/output data and source/dest pointers. | ||
252 | * | ||
253 | * Return: an IPC error code or 0 on success. | ||
245 | */ | 254 | */ |
246 | int intel_pmc_ipc_raw_cmd(u32 cmd, u32 sub, u8 *in, u32 inlen, u32 *out, | 255 | int intel_pmc_ipc_raw_cmd(u32 cmd, u32 sub, u8 *in, u32 inlen, u32 *out, |
247 | u32 outlen, u32 dptr, u32 sptr) | 256 | 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, | |||
278 | } | 287 | } |
279 | EXPORT_SYMBOL_GPL(intel_pmc_ipc_raw_cmd); | 288 | EXPORT_SYMBOL_GPL(intel_pmc_ipc_raw_cmd); |
280 | 289 | ||
281 | /* | 290 | /** |
282 | * intel_pmc_ipc_command | 291 | * intel_pmc_ipc_command() - IPC command with input/output data |
283 | * @cmd: command | 292 | * @cmd: IPC command code. |
284 | * @sub: sub type | 293 | * @sub: IPC command sub type. |
285 | * @in: input data | 294 | * @in: input data of this IPC command. |
286 | * @inlen: input length in bytes | 295 | * @inlen: input data length in bytes. |
287 | * @out: output data | 296 | * @out: output data of this IPC command. |
288 | * @outlen: output length in dwords | 297 | * @outlen: output data length in dwords. |
298 | * | ||
299 | * Send an IPC command to PMC with input/output data. | ||
300 | * | ||
301 | * Return: an IPC error code or 0 on success. | ||
289 | */ | 302 | */ |
290 | int intel_pmc_ipc_command(u32 cmd, u32 sub, u8 *in, u32 inlen, | 303 | int intel_pmc_ipc_command(u32 cmd, u32 sub, u8 *in, u32 inlen, |
291 | u32 *out, u32 outlen) | 304 | u32 *out, u32 outlen) |