Home
last modified time | relevance | path

Searched refs:QUEUE_SPLIT_BIT (Results 1 – 2 of 2) sorted by relevance

/kernel/liteos_m/kal/posix/src/
Dmqueue_impl.h86 #define QUEUE_SPLIT_BIT 16 macro
88 #define SET_QUEUE_ID(count, queueID) (((count) << QUEUE_SPLIT_BIT) | (queueID))
94 #define GET_QUEUE_INDEX(queueID) ((queueID) & ((1U << QUEUE_SPLIT_BIT) - 1))
100 #define GET_QUEUE_COUNT(queueID) ((queueID) >> QUEUE_SPLIT_BIT)
/kernel/liteos_a/kernel/base/include/
Dlos_queue_pri.h119 #define QUEUE_SPLIT_BIT 16 macro
124 #define SET_QUEUE_ID(count, queueID) (((count) << QUEUE_SPLIT_BIT) | (queueID))
130 #define GET_QUEUE_INDEX(queueID) ((queueID) & ((1U << QUEUE_SPLIT_BIT) - 1))
136 #define GET_QUEUE_COUNT(queueID) ((queueID) >> QUEUE_SPLIT_BIT)