Skip to content

Commit 735f91b

Browse files
committed
doc: fix wrong code annotations
use at-sign @ instead of backslash Signed-off-by: Jingru Wang <jingru@synopsys.com>
1 parent 2f97f12 commit 735f91b

File tree

170 files changed

+3334
-3147
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

170 files changed

+3334
-3147
lines changed

arc/arc_connect.c

Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@
3333
static ARC_SPINLOCK_T arc_connect_lock;
3434

3535
/**
36-
* \brief execute arc connect cmd
36+
* @brief execute arc connect cmd
3737
*
38-
* \param op, pointer to arc connect operation
39-
* \return result of arc connect cmd
38+
* @param op, pointer to arc connect operation
39+
* @return result of arc connect cmd
4040
*/
4141
static uint32_t arc_connect_cmd_execute(ARC_CONNECT_OP_T *op)
4242

@@ -75,9 +75,9 @@ static uint32_t arc_connect_cmd_execute(ARC_CONNECT_OP_T *op)
7575
}
7676

7777
/**
78-
* \brief get the core id in arc connect
78+
* @brief get the core id in arc connect
7979
*
80-
* \return core id
80+
* @return core id
8181
*/
8282
uint32_t arc_connect_check_core_id(void)
8383
{
@@ -89,7 +89,7 @@ uint32_t arc_connect_check_core_id(void)
8989
}
9090

9191
/**
92-
* \brief enable interrupt distribute unit
92+
* @brief enable interrupt distribute unit
9393
*
9494
*/
9595
void arc_connect_idu_enable(void)
@@ -102,7 +102,7 @@ void arc_connect_idu_enable(void)
102102
}
103103

104104
/**
105-
* \brief disable interrupt distribute unit
105+
* @brief disable interrupt distribute unit
106106
*
107107
*/
108108
void arc_connect_idu_disable(void)
@@ -115,9 +115,9 @@ void arc_connect_idu_disable(void)
115115
}
116116

117117
/**
118-
* \brief read interrupt distribute enable status
118+
* @brief read interrupt distribute enable status
119119
*
120-
* \return enable status
120+
* @return enable status
121121
*/
122122
uint32_t arc_connect_idu_read_enable(void)
123123
{
@@ -129,11 +129,11 @@ uint32_t arc_connect_idu_read_enable(void)
129129
}
130130

