Home
last modified time | relevance | path

Searched refs:eventMask (Results 1 – 20 of 20) sorted by relevance

/kernel/liteos_a/kernel/base/ipc/
Dlos_event.c59 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/
Dlos_event.c50 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 …]
Dlos_task.c322 (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/
Dprt_event.c21 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/
Dlos_event.h222 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);
Dlos_task.h1496 UINT32 eventMask; /**< Event mask */ member
/kernel/liteos_m/testsuites/sample/kernel/event/
DIt_los_event_028.c45 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/
Dlos_event.h223 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/
Dlos_event_pri.h51 UINT32 eventMask, UINT32 mode, UINT32 timeout);
55 extern UINT32 OsEventReadOnce(PEVENT_CB_S eventCB, UINT32 eventMask, UINT32 mode, UINT32 timeout);
Dlos_sched_pri.h420 UINT32 eventMask; /**< Event mask */ member
/kernel/uniproton/src/include/uapi/
Dprt_event.h168 extern U32 PRT_EventRead(U32 eventMask, U32 flags, U32 timeOut, U32 *events);
/kernel/uniproton/doc/design/
Dinterface_description.md351 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/
Dtrace_cnv.c72 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/
Dprt_task_external.h81 U32 eventMask; member
/kernel/liteos_m/utils/internal/
Dlos_hook_types.h63 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_EVENT_READ, (PEVENT_CB_S eventCB, UINT32 eventMask, UINT32 mode, …
/kernel/liteos_a/kernel/extended/hook/include/
Dlos_hook_types.h61 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_EVENT_READ, (PEVENT_CB_S eventCB, UINT32 eventMask, UINT32 mode, …
/kernel/liteos_a/kernel/extended/trace/cnv/
Dtrace_cnv.c73 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/
Dprt_task_init.c316 taskCb->eventMask = 0; in OsTskCreateTcbInit()
/kernel/liteos_a/kernel/base/core/
Dlos_task.c820 taskCB->eventMask = 0; in OsTaskStatusUnusedSet()
1134 taskInfo->uwEventMask = taskCB->eventMask; in LOS_TaskInfoGet()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0038_linux_drivers_mxc.patch50911 + hardware->eventMask = 0xFFFFFFFF;
51545 + Hardware->eventMask
52915 + gctUINT32 eventMask;
68958 + /* Kernel->hardware->eventMask &= ~(1 << command->info.tsOverflowInt); */