summaryrefslogtreecommitdiffstats
path: root/drivers/rpmsg
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2018-06-18 08:33:39 -0400
committerBjorn Andersson <bjorn.andersson@linaro.org>2018-07-31 02:22:23 -0400
commit82eca590cf5bf6eb1d1f2a282f5eb0f80ec0e57c (patch)
tree40a24af770877216553d86fba6eaca9f11a8f94c /drivers/rpmsg
parent6f0b9584275a5f7756182e0ac39af7bfde9fbf61 (diff)
rpmsg: smd: fix kerneldoc warnings
This patch fixes below kerneldoc warnings qcom_smd.c:141: warning: Function parameter or member 'dev' not described in 'qcom_smd_edge' qcom_smd.c:141: warning: Function parameter or member 'name' not described in 'qcom_smd_edge' qcom_smd.c:141: warning: Function parameter or member 'new_channel_event' not described in 'qcom_smd_edge' qcom_smd.c:222: warning: Function parameter or member 'qsept' not described in 'qcom_smd_channel' qcom_smd.c:222: warning: Function parameter or member 'registered' not described in 'qcom_smd_channel' qcom_smd.c:222: warning: Function parameter or member 'state_change_event' not described in 'qcom_smd_channel' qcom_smd.c:222: warning: Function parameter or member 'drvdata' not described in 'qcom_smd_channel' qcom_smd.c:737: warning: Function parameter or member 'wait' not described in '__qcom_smd_send' Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/rpmsg')
-rw-r--r--drivers/rpmsg/qcom_smd.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/rpmsg/qcom_smd.c b/drivers/rpmsg/qcom_smd.c
index 8695cb041c31..8da83a4ebadc 100644
--- a/drivers/rpmsg/qcom_smd.c
+++ b/drivers/rpmsg/qcom_smd.c
@@ -94,6 +94,8 @@ static const struct {
94 94
95/** 95/**
96 * struct qcom_smd_edge - representing a remote processor 96 * struct qcom_smd_edge - representing a remote processor
97 * @dev: device associated with this edge
98 * @name: name of this edge
97 * @of_node: of_node handle for information related to this edge 99 * @of_node: of_node handle for information related to this edge
98 * @edge_id: identifier of this edge 100 * @edge_id: identifier of this edge
99 * @remote_pid: identifier of remote processor 101 * @remote_pid: identifier of remote processor
@@ -107,6 +109,7 @@ static const struct {
107 * @channels_lock: guard for modifications of @channels 109 * @channels_lock: guard for modifications of @channels
108 * @allocated: array of bitmaps representing already allocated channels 110 * @allocated: array of bitmaps representing already allocated channels
109 * @smem_available: last available amount of smem triggering a channel scan 111 * @smem_available: last available amount of smem triggering a channel scan
112 * @new_channel_event: wait queue for new channel events
110 * @scan_work: work item for discovering new channels 113 * @scan_work: work item for discovering new channels
111 * @state_work: work item for edge state changes 114 * @state_work: work item for edge state changes
112 */ 115 */
@@ -173,10 +176,12 @@ struct qcom_smd_endpoint {
173/** 176/**
174 * struct qcom_smd_channel - smd channel struct 177 * struct qcom_smd_channel - smd channel struct
175 * @edge: qcom_smd_edge this channel is living on 178 * @edge: qcom_smd_edge this channel is living on
176 * @qsdev: reference to a associated smd client device 179 * @qsept: reference to a associated smd endpoint
180 * @registered: flag to indicate if the channel is registered
177 * @name: name of the channel 181 * @name: name of the channel
178 * @state: local state of the channel 182 * @state: local state of the channel
179 * @remote_state: remote state of the channel 183 * @remote_state: remote state of the channel
184 * @state_change_event: state change event
180 * @info: byte aligned outgoing/incoming channel info 185 * @info: byte aligned outgoing/incoming channel info
181 * @info_word: word aligned outgoing/incoming channel info 186 * @info_word: word aligned outgoing/incoming channel info
182 * @tx_lock: lock to make writes to the channel mutually exclusive 187 * @tx_lock: lock to make writes to the channel mutually exclusive
@@ -188,6 +193,7 @@ struct qcom_smd_endpoint {
188 * @cb: callback function registered for this channel 193 * @cb: callback function registered for this channel
189 * @recv_lock: guard for rx info modifications and cb pointer 194 * @recv_lock: guard for rx info modifications and cb pointer
190 * @pkt_size: size of the currently handled packet 195 * @pkt_size: size of the currently handled packet
196 * @drvdata: driver private data
191 * @list: lite entry for @channels in qcom_smd_edge 197 * @list: lite entry for @channels in qcom_smd_edge
192 */ 198 */
193struct qcom_smd_channel { 199struct qcom_smd_channel {
@@ -727,6 +733,7 @@ static int qcom_smd_write_fifo(struct qcom_smd_channel *channel,
727 * @channel: channel handle 733 * @channel: channel handle
728 * @data: buffer of data to write 734 * @data: buffer of data to write
729 * @len: number of bytes to write 735 * @len: number of bytes to write
736 * @wait: flag to indicate if write has ca wait
730 * 737 *
731 * This is a blocking write of len bytes into the channel's tx ring buffer and 738 * This is a blocking write of len bytes into the channel's tx ring buffer and
732 * signal the remote end. It will sleep until there is enough space available 739 * signal the remote end. It will sleep until there is enough space available