aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/mei/mei_dev.h
diff options
context:
space:
mode:
authorAlexander Usyskin <alexander.usyskin@intel.com>2014-09-29 09:31:49 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-29 11:56:02 -0400
commita8605ea2c20c2b97a54d7746c16ebef5ba29632a (patch)
tree5381189bc33345ce3c89c36c733b50c73ab37419 /drivers/misc/mei/mei_dev.h
parent764c065a65c31a09340e71d2c41652e7e05bf083 (diff)
mei: fix KDoc documentation formatting
Fix Kdoc documentation formatting warnings genertaed by ./scripts/kernel-doc Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei/mei_dev.h')
-rw-r--r--drivers/misc/mei/mei_dev.h88
1 files changed, 45 insertions, 43 deletions
diff --git a/drivers/misc/mei/mei_dev.h b/drivers/misc/mei/mei_dev.h
index 0a1f2b735706..563eebb62827 100644
--- a/drivers/misc/mei/mei_dev.h
+++ b/drivers/misc/mei/mei_dev.h
@@ -157,8 +157,8 @@ struct mei_msg_data {
157/* 157/*
158 * struct mei_fw_status - storage of FW status data 158 * struct mei_fw_status - storage of FW status data
159 * 159 *
160 * @count - number of actually available elements in array 160 * @count: number of actually available elements in array
161 * @status - FW status registers 161 * @status: FW status registers
162 */ 162 */
163struct mei_fw_status { 163struct mei_fw_status {
164 int count; 164 int count;
@@ -168,9 +168,10 @@ struct mei_fw_status {
168/** 168/**
169 * struct mei_me_client - representation of me (fw) client 169 * struct mei_me_client - representation of me (fw) client
170 * 170 *
171 * @props - client properties 171 * @list: link in me client list
172 * @client_id - me client id 172 * @props: client properties
173 * @mei_flow_ctrl_creds - flow control credits 173 * @client_id: me client id
174 * @mei_flow_ctrl_creds: flow control credits
174 */ 175 */
175struct mei_me_client { 176struct mei_me_client {
176 struct list_head list; 177 struct list_head list;
@@ -185,8 +186,9 @@ struct mei_cl;
185/** 186/**
186 * struct mei_cl_cb - file operation callback structure 187 * struct mei_cl_cb - file operation callback structure
187 * 188 *
188 * @cl - file client who is running this operation 189 * @list: link in callback queue
189 * @fop_type - file operation type 190 * @cl: file client who is running this operation
191 * @fop_type: file operation type
190 */ 192 */
191struct mei_cl_cb { 193struct mei_cl_cb {
192 struct list_head list; 194 struct list_head list;
@@ -226,31 +228,31 @@ struct mei_cl {
226 228
227/** struct mei_hw_ops 229/** struct mei_hw_ops
228 * 230 *
229 * @host_is_ready - query for host readiness 231 * @host_is_ready : query for host readiness
230 232
231 * @hw_is_ready - query if hw is ready 233 * @hw_is_ready : query if hw is ready
232 * @hw_reset - reset hw 234 * @hw_reset : reset hw
233 * @hw_start - start hw after reset 235 * @hw_start : start hw after reset
234 * @hw_config - configure hw 236 * @hw_config : configure hw
235 237
236 * @fw_status - get fw status registers 238 * @fw_status : get fw status registers
237 * @pg_state - power gating state of the device 239 * @pg_state : power gating state of the device
238 * @pg_is_enabled - is power gating enabled 240 * @pg_is_enabled : is power gating enabled
239 241
240 * @intr_clear - clear pending interrupts 242 * @intr_clear : clear pending interrupts
241 * @intr_enable - enable interrupts 243 * @intr_enable : enable interrupts
242 * @intr_disable - disable interrupts 244 * @intr_disable : disable interrupts
243 245
244 * @hbuf_free_slots - query for write buffer empty slots 246 * @hbuf_free_slots : query for write buffer empty slots
245 * @hbuf_is_ready - query if write buffer is empty 247 * @hbuf_is_ready : query if write buffer is empty
246 * @hbuf_max_len - query for write buffer max len 248 * @hbuf_max_len : query for write buffer max len
247 249
248 * @write - write a message to FW 250 * @write : write a message to FW
249 251
250 * @rdbuf_full_slots - query how many slots are filled 252 * @rdbuf_full_slots : query how many slots are filled
251 253
252 * @read_hdr - get first 4 bytes (header) 254 * @read_hdr : get first 4 bytes (header)
253 * @read - read a buffer from the FW 255 * @read : read a buffer from the FW
254 */ 256 */
255struct mei_hw_ops { 257struct mei_hw_ops {
256 258
@@ -330,7 +332,6 @@ void mei_cl_bus_exit(void);
330 * when being probed and shall use it for doing ME bus I/O. 332 * when being probed and shall use it for doing ME bus I/O.
331 * 333 *
332 * @dev: linux driver model device pointer 334 * @dev: linux driver model device pointer
333 * @uuid: me client uuid
334 * @cl: mei client 335 * @cl: mei client
335 * @ops: ME transport ops 336 * @ops: ME transport ops
336 * @event_cb: Drivers register this callback to get asynchronous ME 337 * @event_cb: Drivers register this callback to get asynchronous ME
@@ -383,21 +384,21 @@ const char *mei_pg_state_str(enum mei_pg_state state);
383/** 384/**
384 * struct mei_device - MEI private device struct 385 * struct mei_device - MEI private device struct
385 386
386 * @dev - device on a bus 387 * @dev : device on a bus
387 * @cdev - character device 388 * @cdev : character device
388 * @minor - minor number allocated for device 389 * @minor : minor number allocated for device
389 * 390 *
390 * @reset_count - limits the number of consecutive resets 391 * @reset_count : limits the number of consecutive resets
391 * @hbm_state - state of host bus message protocol 392 * @hbm_state : state of host bus message protocol
392 * 393 *
393 * @hbm_f_pg_supported - hbm feature pgi protocol 394 * @hbm_f_pg_supported : hbm feature pgi protocol
394 * 395 *
395 * @pg_event - power gating event 396 * @pg_event : power gating event
396 * @mem_addr - mem mapped base register address 397 * @mem_addr : mem mapped base register address
397 398
398 * @hbuf_depth - depth of hardware host/write buffer is slots 399 * @hbuf_depth : depth of hardware host/write buffer is slots
399 * @hbuf_is_ready - query if the host host/write buffer is ready 400 * @hbuf_is_ready : query if the host host/write buffer is ready
400 * @wr_msg - the buffer for hbm control messages 401 * @wr_msg : the buffer for hbm control messages
401 */ 402 */
402struct mei_device { 403struct mei_device {
403 struct device *dev; 404 struct device *dev;
@@ -521,8 +522,9 @@ static inline unsigned long mei_secs_to_jiffies(unsigned long sec)
521/** 522/**
522 * mei_data2slots - get slots - number of (dwords) from a message length 523 * mei_data2slots - get slots - number of (dwords) from a message length
523 * + size of the mei header 524 * + size of the mei header
524 * @length - size of the messages in bytes 525 * @length: size of the messages in bytes
525 * returns - number of slots 526 *
527 * Return: number of slots
526 */ 528 */
527static inline u32 mei_data2slots(size_t length) 529static inline u32 mei_data2slots(size_t length)
528{ 530{
@@ -531,8 +533,8 @@ static inline u32 mei_data2slots(size_t length)
531 533
532/** 534/**
533 * mei_slots2data- get data in slots - bytes from slots 535 * mei_slots2data- get data in slots - bytes from slots
534 * @slots - number of available slots 536 * @slots: number of available slots
535 * returns - number of bytes in slots 537 * Return: number of bytes in slots
536 */ 538 */
537static inline u32 mei_slots2data(int slots) 539static inline u32 mei_slots2data(int slots)
538{ 540{
@@ -610,12 +612,12 @@ int mei_wd_host_init(struct mei_device *dev);
610/* 612/*
611 * mei_watchdog_register - Registering watchdog interface 613 * mei_watchdog_register - Registering watchdog interface
612 * once we got connection to the WD Client 614 * once we got connection to the WD Client
613 * @dev - mei device 615 * @dev: mei device
614 */ 616 */
615int mei_watchdog_register(struct mei_device *dev); 617int mei_watchdog_register(struct mei_device *dev);
616/* 618/*
617 * mei_watchdog_unregister - Unregistering watchdog interface 619 * mei_watchdog_unregister - Unregistering watchdog interface
618 * @dev - mei device 620 * @dev: mei device
619 */ 621 */
620void mei_watchdog_unregister(struct mei_device *dev); 622void mei_watchdog_unregister(struct mei_device *dev);
621 623