Searched defs:tid (Results 1 - 25 of 39) sorted by relevance

12

/device/google/contexthub/firmware/os/platform/native/
H A Dplatform.c63 uint32_t platFreeResources(uint32_t tid) argument
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
H A Dthread_lwp.h31 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 Dthread_solaris.h41 thread_t tid; local
51 THR_DETACHED | THR_NEW_LWP, &tid)) {
56 return tid;
H A Dthread_atheos.h102 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);
H A Dthread_beos.h118 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 Dthread_os2.h160 TID tid = 0; local
/device/google/contexthub/firmware/os/inc/
H A Disr.h41 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 Dseos_priv.h26 #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 Dsensors.h155 uint32_t tid; member in struct:SensorSendDirectEventEvent
178 bool (*sensorSendOneDirectEvt)(void *, uint32_t tid); //resend last state (if known), only for onchange-supporting sensors, to bring on a new client
260 uint32_t sensorRegisterAsApp(const struct SensorInfo *si, uint32_t tid, void *callData, bool initComplete); /* returns handle, copy is not made */
H A DsyscallDo.h42 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);
/device/google/contexthub/firmware/app/chre/common/
H A Dchre_app.c35 static bool chreappStart(uint32_t tid) argument
/device/google/contexthub/firmware/os/core/
H A Dheap.c205 int heapFreeAll(uint32_t tid) argument
211 if (!tid)
219 tid &= TIDX_MASK;
221 if (node->tidx == tid) {
H A Dspi.c41 uint16_t tid; member in struct:SpiDeviceState
159 uint16_t oldTid = osSetCurrentTid(state->tid);
219 uint16_t oldTid = osSetCurrentTid(state->tid);
253 uint16_t oldTid = osSetCurrentTid(state->tid);
282 state->tid = osGetCurrentTid();
H A Dtimer.c44 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 Dnanohub_chre.c121 task->app->hdr.appId, task->tid, abortCode);
146 void osChreFreeEvent(uint32_t tid, chreEventCompleteFunction *cbFreeEvt, uint32_t evtType, void * evtData) argument
148 struct Task *chreTask = osTaskFindByTid(tid);
H A Dsensors.c328 static bool sensorCallFuncSendOneDirectEvt(struct Sensor* s, uint32_t tid) argument
331 INVOKE_AS_OWNER_AND_RETURN(LOCAL_APP_OPS(s)->sensorSendOneDirectEvt, s->callData, tid);
338 evt->externalSendDirectEvt.tid = tid;
H A DosApi.c37 (void)va_arg(args, uint32_t); // tid
45 (void)va_arg(args, uint32_t); // tid
55 uint32_t tid = va_arg(args, uint32_t); local
57 *retValP = osEnqueueEvtAsApp(evtType, evtData, tid ? true : false);
64 (void)va_arg(args, uint32_t); // tid
111 (void)va_arg(args, uint32_t); // tid
143 (void)va_arg(args, uint32_t); // clientId == tid
155 (void)va_arg(args, uint32_t); // clientId == tid
167 (void)va_arg(args, uint32_t); // clientId == tid
175 (void)va_arg(args, uint32_t); // clientId == tid
298 uint32_t tid; local
[all...]
/device/google/contexthub/firmware/os/cpu/cortexm4/
H A DappSupport.c191 bool cpuAppInit(const struct AppHdr *app, struct PlatAppInfo *platInfo, uint32_t tid) argument
194 return callWithR9((const void*)APP_FLASH_RELOC_BASE(app), app->vec.init, platInfo->data, tid, 0);
196 return APP_VEC(app)->init(tid);
H A Dcpu.c40 uint16_t tid; member in struct:RamPersistedDataAndDropbox
128 osLog(LOG_ERROR, " TID = 0x%04" PRIX16 " TRIG = 0x%04" PRIX16 " [%s]\n", dbx->tid, dbx->trig, trigName);
276 dbx->tid = osGetCurrentTid();
/device/google/contexthub/firmware/os/drivers/hall/
H A Dhall.c181 static bool hallSendLastSample(void *cookie, uint32_t tid) argument
188 result = osEnqueuePrivateEvt(sensorGetMyEventType(SENS_TYPE_HALL), sample.vptr, NULL, tid);
/device/google/contexthub/firmware/os/drivers/hall_twopole/
H A Dhall_twopole.c197 static bool hallSendLastSample(void *cookie, uint32_t tid) argument
204 result = osEnqueuePrivateEvt(sensorGetMyEventType(SENS_TYPE_HALL), sample.vptr, NULL, tid);
/device/google/contexthub/firmware/os/platform/stm32/
H A Dexti.c213 int extiUnchainAll(uint32_t tid) argument
219 count += unchainIsrAll(&exti->base, tid);
H A Ddma.c89 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/linaro/hikey/power/
H A Dpower_hikey.c255 pthread_t tid; local
267 pthread_create(&tid, NULL, schedtune_deboost_thread, hikey);
/device/google/marlin/camera/usbcamcore/src/
H A DQCameraMjpegDecode.cpp102 int tid; member in struct:__anon1371
211 thread_ctrl_blks[i].tid = i;

Completed in 149 milliseconds

12