Home
last modified time | relevance | path

Searched refs:TASK_TID_BITS (Results 1 – 3 of 3) sorted by relevance

/device/google/contexthub/firmware/inc/
Dseos.h58 #define TASK_TID_BITS 16 macro
60 #define TASK_TID_MASK ((1 << TASK_TID_BITS) - 1)
63 #define TASK_TID_COUNTER_MASK ((1 << TASK_TID_BITS) - TASK_TID_INCREMENT)
66 #error MAX_TASKS does not fit in TASK_TID_BITS
/device/google/contexthub/firmware/src/
Dseos.c58 #define EVENT_WITH_ORIGIN(evt, origin) (((evt) & EVT_MASK) | ((origin) << (32 - TASK_TID_BITS
59 #define EVENT_GET_ORIGIN(evt) ((evt) >> (32 - TASK_TID_BITS))
Dsensors.c38 #define HANDLE_TO_TID(handle) (((handle) >> (32 - TASK_TID_BITS)) & TASK_TID_MASK)