/kernel/liteos_a/kernel/base/ipc/ |
D | los_event.c | 59 LITE_OS_SEC_TEXT STATIC UINT32 OsEventParamCheck(const VOID *ptr, UINT32 eventMask, UINT32 mode) in OsEventParamCheck() argument 65 if (eventMask == 0) { in OsEventParamCheck() 69 if (eventMask & LOS_ERRTYPE_ERROR) { in OsEventParamCheck() 81 LITE_OS_SEC_TEXT UINT32 OsEventPoll(UINT32 *eventID, UINT32 eventMask, UINT32 mode) in OsEventPoll() argument 89 if ((*eventID & eventMask) != 0) { in OsEventPoll() 90 ret = *eventID & eventMask; in OsEventPoll() 93 if ((eventMask != 0) && (eventMask == (*eventID & eventMask))) { in OsEventPoll() 94 ret = *eventID & eventMask; in OsEventPoll() 105 LITE_OS_SEC_TEXT STATIC UINT32 OsEventReadCheck(const PEVENT_CB_S eventCB, UINT32 eventMask, UINT32… in OsEventReadCheck() argument 109 ret = OsEventParamCheck(eventCB, eventMask, mode); in OsEventReadCheck() [all …]
|
/kernel/liteos_m/kernel/src/ |
D | los_event.c | 50 LITE_OS_SEC_TEXT UINT32 LOS_EventPoll(UINT32 *eventID, UINT32 eventMask, UINT32 mode) in LOS_EventPoll() argument 60 if ((*eventID & eventMask) != 0) { in LOS_EventPoll() 61 ret = *eventID & eventMask; in LOS_EventPoll() 64 if ((eventMask != 0) && (eventMask == (*eventID & eventMask))) { in LOS_EventPoll() 65 ret = *eventID & eventMask; in LOS_EventPoll() 75 LITE_OS_SEC_TEXT STATIC_INLINE UINT32 OsEventReadParamCheck(PEVENT_CB_S eventCB, UINT32 eventMask, … in OsEventReadParamCheck() argument 83 if (eventMask == 0) { in OsEventReadParamCheck() 86 if (eventMask & LOS_ERRTYPE_ERROR) { in OsEventReadParamCheck() 97 LITE_OS_SEC_TEXT UINT32 LOS_EventRead(PEVENT_CB_S eventCB, UINT32 eventMask, UINT32 mode, UINT32 ti… in LOS_EventRead() argument 103 ret = OsEventReadParamCheck(eventCB, eventMask, mode); in LOS_EventRead() [all …]
|
D | los_task.c | 322 (UINT32)(UINTPTR)taskCB->stackPointer, taskCB->topOfStack, taskCB->eventMask, semID); in PrintTskInfo() 729 taskCB->eventMask = 0; in OsNewTaskInit() 1147 taskCB->eventMask = 0; in LOS_TaskDelete() 1376 taskInfo->uwEventMask = taskCB->eventMask; in LOS_TaskInfoGet()
|
/kernel/uniproton/src/core/ipc/event/ |
D | prt_event.c | 21 OS_SEC_L4_TEXT U32 OsEventReadParaCheck(U32 eventMask, U32 flags, U32 timeOut) in OsEventReadParaCheck() argument 23 if (eventMask == 0) { in OsEventReadParaCheck() 36 OS_SEC_ALW_INLINE INLINE bool OsIsEventNotMatch(U32 flags, U32 event, U32 eventMask, struct TagTskC… in OsIsEventNotMatch() argument 41 if ((eventMask != (event & eventMask))) { in OsIsEventNotMatch() 46 if ((event & eventMask) == 0) { in OsIsEventNotMatch() 98 OS_SEC_L4_TEXT U32 PRT_EventRead(U32 eventMask, U32 flags, U32 timeOut, U32 *events) in PRT_EventRead() argument 106 ret = OsEventReadParaCheck(eventMask, flags, timeOut); in PRT_EventRead() 119 runTsk->eventMask = eventMask; in PRT_EventRead() 122 needSchedule = OsIsEventNotMatch(flags, event, eventMask, runTsk); in PRT_EventRead() 133 runTsk->event &= (~eventMask); in PRT_EventRead() [all …]
|
/kernel/liteos_m/kernel/include/ |
D | los_event.h | 222 extern UINT32 LOS_EventPoll(UINT32 *eventID, UINT32 eventMask, UINT32 mode); 259 extern UINT32 LOS_EventRead(PEVENT_CB_S eventCB, UINT32 eventMask, UINT32 mode, UINT32 timeOut); 311 extern UINT32 LOS_EventClear(PEVENT_CB_S eventCB, UINT32 eventMask); 336 extern UINT32 OsEventReadOnce(PEVENT_CB_S eventCB, UINT32 eventMask, UINT32 mode, UINT32 timeOut);
|
D | los_task.h | 1496 UINT32 eventMask; /**< Event mask */ member
|
/kernel/liteos_m/testsuites/sample/kernel/event/ |
D | It_los_event_028.c | 45 UINT32 eventMask; in SwtmrF01() local 47 eventMask = 0x1; in SwtmrF01() 48 eventMask = eventMask << g_testCount; in SwtmrF01() 50 ret = LOS_EventWrite(&g_pevent, eventMask); in SwtmrF01()
|
/kernel/liteos_a/kernel/include/ |
D | los_event.h | 223 extern UINT32 LOS_EventPoll(UINT32 *eventID, UINT32 eventMask, UINT32 mode); 259 extern UINT32 LOS_EventRead(PEVENT_CB_S eventCB, UINT32 eventMask, UINT32 mode, UINT32 timeout); 311 extern UINT32 LOS_EventClear(PEVENT_CB_S eventCB, UINT32 eventMask);
|
/kernel/liteos_a/kernel/base/include/ |
D | los_event_pri.h | 51 UINT32 eventMask, UINT32 mode, UINT32 timeout); 55 extern UINT32 OsEventReadOnce(PEVENT_CB_S eventCB, UINT32 eventMask, UINT32 mode, UINT32 timeout);
|
D | los_sched_pri.h | 420 UINT32 eventMask; /**< Event mask */ member
|
/kernel/uniproton/src/include/uapi/ |
D | prt_event.h | 168 extern U32 PRT_EventRead(U32 eventMask, U32 flags, U32 timeOut, U32 *events);
|
/kernel/uniproton/doc/design/ |
D | interface_description.md | 351 U32 PRT_EventRead(U32 eventMask, U32 flags, U32 timeOut, U32 *events) 353 读取当前任务的指定掩码为eventMask的事件,可以一次性读取多个事件。事件读取成功后,被读取的事件将被清除。 358 eventMask [IN] 类型#U32,设置要读取的事件掩码,每个bit位对应一个事件,1表示要读取。该入参不能为0。 360 OS_EVENT_NOWAIT)中的一个标识或的结果。#OS_EVENT_ALL表示期望接收eventMask中的所有事件, 361 #OS_EVENT_ANY表示等待eventMask中的任何一个事件。#OS_EVENT_WAIT表示若期望事件没有发生,等待接收,
|
/kernel/liteos_m/components/trace/cnv/ |
D | trace_cnv.c | 72 STATIC VOID LOS_TraceEventRead(PEVENT_CB_S eventCB, UINT32 eventMask, UINT32 mode, UINT32 timeout) in LOS_TraceEventRead() argument 74 LOS_TRACE(EVENT_READ, (UINTPTR)eventCB, eventCB->uwEventID, eventMask, mode, timeout); in LOS_TraceEventRead()
|
/kernel/uniproton/src/core/kernel/include/ |
D | prt_task_external.h | 81 U32 eventMask; member
|
/kernel/liteos_m/utils/internal/ |
D | los_hook_types.h | 63 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_EVENT_READ, (PEVENT_CB_S eventCB, UINT32 eventMask, UINT32 mode, …
|
/kernel/liteos_a/kernel/extended/hook/include/ |
D | los_hook_types.h | 61 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_EVENT_READ, (PEVENT_CB_S eventCB, UINT32 eventMask, UINT32 mode, …
|
/kernel/liteos_a/kernel/extended/trace/cnv/ |
D | trace_cnv.c | 73 STATIC VOID LOS_TraceEventRead(PEVENT_CB_S eventCB, UINT32 eventMask, UINT32 mode, UINT32 timeout) in LOS_TraceEventRead() argument 75 LOS_TRACE(EVENT_READ, (UINTPTR)eventCB, eventCB->uwEventID, eventMask, mode, timeout); in LOS_TraceEventRead()
|
/kernel/uniproton/src/core/kernel/task/ |
D | prt_task_init.c | 316 taskCb->eventMask = 0; in OsTskCreateTcbInit()
|
/kernel/liteos_a/kernel/base/core/ |
D | los_task.c | 820 taskCB->eventMask = 0; in OsTaskStatusUnusedSet() 1134 taskInfo->uwEventMask = taskCB->eventMask; in LOS_TaskInfoGet()
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0038_linux_drivers_mxc.patch | 50911 + hardware->eventMask = 0xFFFFFFFF; 51545 + Hardware->eventMask 52915 + gctUINT32 eventMask; 68958 + /* Kernel->hardware->eventMask &= ~(1 << command->info.tsOverflowInt); */
|