/device/google/contexthub/firmware/os/inc/ |
H A D | heap.h | 33 int heapFreeAll(uint32_t tid);
|
H A D | isr.h | 41 uint16_t tid; member in struct:ChainedIsr 47 isr->tid = osGetCurrentTid(); 55 isr->tid = 0; 69 osSetCurrentTid(curIsr->tid); 79 static inline int unchainIsrAll(struct ChainedInterrupt *interrupt, uint32_t tid) argument 86 if (curIsr->tid == tid) {
|
H A D | seos_priv.h | 26 #define TID_TO_TASK_IDX(tid) (tid & TASK_TID_IDX_MASK) 66 uint16_t tid; member in struct:Task 93 uint16_t tid; member in struct:SeosInternalSlabData::__anon332 114 struct Task *osTaskFindByTid(uint32_t tid); 127 task->tid = ((task->tid + TASK_TID_INCREMENT) & TASK_TID_COUNTER_MASK) |
|
H A D | timer.h | 43 uint32_t timTimerSetAsApp(uint64_t length, uint32_t jitterPpm, uint32_t driftPpm, uint32_t tid, void* data, bool oneShot); /* return timer id or 0 if failed */ 47 int timTimerCancelAll(uint32_t tid);
|
H A D | chreApi.h | 64 void osChreFreeEvent(uint32_t tid, void (*free_info)(uint16_t, void *), uint32_t evtType, void * evtData);
|
H A D | platform.h | 42 uint32_t platFreeResources(uint32_t tid);
|
H A D | cpu.h | 41 bool cpuAppInit(const struct AppHdr *appHdr, struct PlatAppInfo *platInfo, uint32_t tid);
|
H A D | syscallDo.h | 42 static inline bool eOsEventSubscribe(uint32_t tid, uint32_t evtType) argument 44 return syscallDo2P(SYSCALL_NO(SYSCALL_DOMAIN_OS, SYSCALL_OS_MAIN, SYSCALL_OS_MAIN_EVENTQ, SYSCALL_OS_MAIN_EVTQ_SUBCRIBE), tid, evtType); 47 static inline bool eOsEventUnsubscribe(uint32_t tid, uint32_t evtType) argument 49 return syscallDo2P(SYSCALL_NO(SYSCALL_DOMAIN_OS, SYSCALL_OS_MAIN, SYSCALL_OS_MAIN_EVENTQ, SYSCALL_OS_MAIN_EVTQ_UNSUBCRIBE), tid, evtType); 107 static inline uint32_t eOsSensorRegister(const struct SensorInfo *si, uint32_t tid, void *cookie, bool initComplete) argument 109 return syscallDo4P(SYSCALL_NO(SYSCALL_DOMAIN_OS, SYSCALL_OS_MAIN, SYSCALL_OS_MAIN_SENSOR, SYSCALL_OS_MAIN_SENSOR_REG), si, tid, cookie, (int)initComplete); 172 static inline uint32_t eOsTimTimerSet(uint64_t length, uint32_t jitterPpm, uint32_t driftPpm, uint32_t tid, void* cookie, bool oneShot) argument 177 return syscallDoGeneric(SYSCALL_NO(SYSCALL_DOMAIN_OS, SYSCALL_OS_MAIN, SYSCALL_OS_MAIN_TIME, SYSCALL_OS_MAIN_TIME_SET_TIMER), lengthLo, lengthHi, jitterPpm, driftPpm, tid, cookie, (int)oneShot);
|
H A D | seos.h | 156 bool osEventSubscribe(uint32_t tid, uint32_t evtType); /* async */ 157 bool osEventUnsubscribe(uint32_t tid, uint32_t evtType); /* async */ 174 bool osTidById(uint64_t *appId, uint32_t *tid); 269 bool osAppIsChre(uint16_t tid);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
H A D | thread_lwp.h | 31 thread_t tid;
local 36 success = lwp_create(&tid, func, MINPRIO, 0, lwp_newstk(), 1, arg);
42 thread_t tid;
local 45 if (lwp_self(&tid) < 0)
47 return tid.thread_id;
|
H A D | thread_beos.h | 118 thread_id tid;
local 129 tid = spawn_thread( (thread_func)func, name,
131 if( tid > B_NO_ERROR ) {
132 success = resume_thread( tid );
135 return ( success == B_NO_ERROR ? tid : -1 );
141 thread_id tid;
local 142 tid = find_thread( NULL );
144 return ( tid != B_NAME_NOT_FOUND ? tid : -1 );
|
H A D | thread_solaris.h | 41 thread_t tid;
local 51 THR_DETACHED | THR_NEW_LWP, &tid)) {
56 return tid;
|
H A D | thread_atheos.h | 102 thread_id tid;
local 111 tid = spawn_thread(name, func, NORMAL_PRIORITY, 0, arg);
112 if (tid < 0) {
115 success = resume_thread(tid);
121 return (success < 0 ? -1 : tid);
|
/device/google/contexthub/firmware/os/platform/native/ |
H A D | platform.c | 63 uint32_t platFreeResources(uint32_t tid) argument
|
/device/google/contexthub/firmware/os/core/ |
H A D | timer.c | 44 uint16_t tid; /* we need TID always, for system management */ member in struct:Timer 84 osSetCurrentTid(tim->tid); 91 if (!osEnqueuePrivateEvt(EVT_APP_TIMER, evt, timerCallFuncFreeF, tim->tid)) { 186 t->tid = osGetCurrentTid(); 200 uint32_t timTimerSetAsApp(uint64_t length, uint32_t jitterPpm, uint32_t driftPpm, uint32_t tid, void* data, bool oneShot) argument 229 if (t && t->tid == osGetCurrentTid()) { 253 int timTimerCancelAll(uint32_t tid) argument 262 if (tim->tid != tid)
|
H A D | heap.c | 205 int heapFreeAll(uint32_t tid) argument 211 if (!tid) 219 tid &= TIDX_MASK; 221 if (node->tidx == tid) {
|
H A D | seos.c | 93 bool osAppIsChre(uint16_t tid) argument 95 struct Task *task = osTaskFindByTid(tid); 142 return task->tid; 145 uint32_t osSetCurrentTid(uint32_t tid) argument 147 struct Task *task = osTaskByIdx(TID_TO_TASK_IDX(tid)); 149 if (task && task->tid == tid) { 151 return preempted->tid; 182 task->tid, 249 uint16_t tid local 276 osTaskFindByTid(uint32_t tid) argument 293 uint16_t tid = task->tid; local 970 uint16_t tid = EVENT_GET_ORIGIN(evtType); local 1084 uint16_t tid, evt; local 1162 osEventSubscribe(uint32_t tid, uint32_t evtType) argument 1168 osEventUnsubscribe(uint32_t tid, uint32_t evtType) argument 1310 osTidById(uint64_t *appId, uint32_t *tid) argument [all...] |
/device/google/contexthub/firmware/os/platform/stm32/inc/plat/ |
H A D | dma.h | 61 int dmaStopAll(uint32_t tid);
|
/device/google/contexthub/firmware/os/platform/stm32/ |
H A D | dma.c | 89 uint16_t tid; member in struct:StmDmaStreamState 201 uint16_t oldTid = osSetCurrentTid(state->tid); 214 uint16_t oldTid = osSetCurrentTid(state->tid); 247 state->tid = osGetCurrentTid(); 288 state->tid = 0; 304 int dmaStopAll(uint32_t tid) argument 311 if (state->tid == tid) {
|
/device/google/contexthub/firmware/os/drivers/orientation/ |
H A D | orientation.c | 108 uint32_t tid; member in struct:FusionTask 593 if (sensorRequest(mTask.tid, mTask.accelHandle, mTask.raw_sensor_rate[ACC], 595 osEventSubscribe(mTask.tid, EVT_SENSOR_ACC_DATA_RDY); 600 sensorRequestRateChange(mTask.tid, mTask.accelHandle, mTask.raw_sensor_rate[ACC], 614 if (sensorRequest(mTask.tid, mTask.gyroHandle, mTask.raw_sensor_rate[GYR], 616 osEventSubscribe(mTask.tid, EVT_SENSOR_GYR_DATA_RDY); 621 sensorRequestRateChange(mTask.tid, mTask.gyroHandle, mTask.raw_sensor_rate[GYR], 635 if (sensorRequest(mTask.tid, mTask.magHandle, mTask.raw_sensor_rate[MAG], 637 osEventSubscribe(mTask.tid, EVT_SENSOR_MAG_DATA_RDY); 638 osEventSubscribe(mTask.tid, EVT_SENSOR_MAG_BIA 833 fusionStart(uint32_t tid) argument [all...] |
/device/google/contexthub/firmware/os/drivers/ams_tmd2772/ |
H A D | ams_tmd2772.c | 171 uint32_t tid; member in struct:SensorData 225 osEnqueuePrivateEvt(EVT_SENSOR_I2C, cookie, NULL, mData.tid); 266 osEnqueuePrivateEvt(EVT_SENSOR_ALS_TIMER, cookie, NULL, mData.tid); 271 osEnqueuePrivateEvt(EVT_SENSOR_PROX_TIMER, cookie, NULL, mData.tid); 354 osEnqueuePrivateEvt(EVT_SENSOR_ALS_TIMER, NULL, NULL, mData.tid); 365 static bool sendLastSampleAls(void *cookie, uint32_t tid) { argument 371 result = osEnqueuePrivateEvt(sensorGetMyEventType(SENS_TYPE_ALS), mData.lastAlsSample.vptr, NULL, tid); 409 osEnqueuePrivateEvt(EVT_SENSOR_PROX_TIMER, NULL, NULL, mData.tid); 420 static bool sendLastSampleProx(void *cookie, uint32_t tid) { argument 428 result = osEnqueuePrivateEvt(sensorGetMyEventType(SENS_TYPE_PROX), sample.vptr, NULL, tid); [all...] |
/device/google/contexthub/firmware/os/drivers/window_orientation/ |
H A D | window_orientation.c | 113 uint32_t tid; member in struct:WindowOrientationTask 561 sensorRelease(mTask.tid, mTask.accelHandle); 563 osEventUnsubscribe(mTask.tid, EVT_SENSOR_ACC_DATA_RDY); 577 if (sensorRequest(mTask.tid, mTask.accelHandle, ACCEL_MIN_RATE_HZ, ACCEL_MAX_LATENCY_NS)) { 582 osEventSubscribe(mTask.tid, EVT_SENSOR_ACC_DATA_RDY); 642 static bool window_orientation_start(uint32_t tid) argument 644 mTask.tid = tid;
|
/device/google/contexthub/firmware/os/drivers/st_lps22hb/ |
H A D | lps22hb.c | 112 uint32_t tid; member in struct:lps22hbTask 154 osEnqueuePrivateEvt(EVT_COMM_DONE, cookie, NULL, mTask.tid); 212 osEnqueuePrivateEvt(EVT_SENSOR_BARO_TIMER, data, NULL, mTask.tid); 217 osEnqueuePrivateEvt(EVT_SENSOR_TEMP_TIMER, data, NULL, mTask.tid); 403 //osEnqueuePrivateEvt(EVT_TEST, NULL, NULL, mTask.tid); 471 osEventUnsubscribe(mTask.tid, EVT_APP_START); 533 mTask.tid = task_id; 558 osEventSubscribe(mTask.tid, EVT_APP_START);
|
/device/google/contexthub/firmware/os/drivers/rohm_rpr0521/ |
H A D | rohm_rpr0521.c | 220 uint32_t tid; member in struct:SensorData 264 osEnqueuePrivateEvt(EVT_SENSOR_PROX_INTERRUPT, NULL, NULL, mTask.tid); 299 osEnqueuePrivateEvt(EVT_SENSOR_I2C, cookie, NULL, mTask.tid); 306 osEnqueuePrivateEvt(EVT_SENSOR_ALS_TIMER, cookie, NULL, mTask.tid); 424 static bool sendLastSampleAls(void *cookie, uint32_t tid) { argument 430 result = osEnqueuePrivateEvt(sensorGetMyEventType(SENS_TYPE_ALS), mTask.lastAlsSample.vptr, NULL, tid); 497 static bool sendLastSampleProx(void *cookie, uint32_t tid) { argument 504 result = osEnqueuePrivateEvt(sensorGetMyEventType(SENS_TYPE_PROX), sample.vptr, NULL, tid); 717 mTask.tid = myTid;
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
H A D | test_threading.py | 155 tid = thread.start_new_thread(f, (mutex,))
158 self.assertIn(tid, threading._active)
159 self.assertIsInstance(threading._active[tid], threading._DummyThread)
160 del threading._active[tid]
180 tid = thread.get_ident()
183 result = set_async_exc(ctypes.c_long(tid), exception)
|