131131
/**
132-
* \brief set the mode of irq connected to idu
132+
* @brief set the mode of irq connected to idu
133133
*
134-
* \param irq_num the num of irq connected to idu
135-
* \param trigger_mode trigger mode, level or pulse
136-
* \param distri_mode distribute mode
134+
* @param irq_num the num of irq connected to idu
135+
* @param trigger_mode trigger mode, level or pulse
136+
* @param distri_mode distribute mode
137137
*/
138138
void arc_connect_idu_set_mode(uint32_t irq_num, uint16_t trigger_mode, uint16_t distri_mode)
139139
{
@@ -146,10 +146,10 @@ void arc_connect_idu_set_mode(uint32_t irq_num, uint16_t trigger_mode, uint16_t
146146
}
147147

148148
/**
149-
* \brief read the mode of irq connected to idu
149+
* @brief read the mode of irq connected to idu
150150
*
151-
* \param irq_num the num of irq connected to idu
152-
* \return
151+
* @param irq_num the num of irq connected to idu
152+
* @return
153153
*/
154154
uint32_t arc_connect_idu_read_mode(uint32_t irq_num)
155155
{
@@ -161,10 +161,10 @@ uint32_t arc_connect_idu_read_mode(uint32_t irq_num)
161161
}
162162

163163
/**
164-
* \brief set the target core to handle the irq connected to idu
164+
* @brief set the target core to handle the irq connected to idu
165165
*
166-
* \param irq_num the num of irq connected to idu
167-
* \param target_core the target core
166+
* @param irq_num the num of irq connected to idu
167+
* @param target_core the target core
168168
*/
169169
void arc_connect_idu_set_dest(uint32_t irq_num, uint32_t target_core)
170170
{
@@ -176,10 +176,10 @@ void arc_connect_idu_set_dest(uint32_t irq_num, uint32_t target_core)
176176
}
177177

178178
/**
179-
* \brief read the target core to handle the irq connected to idu
179+
* @brief read the target core to handle the irq connected to idu
180180
*
181-
* \param irq_num the num of irq connected to idu
182-
* \return the target core
181+
* @param irq_num the num of irq connected to idu
182+
* @return the target core
183183
*/
184184
uint32_t arc_connect_idu_read_dest(uint32_t irq_num)
185185
{
@@ -191,9 +191,9 @@ uint32_t arc_connect_idu_read_dest(uint32_t irq_num)
191191
}
192192

193193
/**
194-
* \brief generate the irq connected to idu in software
194+
* @brief generate the irq connected to idu in software
195195
*
196-
* \param irq_num the num of irq connected to idu
196+
* @param irq_num the num of irq connected to idu
197197
*/
198198
void arc_connect_idu_gen_cirq(uint32_t irq_num)
199199
{
@@ -205,9 +205,9 @@ void arc_connect_idu_gen_cirq(uint32_t irq_num)
205205
}
206206

207207
/**
208-
* \brief acknowledge irq connected to idu
208+
* @brief acknowledge irq connected to idu
209209
*
210-
* \param irq_num the num of irq connected to idu
210+
* @param irq_num the num of irq connected to idu
211211
*/
212212
void arc_connect_idu_ack_cirq(uint32_t irq_num)
213213
{
@@ -219,10 +219,10 @@ void arc_connect_idu_ack_cirq(uint32_t irq_num)
219219
}
220220

221221
/**
222-
* \brief check the status of irq connected to idu
222+
* @brief check the status of irq connected to idu
223223
*
224-
* \param irq_num the num of irq connected to idu
225-
* \return status of irq connected to idu
224+
* @param irq_num the num of irq connected to idu
225+
* @return status of irq connected to idu
226226
*/
227227
uint32_t arc_connect_idu_check_status(uint32_t irq_num)
228228
{
@@ -234,10 +234,10 @@ uint32_t arc_connect_idu_check_status(uint32_t irq_num)
234234
}
235235

236236
/**
237-
* \brief check the source of irq connected to idu
237+
* @brief check the source of irq connected to idu
238238
*
239-
* \param irq_num the num of irq connected to idu
240-
* \return the source of irq connected to idu
239+
* @param irq_num the num of irq connected to idu
240+
* @return the source of irq connected to idu
241241
*/
242242
uint32_t arc_connect_idu_check_source(uint32_t irq_num)
243243
{
@@ -249,10 +249,10 @@ uint32_t arc_connect_idu_check_source(uint32_t irq_num)
249249
}
250250

251251
/**
252-
* \brief set the interrupt mask of irq connected to idu
252+
* @brief set the interrupt mask of irq connected to idu
253253
*
254-
* \param irq_num the num of irq connected to idu
255-
* \param mask interrupt mask
254+
* @param irq_num the num of irq connected to idu
255+
* @param mask interrupt mask
256256
*/
257257
void arc_connect_idu_set_mask(uint32_t irq_num, uint32_t mask)
258258
{
@@ -264,10 +264,10 @@ void arc_connect_idu_set_mask(uint32_t irq_num, uint32_t mask)
264264
}
265265

266266
/**
267-
* \brief read the interrupt mask of irq connected to idu
267+
* @brief read the interrupt mask of irq connected to idu
268268
*
269-
* \param irq_num the num of irq connected to idu
270-
* \return interrupt mask
269+
* @param irq_num the num of irq connected to idu
270+
* @return interrupt mask
271271
*/
272272
uint32_t arc_connect_idu_read_mask(uint32_t irq_num)
273273
{
@@ -279,10 +279,10 @@ uint32_t arc_connect_idu_read_mask(uint32_t irq_num)
279279
}
280280

281281
/**
282-
* \brief check the first core to handle the irq connected to idu
282+
* @brief check the first core to handle the irq connected to idu
283283
*
284-
* \param irq_num the num of irq connected to idu
285-
* \return core number
284+
* @param irq_num the num of irq connected to idu
285+
* @return core number
286286
*/
287287
uint32_t arc_connect_idu_check_first(uint32_t irq_num)
288288
{
@@ -294,12 +294,12 @@ uint32_t arc_connect_idu_check_first(uint32_t irq_num)
294294
}
295295

296296
/**
297-
* \brief configure the irq connected to idu
297+
* @brief configure the irq connected to idu
298298
*
299-
* \param core target core to handle the irq
300-
* \param irq_num the num of irq connected to idu
301-
* \param trigger_mode trigger mode
302-
* \param distri_mode distribute mode
299+
* @param core target core to handle the irq
300+
* @param irq_num the num of irq connected to idu
301+
* @param trigger_mode trigger mode
302+
* @param distri_mode distribute mode
303303
*/
304304
void arc_connect_idu_config_irq(uint32_t core, uint32_t irq_num, uint16_t trigger_mode, uint16_t distri_mode)
305305
{

arc/arc_exc_asm.s

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,28 +29,28 @@
2929
--------------------------------------------- */
3030

3131
/**
32-
* \file
33-
* \ingroup ARC_HAL_EXCEPTION_CPU
34-
* \brief assembly part of exception and interrupt processing
32+
* @file
33+
* @ingroup ARC_HAL_EXCEPTION_CPU
34+
* @brief assembly part of exception and interrupt processing
3535
*/
3636

3737
/**
38-
* \addtogroup ARC_HAL_EXCEPTION_CPU
38+
* @addtogroup ARC_HAL_EXCEPTION_CPU
3939
* @{
4040
*/
4141

4242
/* function documentation */
4343
/**
44-
* \fn void exc_entry_cpu(void)
45-
* \brief default entry of CPU exceptions, such as TLB miss and swap.
44+
* @fn void exc_entry_cpu(void)
45+
* @brief default entry of CPU exceptions, such as TLB miss and swap.
4646
*
47-
* \fn void exc_entry_int(void)
48-
* \brief normal interrupt exception entry.
47+
* @fn void exc_entry_int(void)
48+
* @brief normal interrupt exception entry.
4949
* In default, all interrupt exceptions are installed with normal entry.
5050
* If FIRQ is required, exc_entry_firq should be the entry.
5151
*
52-
* \fn void exc_entry_firq(void)
53-
* \brief firq exception entry
52+
* @fn void exc_entry_firq(void)
53+
* @brief firq exception entry
5454
*/
5555
/** }@ */
5656

0 commit comments

Comments
 (0)