Home
last modified time | relevance | path

Searched refs:LOS_WAITMODE_OR (Results 1 – 25 of 48) sorted by relevance

12

/kernel/liteos_m/testsuites/sample/kernel/event/
DIt_los_event_009.c41 ret = LOS_EventRead(NULL, 0x11, LOS_WAITMODE_OR, LOS_WAIT_FOREVER); in TaskF01()
44 ret = LOS_EventRead(&g_pevent, 0, LOS_WAITMODE_OR, LOS_WAIT_FOREVER); in TaskF01()
47 ret = LOS_EventRead(&g_pevent, 0xffffffff, LOS_WAITMODE_OR, 0); in TaskF01()
57 …ret = LOS_EventRead(&g_pevent, 0x11, (LOS_WAITMODE_AND | LOS_WAITMODE_OR | LOS_WAITMODE_CLR), LOS_… in TaskF01()
DIt_los_event_008.c42 ret = LOS_EventRead(&g_pevent, 0, LOS_WAITMODE_OR, LOS_WAIT_FOREVER); in TaskF01()
47 ret = LOS_EventRead(&g_pevent, 0x0FFFFFFF, LOS_WAITMODE_OR, LOS_WAIT_FOREVER); in TaskF01()
DIt_los_event_043.c47 ret = LOS_EventRead(&g_pevent, 0x1, LOS_WAITMODE_OR, 0); in TaskF01()
67 ret = LOS_EventRead(&g_pevent, 0x10, LOS_WAITMODE_OR, 0); in TaskF01()
DIt_los_event_014.c47 ret = LOS_EventRead(&g_pevent, 0x01, LOS_WAITMODE_OR, 0); in TaskF01()
53 ret = LOS_EventRead(&g_pevent, 0x01, LOS_WAITMODE_OR, 0); in TaskF01()
DIt_los_event_012.c42 ret = LOS_EventRead(&g_pevent, 0x110, LOS_WAITMODE_OR, LOS_WAIT_FOREVER); in TaskF01()
48 ret = LOS_EventRead(&g_pevent, 0x1001, LOS_WAITMODE_OR, 0); in TaskF01()
DIt_los_event_013.c42 ret = LOS_EventRead(&g_pevent, 0x11, LOS_WAITMODE_OR, LOS_WAIT_FOREVER); in TaskF01()
61 … ret = LOS_EventRead(&g_pevent, 0x11000000, LOS_WAITMODE_OR | LOS_WAITMODE_CLR, LOS_WAIT_FOREVER); in TaskF01()
DIt_los_event_006.c42 ret = LOS_EventRead(&g_pevent, 0x00000110, LOS_WAITMODE_OR, LOS_WAIT_FOREVER); in TaskF01()
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/ipc/event/full/
DIt_los_event_009.c45 ret = LOS_EventRead(NULL, 0x11, LOS_WAITMODE_OR, LOS_WAIT_FOREVER); in TaskF01()
48 ret = LOS_EventRead(&g_event, 0, LOS_WAITMODE_OR, LOS_WAIT_FOREVER); in TaskF01()
51 ret = LOS_EventRead(&g_event, 0xffffffff, LOS_WAITMODE_OR, 0); in TaskF01()
61 …ret = LOS_EventRead(&g_event, 0x11, (LOS_WAITMODE_AND | LOS_WAITMODE_OR | LOS_WAITMODE_CLR), LOS_W… in TaskF01()
DIt_los_event_008.c46 ret = LOS_EventRead(&g_event, 0, LOS_WAITMODE_OR, LOS_WAIT_FOREVER); in TaskF01()
51 ret = LOS_EventRead(&g_event, 0x0FFFFFFF, LOS_WAITMODE_OR, LOS_WAIT_FOREVER); in TaskF01()
DIt_los_event_043.c51 ret = LOS_EventRead(&g_event, 0x1, LOS_WAITMODE_OR, 0); in TaskF01()
71 ret = LOS_EventRead(&g_event, 0x10, LOS_WAITMODE_OR, 0); in TaskF01()
DIt_los_event_014.c51 ret = LOS_EventRead(&g_event, 0x01, LOS_WAITMODE_OR, 0); in TaskF01()
57 ret = LOS_EventRead(&g_event, 0x01, LOS_WAITMODE_OR, 0); in TaskF01()
DIt_los_event_013.c46 ret = LOS_EventRead(&g_event, 0x11, LOS_WAITMODE_OR, LOS_WAIT_FOREVER); in TaskF01()
65 ret = LOS_EventRead(&g_event, 0x11000000, LOS_WAITMODE_OR | LOS_WAITMODE_CLR, LOS_WAIT_FOREVER); in TaskF01()
DIt_los_event_012.c46 ret = LOS_EventRead(&g_event, 0x110, LOS_WAITMODE_OR, LOS_WAIT_FOREVER); in TaskF01()
52 ret = LOS_EventRead(&g_event, 0x1001, LOS_WAITMODE_OR, 0); in TaskF01()
DIt_los_event_006.c46 ret = LOS_EventRead(&g_event, 0x00000110, LOS_WAITMODE_OR, LOS_WAIT_FOREVER); in TaskF01()
/kernel/liteos_m/kernel/src/
Dlos_event.c59 if (mode & LOS_WAITMODE_OR) { in LOS_EventPoll()
89 if (((mode & LOS_WAITMODE_OR) && (mode & LOS_WAITMODE_AND)) || in OsEventReadParamCheck()
90 (mode & ~(LOS_WAITMODE_OR | LOS_WAITMODE_AND | LOS_WAITMODE_CLR)) || in OsEventReadParamCheck()
91 !(mode & (LOS_WAITMODE_OR | LOS_WAITMODE_AND))) { in OsEventReadParamCheck()
171 … if (((resumedTask->eventMode & LOS_WAITMODE_OR) && (resumedTask->eventMask & events) != 0) || in LOS_EventWrite()
/kernel/liteos_a/kernel/base/ipc/
Dlos_event.c73 if (((mode & LOS_WAITMODE_OR) && (mode & LOS_WAITMODE_AND)) || in OsEventParamCheck()
74 (mode & ~(LOS_WAITMODE_OR | LOS_WAITMODE_AND | LOS_WAITMODE_CLR)) || in OsEventParamCheck()
75 !(mode & (LOS_WAITMODE_OR | LOS_WAITMODE_AND))) { in OsEventParamCheck()
88 if (mode & LOS_WAITMODE_OR) { in OsEventPoll()
181 if (((resumedTask->eventMode & LOS_WAITMODE_OR) && ((resumedTask->eventMask & events) != 0)) || in OsEventResume()
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/core/task/full/
DIt_los_task_141.c97 ret = LOS_EventRead(&g_eventCb01, 0x11, LOS_WAITMODE_OR | LOS_WAITMODE_CLR, LOS_WAIT_FOREVER); in Testcase()
114 ret = LOS_EventRead(&g_eventCb01, 0x11, LOS_WAITMODE_OR | LOS_WAITMODE_CLR, LOS_WAIT_FOREVER); in Testcase()
DIt_los_task_082.c48 ret = LOS_EventRead(&g_eventCb01, 0x11, LOS_WAITMODE_OR | LOS_WAITMODE_CLR, LOS_WAIT_FOREVER); in TaskF01()
/kernel/liteos_a/compat/posix/src/
Dpthread_cond.c217 LOS_WAITMODE_OR | LOS_WAITMODE_CLR, ticks); in PthreadCondWaitSub()
289 ret = (INT32)LOS_EventRead(&(cond->event), 0x0f, LOS_WAITMODE_OR | LOS_WAITMODE_CLR, absTicks); in pthread_cond_timedwait()
328 …ret = (INT32)LOS_EventRead(&(cond->event), 0x0f, LOS_WAITMODE_OR | LOS_WAITMODE_CLR, LOS_WAIT_FORE… in pthread_cond_wait()
/kernel/liteos_a/kernel/include/
Dlos_event.h59 #define LOS_WAITMODE_OR 2U macro
/kernel/liteos_m/testsuites/sample/kernel/task/
DIt_los_task_082.c45 ret = LOS_EventRead(&g_eventCB01, 0x11, LOS_WAITMODE_OR | LOS_WAITMODE_CLR, LOS_WAIT_FOREVER); in TaskF01()
/kernel/liteos_m/kernel/include/
Dlos_event.h58 #define LOS_WAITMODE_OR (2) /* any bit must be set */ macro
/kernel/liteos_m/kal/posix/src/
Dpthread_cond.c306 …ret = (INT32)LOS_EventRead(&(cond->event), 0x0f, LOS_WAITMODE_OR | LOS_WAITMODE_CLR, (UINT32)absTi… in pthread_cond_timedwait()
340 …ret = (INT32)LOS_EventRead(&(cond->event), 0x0f, LOS_WAITMODE_OR | LOS_WAITMODE_CLR, LOS_WAIT_FORE… in pthread_cond_wait()
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/core/task/smp/
DIt_smp_los_task_058.c48 ret = LOS_EventRead(&g_eventCb01, 0x11, LOS_WAITMODE_OR | LOS_WAITMODE_CLR, LOS_WAIT_FOREVER); in TaskF01()
DIt_smp_los_task_060.c48 ret = LOS_EventRead(&g_eventCb01, 0x11, LOS_WAITMODE_OR | LOS_WAITMODE_CLR, LOS_WAIT_FOREVER); in TaskF01()

12