summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn Lin <shawn.lin@rock-chips.com>2016-03-08 21:33:55 -0500
committerUlf Hansson <ulf.hansson@linaro.org>2016-05-02 04:33:15 -0400
commit49b17858c19b94d46e3d872f85eccba45fff21f4 (patch)
tree7ac0a5db608819f4bfda358a1005c9d2694f514e
parentc6a9bf99dd458147241ef93817d18e92c3650530 (diff)
mmc: dw_mmc: fix warning reported by kernel-doc
Try to fix the warning reported by: scripts/kernel-doc -man -v include/linux/mmc/dw_mmc.h > /dev/null warning: No description found for parameter 'irq_lock' warning: No description found for parameter 'stop_abort' warning: No description found for parameter 'prev_blksz' warning: No description found for parameter 'timing' warning: No description found for parameter 'ring_size' warning: No description found for parameter 'dms' warning: No description found for parameter 'phy_regs' warning: No description found for parameter 'fifoth_val' warning: No description found for parameter 'vqmmc_enabled' warning: No description found for parameter 'cmd11_timer' warning: Excess struct/union/enum/typedef member 'card_tasklet' description in 'dw_mci' Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
-rw-r--r--include/linux/mmc/dw_mmc.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/linux/mmc/dw_mmc.h b/include/linux/mmc/dw_mmc.h
index 7b41c6db1bb6..c8b6a4d295b5 100644
--- a/include/linux/mmc/dw_mmc.h
+++ b/include/linux/mmc/dw_mmc.h
@@ -55,6 +55,7 @@ struct dw_mci_dma_slave {
55/** 55/**
56 * struct dw_mci - MMC controller state shared between all slots 56 * struct dw_mci - MMC controller state shared between all slots
57 * @lock: Spinlock protecting the queue and associated data. 57 * @lock: Spinlock protecting the queue and associated data.
58 * @irq_lock: Spinlock protecting the INTMASK setting.
58 * @regs: Pointer to MMIO registers. 59 * @regs: Pointer to MMIO registers.
59 * @fifo_reg: Pointer to MMIO registers for data FIFO 60 * @fifo_reg: Pointer to MMIO registers for data FIFO
60 * @sg: Scatterlist entry currently being processed by PIO code, if any. 61 * @sg: Scatterlist entry currently being processed by PIO code, if any.
@@ -65,6 +66,9 @@ struct dw_mci_dma_slave {
65 * @cmd: The command currently being sent to the card, or NULL. 66 * @cmd: The command currently being sent to the card, or NULL.
66 * @data: The data currently being transferred, or NULL if no data 67 * @data: The data currently being transferred, or NULL if no data
67 * transfer is in progress. 68 * transfer is in progress.
69 * @stop_abort: The command currently prepared for stoping transfer.
70 * @prev_blksz: The former transfer blksz record.
71 * @timing: Record of current ios timing.
68 * @use_dma: Whether DMA channel is initialized or not. 72 * @use_dma: Whether DMA channel is initialized or not.
69 * @using_dma: Whether DMA is in use for the current transfer. 73 * @using_dma: Whether DMA is in use for the current transfer.
70 * @dma_64bit_address: Whether DMA supports 64-bit address mode or not. 74 * @dma_64bit_address: Whether DMA supports 64-bit address mode or not.
@@ -72,7 +76,10 @@ struct dw_mci_dma_slave {
72 * @sg_cpu: Virtual address of DMA buffer. 76 * @sg_cpu: Virtual address of DMA buffer.
73 * @dma_ops: Pointer to platform-specific DMA callbacks. 77 * @dma_ops: Pointer to platform-specific DMA callbacks.
74 * @cmd_status: Snapshot of SR taken upon completion of the current 78 * @cmd_status: Snapshot of SR taken upon completion of the current
79 * @ring_size: Buffer size for idma descriptors.
75 * command. Only valid when EVENT_CMD_COMPLETE is pending. 80 * command. Only valid when EVENT_CMD_COMPLETE is pending.
81 * @dms: structure of slave-dma private data.
82 * @phy_regs: physical address of controller's register map
76 * @data_status: Snapshot of SR taken upon completion of the current 83 * @data_status: Snapshot of SR taken upon completion of the current
77 * data transfer. Only valid when EVENT_DATA_COMPLETE or 84 * data transfer. Only valid when EVENT_DATA_COMPLETE or
78 * EVENT_DATA_ERROR is pending. 85 * EVENT_DATA_ERROR is pending.
@@ -80,7 +87,6 @@ struct dw_mci_dma_slave {
80 * to be sent. 87 * to be sent.
81 * @dir_status: Direction of current transfer. 88 * @dir_status: Direction of current transfer.
82 * @tasklet: Tasklet running the request state machine. 89 * @tasklet: Tasklet running the request state machine.
83 * @card_tasklet: Tasklet handling card detect.
84 * @pending_events: Bitmask of events flagged by the interrupt handler 90 * @pending_events: Bitmask of events flagged by the interrupt handler
85 * to be processed by the tasklet. 91 * to be processed by the tasklet.
86 * @completed_events: Bitmask of events which the state machine has 92 * @completed_events: Bitmask of events which the state machine has
@@ -91,6 +97,7 @@ struct dw_mci_dma_slave {
91 * rate and timeout calculations. 97 * rate and timeout calculations.
92 * @current_speed: Configured rate of the controller. 98 * @current_speed: Configured rate of the controller.
93 * @num_slots: Number of slots available. 99 * @num_slots: Number of slots available.
100 * @fifoth_val: The value of FIFOTH register.
94 * @verid: Denote Version ID. 101 * @verid: Denote Version ID.
95 * @dev: Device associated with the MMC controller. 102 * @dev: Device associated with the MMC controller.
96 * @pdata: Platform data associated with the MMC controller. 103 * @pdata: Platform data associated with the MMC controller.
@@ -107,9 +114,11 @@ struct dw_mci_dma_slave {
107 * @push_data: Pointer to FIFO push function. 114 * @push_data: Pointer to FIFO push function.
108 * @pull_data: Pointer to FIFO pull function. 115 * @pull_data: Pointer to FIFO pull function.
109 * @quirks: Set of quirks that apply to specific versions of the IP. 116 * @quirks: Set of quirks that apply to specific versions of the IP.
117 * @vqmmc_enabled: Status of vqmmc, should be true or false.
110 * @irq_flags: The flags to be passed to request_irq. 118 * @irq_flags: The flags to be passed to request_irq.
111 * @irq: The irq value to be passed to request_irq. 119 * @irq: The irq value to be passed to request_irq.
112 * @sdio_id0: Number of slot0 in the SDIO interrupt registers. 120 * @sdio_id0: Number of slot0 in the SDIO interrupt registers.
121 * @cmd11_timer: Timer for SD3.0 voltage switch over scheme.
113 * @dto_timer: Timer for broken data transfer over scheme. 122 * @dto_timer: Timer for broken data transfer over scheme.
114 * 123 *
115 * Locking 124 * Locking