Home
last modified time | relevance | path

Searched full:li (Results 1 – 25 of 1498) sorted by relevance

12345678910>>...60

/kernel/liteos_a/compat/posix/include/
Dmqueue.h140 * <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>
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
163 * specified by name already exists.</li>
164 * <li><b>EINVAL</b>: invalid parameter.</li>
165 * <li><b>ENFILE</b>: The number of opened message queues exceeds the maximum limit.</li>
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/pmu/ebb/
Dbusy_loop.S31 li r3, 0x3030
33 li r4, 0x4040
35 li r5, 0x5050
37 li r6, 0x6060
39 li r7, 0x7070
41 li r8, 0x0808
43 li r9, 0x0909
45 li r10, 0x1010
47 li r11, 0x1111
49 li r14, 0x1414
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/pmu/ebb/
Dbusy_loop.S31 li r3, 0x3030
33 li r4, 0x4040
35 li r5, 0x5050
37 li r6, 0x6060
39 li r7, 0x7070
41 li r8, 0x0808
43 li r9, 0x0909
45 li r10, 0x1010
47 li r11, 0x1111
49 li r14, 0x1414
[all …]
/kernel/liteos_m/kernel/include/
Dlos_memory.h67 * <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>
159 …* <li>This API is used to initialize multiple non-continuous memory regions. If the starting addre…
161 …itialized as a * new pool, and the rest regions will be linked as free nodes to the new pool.</li>
[all …]
Dlos_queue.h383 …* <li>There are LOSCFG_BASE_IPC_QUEUE_LIMIT queues available, change it's value when necessary.</l…
399 * <ul><li>los_queue.h: the header file that contains the API declaration.</li></ul>
416 …* <li>There are LOSCFG_BASE_IPC_QUEUE_LIMIT queues available, change it's value when necessary.</l…
433 * <ul><li>los_queue.h: the header file that contains the API declaration.</li></ul>
452 * <li>The specific queue should be created firstly.</li>
453 …* <li>Queue reading adopts the fist in first out (FIFO) mode. The data that is first stored in the…
454 * first.</li>
455 * <li>bufferAddr stores the obtained data.</li>
456 * <li>Do not read or write a queue in unblocking modes such as an interrupt.</li>
457 * <li>This API cannot be called before the kernel is initialized.</li>
[all …]
Dlos_task.h524 …* <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>
537 * <ul><li>los_task.h: the header file that contains the API declaration.</li></ul>
551 * <li>None.</li>
559 * <ul><li>los_config.h: the header file that contains the API declaration.</li></ul>
575 * <li>None.</li>
583 * <ul><li>los_config.h: the header file that contains the API declaration.</li></ul>
[all …]
Dlos_membox.h100 * <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>
154 * <li>This API is used to free a memory block.</li>
158 * <li>The input pool parameter must be initialized via func LOS_MemboxInit.</li>
159 * <li>The input box parameter must be allocated by LOS_MemboxAlloc.</li>
[all …]
/kernel/liteos_a/kernel/include/
Dlos_memory.h87 * <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…
150 * <li>The parameter input must be four byte-aligned.</li>
151 * <li>The init area [pool, pool + size] should not conflict with other pools.</li>
[all …]
Dlos_rwlock.h76 * <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>
118 …* <li>The function fails when other tasks have the write lock or there are some task pending on th…
119 * the higher priority.</li>
[all …]
Dlos_list.h64 * <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>
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>
108 * <li>This API is used to test node is the end of the list.</li>
112 * <li>None.</li>
120 * <ul><li>los_list.h: the header file that contains the API declaration.</li></ul>
131 * <li>This API is used to test node is on the list.</li>
135 * <li>None.</li>
[all …]
Dlos_task.h477 * <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…
577 * cause memory exhaustion.</li>
578 …* <li>The task stack size must be aligned on the boundary of 8 bytes. The size is determined by wh…
579 * enough to avoid task stack overflow.</li>
580 * <li>Less parameter value indicates higher task priority.</li>
581 * <li>The task name cannot be null.</li>
[all …]
Dlos_mux.h102 …* <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>
152 * <li>Do not wait on a mutex during an interrupt.</li>
153 …* <li>The priority inheritance protocol is supported. If a higher-priority thread is waiting on a …
[all …]
Dlos_membox.h92 * <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>
146 * <li>This API is used to free a memory block.</li>
150 * <li>The input pool parameter must be initialized via func LOS_MemboxInit.</li>
151 * <li>The input box parameter must be allocated by LOS_MemboxAlloc.</li>
[all …]
Dlos_queue.h359 …* <li>There are LOSCFG_BASE_IPC_QUEUE_LIMIT queues available, change it's value when necessary.</l…
375 * <ul><li>los_queue.h: the header file that contains the API declaration.</li></ul>
393 * <li>The specific queue should be created firstly.</li>
394 …* <li>Queue reading adopts the fist in first out (FIFO) mode. The data that is first stored in the…
395 * first.</li>
396 * <li>bufferAddr stores the obtained data.</li>
397 * <li>Do not read or write a queue in unblocking modes such as an interrupt.</li>
398 * <li>This API cannot be called before the Huawei LiteOS is initialized.</li>
399 * <li>The argument timeout is a relative time.</li>
400 * <li>Do not call this API in software timer callback. </li>
[all …]
/kernel/uniproton/doc/demoUsageGuide/
DRASPI4_demo_usage_guide.md13 <li>进入到用户的工作目录,这里假设为/workspace/UniProton。</li>
14 <li>将UniProton的源码放在/workspace/UniProton目录下。</li>
15 <li>参考[编译指导](./UniProton_build.md) 准备编译环境以及libboundscheck库下载。</li>
16 <li>编译生成的libRASPI4.a文件和libCortexMXsec_c.lib文件在UniProton/output/UniProton/lib/raspi4/目录下。将这两个静态库文件拷贝…
17 <li>将UniProton/src/include目录下的头文件拷贝到demos/RASPI4/include目录下。</li>
18 <li>可以通过修改demos/RASPI4/config目录下的prt_config.c和prt_config.h以适配用户功能,prt_config.h可配置os功能开关,按需裁剪。</li>
19 <li>demos/RASPI4/bsp目录下可以新增板级驱动代码,demos/RASPI4/build目录下配置编译构建相关内容,raspi4.ld为链接文件,根据单板内存地址等修改适配。</li>
20 <li>代码修改完成后,适配cmake,最后在build目录下运行sh build_app.sh即可在同级目录下生成RASPI4可执行二进制文件。</li>
21 <li>加载到单板上运行可执行文件RASPI4。</li>
29 <li>1、上述编译获取到的RASPI4可执行二进制文件</li>
[all …]
/kernel/uniproton/src/include/uapi/
Dprt_task.h869 * <ul><li>prt_task.h:该接口声明所在的头文件。</li></ul>
885 * <ul><li>prt_task.h:该接口声明所在的头文件。</li></ul>
901 * <ul><li>prt_task.h:该接口声明所在的头文件。</li></ul>
918 * <ul><li>prt_task.h:该接口声明所在的头文件。</li></ul>
982 * <li>任务创建时,会对之前自删除任务的任务控制块和任务栈进行回收,用户独立配置的任务栈除外。</li>
983 * <li>任务名的最大长度为16字节,含结束符。</li>
984 * <li>同一核内任务名不允许重复。</li>
985 * <li>若指定的任务栈大小为0,则使用配置项#OS_TSK_DEFAULT_STACK_SIZE指定的默认的任务栈大小。</li>
986 * <li>任务栈的大小必须按16字节大小对齐。确定任务栈大小的原则是,够用就行:多了浪费,少了任务栈溢出。</li>
987 * <li>具体多少取决于需要消耗多少的栈内存,视情况而定:函数调用层次越深,栈内存开销越大,</li>
[all …]
Dprt_hwi.h306 * <ul><li>prt_hwi.h:该接口声明所在的头文件。</li></ul>
322 * <ul><li>prt_hwi.h:该接口声明所在的头文件。</li></ul>
337 * <ul><li>prt_hwi.h:该接口声明所在的头文件。</li></ul>
350 * <li>OS已经占用的不能被使用</li>
360 * <ul><li>prt_hwi.h:该接口声明所在的头文件。</li></ul>
373 * <li>在调用该函数之前,请先确保已经设置了中断属性。</li>
374 * <li>硬中断创建成功后,并不使能相应向量的中断,需要显式调用#PRT_HwiEnable单独使能。</li>
384 * <ul><li>prt_hwi.h:该接口声明所在的头文件。</li></ul>
397 * <li>不能删除OS占用的中断号。</li>
405 * <ul><li>prt_hwi.h:该接口声明所在的头文件。</li></ul>
[all …]
Dprt_timer.h327 * <li>如果用户打开Tick开关则可创建硬件定时器个数少一个。</li>
328 * <li>中断处理函数handler的第一个参数是创建的定时器的逻辑编号。</li>
329 * <li>定时器创建成功后并不立即开始计数,需显式调用#PRT_TimerStart或者#PRT_TimerRestart启动。</li>
330 * <li>对于周期定时模式的定时器,建议用户不要把定时间隔设置的过低,避免一直触发定时器的处理函数。</li>
331 * <li>struct TimerCreatePara参数里面的interval元素表示定时器周期,软件定时器单位是ms,
332 * 核内硬件定时器、全局硬件定时器单位是us,设置时间间隔的时候请注意适配,过大会出现溢出。</li>
341 * <ul><li>prt_timer.h:该接口声明所在的头文件。</li></ul>
354 * <li>硬件定时器删除后将停止计数。</li>
355 * <li>删除处于超时状态下的软件定时器时,OS采用延时删除的方式。详细说明请见手册注意事项。</li>
364 * <ul><li>prt_timer.h:该接口声明所在的头文件。</li></ul>
[all …]
Dprt_cpup.h154 * <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>
202 * <li>当配置项中的采样周期值等于0时,线程级CPUP采样周期为两次调用该接口或者PRT_CpupNow之间
203 * 的间隔。否则,线程级CPUP采样周期为配置项中的OS_CPUP_SAMPLE_INTERVAL大小。</li>
204 * <li>输出的实际线程个数不大于系统中实际的线程个数(任务个数和一个中断线程)。</li>
[all …]
Dprt_queue.h229 * <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>
255 * <li>阻塞模式不能在idle钩子使用,需用户保证。</li>
256 * <li>在osStart之前不能调用该接口,需用户保证。</li>
267 * @li prt_queue.h:该接口声明所在的头文件。
[all …]
/kernel/liteos_a/fs/include/fs/
Dfs_operation.h53 * <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>
145 * <ul><li>unistd.h: the header file that contains the API declaration.</li></ul>
161 * <li>The total length of parameter pathname must be less than the value defined by PATH_MAX.</li>
[all …]
/kernel/liteos_a/apps/shell/include/
Dshell_list.h62 * <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>
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>
106 * <li>This API is used to point to the previous node pointed to by the current node.</li>
110 * <li>None.</li>
117 * <ul><li>shell_list.h: the header file that contains the API declaration.</li></ul>
130 * <li>The parameters passed in should be ensured to be legal pointers.</li>
138 * <ul><li>shell_list.h: the header file that contains the API declaration.</li></ul>
[all …]
/kernel/liteos_m/utils/
Dlos_list.h65 * <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>
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>
111 * <li>The parameters passed in should be ensured to be legal pointers.</li>
119 * <ul><li>los_list.h: the header file that contains the API declaration.</li></ul>
138 * <li>The parameters passed in should be ensured to be legal pointers.</li>
146 * <ul><li>los_list.h: the header file that contains the API declaration.</li></ul>
162 * <li>The parameters passed in should be ensured to be legal pointers.</li>
[all …]
/kernel/linux/linux-6.6/sound/soc/generic/
Daudio-graph-card.c108 struct link_info *li, in graph_parse_node() argument
113 struct snd_soc_dai_link *dai_link = simple_priv_to_link(priv, li->link); in graph_parse_node()
114 struct simple_dai_props *dai_props = simple_priv_to_props(priv, li->link); in graph_parse_node()
147 struct link_info *li, in graph_link_init() argument
151 struct snd_soc_dai_link *dai_link = simple_priv_to_link(priv, li->link); in graph_link_init()
170 struct link_info *li) in graph_dai_link_of_dpcm() argument
173 struct snd_soc_dai_link *dai_link = simple_priv_to_link(priv, li->link); in graph_dai_link_of_dpcm()
174 struct simple_dai_props *dai_props = simple_priv_to_props(priv, li->link); in graph_dai_link_of_dpcm()
176 struct device_node *ep = li->cpu ? cpu_ep : codec_ep; in graph_dai_link_of_dpcm()
182 if (li->cpu) { in graph_dai_link_of_dpcm()
[all …]
/kernel/liteos_a/arch/arm/arm/include/
Dlos_atomic.h59 * <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>
144 * <li>The pointer v must not be NULL.</li>
145 …* <li>If the subtraction result is not in the range of representable values for 32-bit signed inte…
[all …]

12345678910>>...60