Home
last modified time | relevance | path

Searched +full:li +full:- (Results 1 – 25 of 1073) sorted by relevance

12345678910>>...43

/kernel/liteos_a/compat/posix/include/
Dmqueue.h2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
3 * Copyright (c) 2020-2023 Huawei Device Co., Ltd. All rights reserved.
140 * <li>A message queue does not restrict the read and write permissions.</li>
141 * <li>The length of mqueue name must less than 256.</li>
142 …* <li>This operation and closed mqueue scheduling must be used in coordination to release the reso…
143 * <li>The parameter "mode" is not supported.</li>
144 * <li>The "mq_curmsgs" member of the mq_attr structure is not supported.</li>
156 …* @retval (mqd_t)-1 The message queue fails to be opened or created, with any of the following er…
161 …* <li><b>ENOENT</b>: O_CREAT flag is not set for oflag, and the message queue specified by name do…
162 * <li><b>EEXIST</b>: Both O_CREAT and O_EXCL are set for oflag, but the message queue
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/pmu/ebb/
Dbusy_loop.S1 /* SPDX-License-Identifier: GPL-2.0-only */
6 #include <ppc-asm.h>
11 stdu %r1, -168(%r1)
31 li r3, 0x3030
32 std r3, -96(%r1)
33 li r4, 0x4040
34 std r4, -104(%r1)
35 li r5, 0x5050
36 std r5, -112(%r1)
37 li r6, 0x6060
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/pmu/ebb/
Dbusy_loop.S1 /* SPDX-License-Identifier: GPL-2.0-only */
6 #include <ppc-asm.h>
11 stdu %r1, -168(%r1)
31 li r3, 0x3030
32 std r3, -96(%r1)
33 li r4, 0x4040
34 std r4, -104(%r1)
35 li r5, 0x5050
36 std r5, -112(%r1)
37 li r6, 0x6060
[all …]
/kernel/liteos_m/kernel/include/
Dlos_memory.h2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
3 * Copyright (c) 2020-2022 Huawei Device Co., Ltd. All rights reserved.
67 * <li>This API is used to print function call stack information of all used nodes.</li>
75 * <li>los_memory.h: the header file that contains the API declaration.</li>
89 * <li>This API is used to deinitialize the dynamic memory of a doubly linked list.</li>
98 * <li>los_memory.h: the header file that contains the API declaration.</li>
110 * <li>This API is used to print information about all pools.</li>
116 * <li>los_memory.h: the header file that contains the API declaration.</li>
130 * <li>This API is used to free all memory nodes allocated by the specified task.</li>
140 * <li>los_memory.h: the header file that contains the API declaration.</li>
[all …]
Dlos_queue.h2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
3 * Copyright (c) 2020-2022 Huawei Device Co., Ltd. All rights reserved.
108 * Solution: Ensure that the passed-in queue ID is valid.
149 * Solution: Set the expiry time to the never-waiting mode, or use asynchronous queues.
159 * Solution: Check whether the passed-in queue handle value is valid.
179 * Solution: Ensure the passed-in parameters are not null pointers.
199 * Solution: Check whether the passed-in queue handle value is valid.
209 * Solution: Check whether the passed-in pointer is null.
229 * Solution: Check whether the passed-in pointer is null.
269 * Solution: Check whether the passed-in pointer is null.
[all …]
Dlos_task.h2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
3 * Copyright (c) 2020-2022 Huawei Device Co., Ltd. All rights reserved.
88 * Solution: Re-configure the task priority by referring to the priority range.
244 * Task error code: The operation is performed on the system-level task.
248 * Solution: Check the task ID and do not operate on the system-level task.
524 …* <li>The task fails to be delayed if it is being delayed during interrupt processing or it is loc…
525 * <li>If 0 is passed in and the task scheduling is not locked,
528 * the task scheduling will not occur, and the current task continues to be executed.</li>
529 * <li>The parameter passed in can not be equal to LOS_WAIT_FOREVER(0xFFFFFFFF).
530 …, the task will not sleep 0xFFFFFFFF milliseconds or sleep forever but sleep 0xFFFFFFFF Ticks.</li>
[all …]
Dlos_membox.h2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
3 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
85 …LOS_MEMBOX_ALIGNED(memAddr) (((UINTPTR)(memAddr) + sizeof(UINTPTR) - 1) & (~(sizeof(UINTPTR) - 1)))
100 * <li>This API is used to initialize a memory pool.</li>
104 * <li>The poolSize parameter value should match the following two conditions :
106 * 2) Be greater than the size of LOS_MEMBOX_INFO.</li>
117 * <li>los_membox.h: the header file that contains the API declaration.</li>
129 * <li>This API is used to request a memory block.</li>
133 * <li>The input pool parameter must be initialized via func LOS_MemboxInit.</li>
142 * <li>los_membox.h: the header file that contains the API declaration.</li>
[all …]
/kernel/liteos_a/kernel/include/
Dlos_memory.h2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
3 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
87 * <li>This API is used to deinitialize the dynamic memory of a doubly linked list.</li>
96 * <li>los_memory.h: the header file that contains the API declaration.</li>
108 * <li>This API is used to print information about all pools.</li>
114 * <li>los_memory.h: the header file that contains the API declaration.</li>
142 * <li>This API is used to initialize the dynamic memory of a doubly linked list.</li>
146 * <li>The size parameter value should match the following two conditions :
148 * 2) Be greater than the size of OS_MEM_MIN_POOL_SIZE.</li>
149 …* <li>Call this API when dynamic memory needs to be initialized during the startup of Huawei LiteO…
[all …]
Dlos_list.h2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
3 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
64 * <li>The parameter passed in should be ensured to be a legal pointer.</li>
71 * <ul><li>los_list.h: the header file that contains the API declaration.</li></ul>
76 list->pstNext = list; in LOS_ListInit()
77 list->pstPrev = list; in LOS_ListInit()
86 * <li>This API is used to point to the next node pointed to by the current node.</li>
90 * <li>None.</li>
97 * <ul><li>los_list.h: the header file that contains the API declaration.</li></ul>
100 #define LOS_DL_LIST_FIRST(object) ((object)->pstNext)
[all …]
Dlos_rwlock.h2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
3 * Copyright (c) 2020-2022 Huawei Device Co., Ltd. All rights reserved.
76 * <ul><li>los_rwlock.h: the header file that contains the API declaration.</li></ul>
90 * <li>The specific rwlock should be created firstly.</li>
91 * <li>The rwlock can be deleted successfully only if no other tasks pend on it.</li>
101 * <ul><li>los_rwlock.h: the header file that contains the API declaration.</li></ul>
114 * <li>The specific rwlock should be created firstly.</li>
115 …* <li>The function fails if the rwlock that is waited on is already locked by another thread when …
116 * is disabled.</li>
117 * <li>Do not wait on a rwlock during an interrupt.</li>
[all …]
Dlos_queue.h2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
3 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
107 * Solution: Ensure that the passed-in queue ID is valid.
148 * Solution: Set the expiry time to the never-waiting mode, or use asynchronous queues.
158 * Solution: Check whether the passed-in queue handle value is valid.
178 * Solution: Ensure the passed-in parameters are not null pointers.
198 * Solution: Check whether the passed-in queue handle value is valid.
208 * Solution: Check whether the passed-in pointer is null.
218 * Solution: Pass in a correct buffer size between [sizeof(CHAR*), OS_NULL_SHORT - sizeof(UINT32)].
228 * Solution: Check whether the passed-in pointer is null.
[all …]
Dlos_mux.h2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
3 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
102 …* <li>The total number of mutexes is pre-configured. If there are no available mutexes, the mutex …
111 * <ul><li>los_mux.h: the header file that contains the API declaration.</li></ul>
125 * <li>The specific mutex should be created firstly.</li>
126 * <li>The mutex can be deleted successfully only if no other tasks pend on it.</li>
136 * <ul><li>los_mux.h: the header file that contains the API declaration.</li></ul>
149 * <li>The specific mutex should be created firstly.</li>
150 …* <li>The function fails if the mutex that is waited on is already locked by another thread when t…
151 * is disabled.</li>
[all …]
Dlos_membox.h2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
3 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
77 …LOS_MEMBOX_ALIGNED(memAddr) (((UINTPTR)(memAddr) + sizeof(UINTPTR) - 1) & (~(sizeof(UINTPTR) - 1)))
92 * <li>This API is used to initialize a memory pool.</li>
96 * <li>The poolSize parameter value should match the following two conditions :
98 * 2) Be greater than the size of LOS_MEMBOX_INFO.</li>
109 * <li>los_membox.h: the header file that contains the API declaration.</li>
121 * <li>This API is used to request a memory block.</li>
125 * <li>The input pool parameter must be initialized via func LOS_MemboxInit.</li>
134 * <li>los_membox.h: the header file that contains the API declaration.</li>
[all …]
Dlos_task.h2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
3 * Copyright (c) 2020-2023 Huawei Device Co., Ltd. All rights reserved.
108 * Solution: Re-configure the task priority by referring to the priority range.
273 * Task error code: The operation is performed on the system-level task.
278 * Solution: Check the task ID and do not operate on the system-level task.
477 * <ul><li>los_task.h: the header file that contains the API declaration.</li></ul>
572 …* <li>During task creation, the task control block and task stack of the task that is previously a…
573 * are deallocated.</li>
574 * <li>The task name is a pointer and is not allocated memory.</li>
575 …* <li>If the size of the task stack of the task to be created is 0, configure #LOSCFG_BASE_CORE_TS…
[all …]
/kernel/uniproton/src/include/uapi/
Dprt_task.h2 * Copyright (c) 2009-2022 Huawei Technologies Co., Ltd. All rights reserved.
9 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
12 * Create: 2009-12-22
22 #include "./hw/armv7-m/prt_task.h"
41 #define OS_TSK_TCB_INDEX_BITS ((4 - OS_TSK_CORE_BYTES_IN_PID) * 8)
46 #define GET_HANDLE(pid) ((pid) & ((1U << OS_TSK_TCB_INDEX_BITS) - 1))
51 #define OS_HWI_HANDLE ((1U << OS_TSK_TCB_INDEX_BITS) - 1)
508 * OS_TSK_EVENT_PEND --- 任务阻塞于等待读事件。
515 * OS_TSK_EVENT_TYPE --- 任务读事件类型,0:ANY; 1:ALL。
522 * OS_TSK_QUEUE_PEND --- 任务阻塞与等待队列。
[all …]
Dprt_hwi.h2 * Copyright (c) 2009-2022 Huawei Technologies Co., Ltd. All rights reserved.
9 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
12 * Create: 2009-12-22
210 * <ul><li>prt_hwi.h:该接口声明所在的头文件。</li></ul>
226 * <ul><li>prt_hwi.h:该接口声明所在的头文件。</li></ul>
241 * <ul><li>prt_hwi.h:该接口声明所在的头文件。</li></ul>
254 * <li>OS已经占用的不能被使用</li>
264 * <ul><li>prt_hwi.h:该接口声明所在的头文件。</li></ul>
277 * <li>在调用该函数之前,请先确保已经设置了中断属性。</li>
278 * <li>硬中断创建成功后,并不使能相应向量的中断,需要显式调用#PRT_HwiEnable单独使能。</li>
[all …]
Dprt_timer.h2 * Copyright (c) 2009-2022 Huawei Technologies Co., Ltd. All rights reserved.
9 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
12 * Create: 2009-12-22
300 * <li>如果用户打开Tick开关则可创建硬件定时器个数少一个。</li>
301 * <li>中断处理函数handler的第一个参数是创建的定时器的逻辑编号。</li>
302 * <li>定时器创建成功后并不立即开始计数,需显式调用#PRT_TimerStart或者#PRT_TimerRestart启动。</li>
303 * <li>对于周期定时模式的定时器,建议用户不要把定时间隔设置的过低,避免一直触发定时器的处理函数。</li>
304 * <li>struct TimerCreatePara参数里面的interval元素表示定时器周期,软件定时器单位是ms,
305 * 核内硬件定时器、全局硬件定时器单位是us,设置时间间隔的时候请注意适配,过大会出现溢出。</li>
314 * <ul><li>prt_timer.h:该接口声明所在的头文件。</li></ul>
[all …]
Dprt_cpup.h2 * Copyright (c) 2009-2022 Huawei Technologies Co., Ltd. All rights reserved.
9 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
12 * Create: 2009-12-22
154 * <ul><li>prt_cpup.h:该接口声明所在的头文件。</li></ul>
178 * <li>该接口必须在CPUP模块裁剪开关打开,并在osStart之后才能调用此接口,否则返回0xffffffff。</li>
179 * <li>精度为万分之一。</li>
180 * <li>为了减小CPUP统计对线程调度的性能影响,OS采用了基于IDLE计数的统计算法,
181 * 统计结果会有一定误差,误差不超过百分之五。</li>
189 * <ul><li>prt_cpup.h:该接口声明所在的头文件。</li></ul>
201 * <li>当且仅当CPUP模式配置为线程级时,该接口有效。</li>
[all …]
Dprt_queue.h2 * Copyright (c) 2009-2022 Huawei Technologies Co., Ltd. All rights reserved.
9 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
12 * Create: 2009-12-22
229 * <li>每个队列节点的大小的单位是BYTE。</li>
230 * <li>每个队列节点的长度自动做2字节对齐。</li>
231 * <li>每个队列节点的长度不能大于0xFFFA。</li>
240 * @li prt_queue.h:该接口声明所在的头文件。
252 * <li>队列读取才采用FIFO模式,即先入先出,读取队列中最早写入的数据(相对于队列节点是先后顺序)。</li>
253 * <li>如果bufferSize大于队列中实际消息的大小,则只返回实际大小的数据,否则只读取bufferSize大小的数据。</li>
254 * <li>bufferSize大小的单位是BYTE。</li>
[all …]
/kernel/liteos_a/fs/include/fs/
Dfs_operation.h2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
3 * Copyright (c) 2020-2022 Huawei Device Co., Ltd. All rights reserved.
53 * <li>Called only once, multiple calls will cause file system error.</li>
60 * <ul><li>fs.h: the header file that contains the API declaration.</li></ul>
82 * <li>The parameter s must point a valid string, which end with the terminating null byte.</li>
91 * <ul><li>fs.h: the header file that contains the API declaration.</li></ul>
108 * <li>The function must be called before format().</li>
114 * <ul><li>fs.h</li></ul>
129 …* <li>The prefix of the parameter dev must be "/dev", and the length must be less than the value d…
133 * </li>
[all …]
/kernel/liteos_a/apps/shell/include/
Dshell_list.h2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
3 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
62 * <li>The parameter passed in should be ensured to be a legal pointer.</li>
69 * <ul><li>shell_list.h: the header file that contains the API declaration.</li></ul>
74 list->pstNext = list; in SH_ListInit()
75 list->pstPrev = list; in SH_ListInit()
84 * <li>This API is used to point to the next node pointed to by the current node.</li>
88 * <li>None.</li>
95 * <ul><li>shell_list.h: the header file that contains the API declaration.</li></ul>
98 #define SH_LIST_FIRST(object) ((object)->pstNext)
[all …]
/kernel/liteos_m/utils/
Dlos_list.h2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
3 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
65 * <li>The parameter passed in should be ensured to be a legal pointer.</li>
72 * <ul><li>los_list.h: the header file that contains the API declaration.</li></ul>
77 list->pstNext = list; in LOS_ListInit()
78 list->pstPrev = list; in LOS_ListInit()
87 * <li>This API is used to point to the next node pointed to by the current node.</li>
91 * <li>None.</li>
98 * <ul><li>los_list.h: the header file that contains the API declaration.</li></ul>
101 #define LOS_DL_LIST_FIRST(object) ((object)->pstNext)
[all …]
/kernel/linux/linux-6.6/sound/soc/generic/
Daudio-graph-card.c1 // SPDX-License-Identifier: GPL-2.0
8 // based on ${LINUX}/sound/soc/generic/simple-card.c
29 struct snd_soc_dapm_context *dapm = w->dapm; in graph_outdrv_event()
30 struct asoc_simple_priv *priv = snd_soc_card_get_drvdata(dapm->card); in graph_outdrv_event()
34 gpiod_set_value_cansleep(priv->pa_gpio, 1); in graph_outdrv_event()
37 gpiod_set_value_cansleep(priv->pa_gpio, 0); in graph_outdrv_event()
40 return -EINVAL; in graph_outdrv_event()
62 if (dai && (dai->component->driver->pcm_construct || in soc_component_is_pcm()
63 (dai->driver->ops && dai->driver->ops->pcm_new))) in soc_component_is_pcm()
73 struct device_node *top = dev->of_node; in graph_parse_convert()
[all …]
/kernel/liteos_a/arch/arm/arm/include/
Dlos_atomic.h2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
3 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
59 * <li>The pointer v must not be NULL.</li>
66 * <ul><li>los_atomic.h: the header file that contains the API declaration.</li></ul>
82 * <li>The pointer v must not be NULL.</li>
90 * <ul><li>los_atomic.h: the header file that contains the API declaration.</li></ul>
106 * <li>The pointer v must not be NULL.</li>
107 * <li>If the addtion result is not in the range of representable values for 32-bit signed integer,
108 * an int integer overflow may occur to the return value</li>
116 * <ul><li>los_atomic.h: the header file that contains the API declaration.</li></ul>
[all …]
/kernel/linux/linux-5.10/arch/powerpc/lib/
Dcrtsavres.S32 * Boston, MA 02110-1301, USA.
57 stw 14,-72(11) /* save gp registers */
60 stw 15,-68(11)
63 stw 16,-64(11)
66 stw 17,-60(11)
69 stw 18,-56(11)
72 stw 19,-52(11)
75 stw 20,-48(11)
78 stw 21,-44(11)
81 stw 22,-40(11)
[all …]

12345678910>>...43