/device/linaro/bootloader/arm-trusted-firmware/include/lib/pmf/ |
D | pmf_helpers.h | 22 typedef unsigned long long (*pmf_svc_get_ts_t)(unsigned int tid, 66 unsigned int tid, \ 70 PMF_VALIDATE_TID(_name, tid); \ 73 __pmf_store_timestamp(base_addr, tid, ts); \ 75 __pmf_dump_timestamp(tid, ts); \ 78 unsigned int tid, \ 82 PMF_VALIDATE_TID(_name, tid); \ 85 __pmf_store_timestamp_with_cache_maint(base_addr, tid, ts);\ 87 __pmf_dump_timestamp(tid, ts); \ 95 unsigned int tid, unsigned int cpuid, unsigned int flags)\ [all …]
|
D | pmf.h | 62 unsigned int tid, \ 65 unsigned int tid, \ 101 unsigned int tid, \ 105 unsigned int tid, \ 162 int pmf_get_timestamp_smc(unsigned int tid,
|
/device/linaro/bootloader/arm-trusted-firmware/lib/pmf/ |
D | pmf_main.c | 118 static pmf_svc_desc_t *get_service(unsigned int tid) in get_service() argument 123 unsigned int svc_id = tid & PMF_SVC_ID_MASK; in get_service() 146 if ((svc_id == desc_svc_id) && ((tid & PMF_TID_MASK) < in get_service() 157 int pmf_get_timestamp_smc(unsigned int tid, in pmf_get_timestamp_smc() argument 166 svc_desc = get_service(tid); in pmf_get_timestamp_smc() 173 *ts_value = svc_desc->get_ts(tid, mpidr, flags); in pmf_get_timestamp_smc() 182 void __pmf_dump_timestamp(unsigned int tid, unsigned long long ts) in __pmf_dump_timestamp() argument 185 plat_my_core_pos(), tid, ts); in __pmf_dump_timestamp() 193 unsigned int tid, in calc_ts_addr() argument 199 PMF_PERCPU_TIMESTAMP_SIZE) - ((tid & PMF_TID_MASK) * in calc_ts_addr() [all …]
|
/device/google/contexthub/firmware/os/inc/ |
D | isr.h | 41 uint16_t tid; member 47 isr->tid = osGetCurrentTid(); in chainIsr() 55 isr->tid = 0; in unchainIsr() 69 osSetCurrentTid(curIsr->tid); in dispatchIsr() 79 static inline int unchainIsrAll(struct ChainedInterrupt *interrupt, uint32_t tid) in unchainIsrAll() argument 86 if (curIsr->tid == tid) { in unchainIsrAll()
|
D | seos_priv.h | 27 #define TID_TO_TASK_IDX(tid) (tid & TASK_TID_IDX_MASK) argument 68 uint16_t tid; member 95 uint16_t tid; member 118 struct Task *osTaskFindByTid(uint32_t tid); 144 task->tid = ((task->tid + TASK_TID_INCREMENT) & TASK_TID_COUNTER_MASK) | in osTaskMakeNewTid()
|
D | heap.h | 30 int heapFreeAll(uint32_t tid); 32 int heapGetTaskSize(uint32_t tid);
|
D | timer.h | 44 uint32_t timTimerSetAsApp(uint64_t length, uint32_t jitterPpm, uint32_t driftPpm, uint32_t tid, voi… 48 int timTimerCancelAll(uint32_t tid);
|
D | syscallDo.h | 42 static inline bool eOsEventSubscribe(uint32_t tid, uint32_t evtType) in eOsEventSubscribe() argument 44 …_DOMAIN_OS, SYSCALL_OS_MAIN, SYSCALL_OS_MAIN_EVENTQ, SYSCALL_OS_MAIN_EVTQ_SUBCRIBE), tid, evtType); in eOsEventSubscribe() 47 static inline bool eOsEventUnsubscribe(uint32_t tid, uint32_t evtType) in eOsEventUnsubscribe() argument 49 …OMAIN_OS, SYSCALL_OS_MAIN, SYSCALL_OS_MAIN_EVENTQ, SYSCALL_OS_MAIN_EVTQ_UNSUBCRIBE), tid, evtType); in eOsEventUnsubscribe() 107 static inline uint32_t eOsSensorRegister(const struct SensorInfo *si, uint32_t tid, void *cookie, b… in eOsSensorRegister() argument 109 … SYSCALL_OS_MAIN, SYSCALL_OS_MAIN_SENSOR, SYSCALL_OS_MAIN_SENSOR_REG), si, tid, cookie, (int)initC… in eOsSensorRegister() 177 …mTimerSet(uint64_t length, uint32_t jitterPpm, uint32_t driftPpm, uint32_t tid, void* cookie, bool… in eOsTimTimerSet() argument 182 … SYSCALL_OS_MAIN_TIME_SET_TIMER), lengthLo, lengthHi, jitterPpm, driftPpm, tid, cookie, (int)oneSh… in eOsTimTimerSet()
|
D | seos.h | 132 uint16_t tid; member 162 bool osEventSubscribe(uint32_t tid, uint32_t evtType); /* async */ 163 bool osEventUnsubscribe(uint32_t tid, uint32_t evtType); /* async */ 180 bool osTidById(const uint64_t *appId, uint32_t *tid); 297 bool osAppIsChre(uint16_t tid); 298 uint32_t osAppChreVersion(uint16_t tid);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
D | thread_beos.h | 118 thread_id tid; in PyThread_start_new_thread() local 129 tid = spawn_thread( (thread_func)func, name, in PyThread_start_new_thread() 131 if( tid > B_NO_ERROR ) { in PyThread_start_new_thread() 132 success = resume_thread( tid ); in PyThread_start_new_thread() 135 return ( success == B_NO_ERROR ? tid : -1 ); in PyThread_start_new_thread() 141 thread_id tid; in PyThread_get_thread_ident() local 142 tid = find_thread( NULL ); in PyThread_get_thread_ident() 144 return ( tid != B_NAME_NOT_FOUND ? tid : -1 ); in PyThread_get_thread_ident()
|
D | thread_lwp.h | 31 thread_t tid; in PyThread_start_new_thread() local 36 success = lwp_create(&tid, func, MINPRIO, 0, lwp_newstk(), 1, arg); in PyThread_start_new_thread() 42 thread_t tid; in PyThread_get_thread_ident() local 45 if (lwp_self(&tid) < 0) in PyThread_get_thread_ident() 47 return tid.thread_id; in PyThread_get_thread_ident()
|
D | thread_atheos.h | 102 thread_id tid; in PyThread_start_new_thread() local 111 tid = spawn_thread(name, func, NORMAL_PRIORITY, 0, arg); in PyThread_start_new_thread() 112 if (tid < 0) { in PyThread_start_new_thread() 115 success = resume_thread(tid); in PyThread_start_new_thread() 121 return (success < 0 ? -1 : tid); in PyThread_start_new_thread()
|
D | thread_solaris.h | 41 thread_t tid; in PyThread_start_new_thread() local 51 THR_DETACHED | THR_NEW_LWP, &tid)) { in PyThread_start_new_thread() 56 return tid; in PyThread_start_new_thread()
|
/device/google/contexthub/firmware/os/core/ |
D | timer.c | 47 uint16_t tid; /* we need TID always, for system management */ member 95 osSetCurrentTid(tim->tid); in timCallFunc() 102 if (!osEnqueuePrivateEvt(EVT_APP_TIMER, evt, timerCallFuncFreeF, tim->tid)) { in timCallFunc() 199 t->tid = osGetCurrentTid(); in timTimerSetEx() 216 uint32_t timTimerSetAsApp(uint64_t length, uint32_t jitterPpm, uint32_t driftPpm, uint32_t tid, voi… in timTimerSetAsApp() argument 245 if (t && t->tid == osGetCurrentTid()) { in timTimerCancelEx() 269 int timTimerCancelAll(uint32_t tid) in timTimerCancelAll() argument 278 if (tim->tid != tid) in timTimerCancelAll()
|
D | seos.c | 93 bool osAppIsChre(uint16_t tid) in osAppIsChre() argument 95 struct Task *task = osTaskFindByTid(tid); in osAppIsChre() 100 uint32_t osAppChreVersion(uint16_t tid) in osAppChreVersion() argument 102 struct Task *task = osTaskFindByTid(tid); in osAppChreVersion() 152 return task->tid; in osGetCurrentTid() 155 uint32_t osSetCurrentTid(uint32_t tid) in osSetCurrentTid() argument 157 struct Task *task = osTaskByIdx(TID_TO_TASK_IDX(tid)); in osSetCurrentTid() 159 if (task && task->tid == tid) { in osSetCurrentTid() 161 return preempted->tid; in osSetCurrentTid() 192 task->tid, in dumpListItems() [all …]
|
D | heap.c | 205 int heapFreeAll(uint32_t tid) in heapFreeAll() argument 211 if (!tid) in heapFreeAll() 219 tid &= TIDX_MASK; in heapFreeAll() 221 if (node->tidx == tid) { in heapFreeAll() 258 int heapGetTaskSize(uint32_t tid) in heapGetTaskSize() argument 269 tid &= TIDX_MASK; in heapGetTaskSize() 271 if (node->used && node->tidx == tid) { in heapGetTaskSize()
|
/device/google/contexthub/firmware/os/drivers/orientation/ |
D | orientation.c | 108 uint32_t tid; member 593 if (sensorRequest(mTask.tid, mTask.accelHandle, mTask.raw_sensor_rate[ACC], in fusionSetRateAcc() 595 osEventSubscribe(mTask.tid, EVT_SENSOR_ACC_DATA_RDY); in fusionSetRateAcc() 600 sensorRequestRateChange(mTask.tid, mTask.accelHandle, mTask.raw_sensor_rate[ACC], in fusionSetRateAcc() 614 if (sensorRequest(mTask.tid, mTask.gyroHandle, mTask.raw_sensor_rate[GYR], in fusionSetRateGyr() 616 osEventSubscribe(mTask.tid, EVT_SENSOR_GYR_DATA_RDY); in fusionSetRateGyr() 621 sensorRequestRateChange(mTask.tid, mTask.gyroHandle, mTask.raw_sensor_rate[GYR], in fusionSetRateGyr() 635 if (sensorRequest(mTask.tid, mTask.magHandle, mTask.raw_sensor_rate[MAG], in fusionSetRateMag() 637 osEventSubscribe(mTask.tid, EVT_SENSOR_MAG_DATA_RDY); in fusionSetRateMag() 638 osEventSubscribe(mTask.tid, EVT_SENSOR_MAG_BIAS); in fusionSetRateMag() [all …]
|
/device/google/contexthub/firmware/os/platform/stm32/ |
D | dma.c | 89 uint16_t tid; member 201 uint16_t oldTid = osSetCurrentTid(state->tid); in dmaIsrTeif() 214 uint16_t oldTid = osSetCurrentTid(state->tid); in dmaIsrTcif() 247 state->tid = osGetCurrentTid(); in dmaStart() 288 state->tid = 0; in dmaStop() 304 int dmaStopAll(uint32_t tid) in dmaStopAll() argument 311 if (state->tid == tid) { in dmaStopAll()
|
/device/google/contexthub/firmware/os/drivers/intersil_isl29034/ |
D | isl29034.c | 137 uint32_t tid; member 177 osEnqueuePrivateEvt(EVT_SENSOR_I2C, cookie, NULL, mData.tid); in i2cCallback() 218 osEnqueuePrivateEvt(EVT_SENSOR_ALS_TIMER, cookie, NULL, mData.tid); in alsTimerCallback() 265 osEnqueuePrivateEvt(EVT_SENSOR_ALS_TIMER, NULL, NULL, mData.tid); in sensorRateAls() 276 static bool sendLastSampleAls(void *cookie, uint32_t tid) in sendLastSampleAls() argument 283 …lt = osEnqueuePrivateEvt(sensorGetMyEventType(SENS_TYPE_ALS), mData.lastAlsSample.vptr, NULL, tid); in sendLastSampleAls() 388 mData.tid = myTid; in init_app() 418 osEventUnsubscribe(mData.tid, EVT_APP_START); in handle_event()
|
/device/google/contexthub/firmware/os/drivers/ams_tmd2772/ |
D | ams_tmd2772.c | 171 uint32_t tid; member 225 osEnqueuePrivateEvt(EVT_SENSOR_I2C, cookie, NULL, mData.tid); in i2cCallback() 266 osEnqueuePrivateEvt(EVT_SENSOR_ALS_TIMER, cookie, NULL, mData.tid); in alsTimerCallback() 271 osEnqueuePrivateEvt(EVT_SENSOR_PROX_TIMER, cookie, NULL, mData.tid); in proxTimerCallback() 354 osEnqueuePrivateEvt(EVT_SENSOR_ALS_TIMER, NULL, NULL, mData.tid); in sensorRateAls() 365 static bool sendLastSampleAls(void *cookie, uint32_t tid) { in sendLastSampleAls() argument 371 …lt = osEnqueuePrivateEvt(sensorGetMyEventType(SENS_TYPE_ALS), mData.lastAlsSample.vptr, NULL, tid); in sendLastSampleAls() 409 osEnqueuePrivateEvt(EVT_SENSOR_PROX_TIMER, NULL, NULL, mData.tid); in sensorRateProx() 420 static bool sendLastSampleProx(void *cookie, uint32_t tid) { in sendLastSampleProx() argument 428 result = osEnqueuePrivateEvt(sensorGetMyEventType(SENS_TYPE_PROX), sample.vptr, NULL, tid); in sendLastSampleProx() [all …]
|
/device/generic/goldfish-opengl/android-emu/android/base/threads/ |
D | AndroidThread_pthread.cpp | 182 pthread_t tid = pthread_self(); in getCurrentThreadId() local 185 static_assert(sizeof(tid) >= sizeof(long), in getCurrentThreadId() 187 return *reinterpret_cast<unsigned long*>(&tid); in getCurrentThreadId()
|
/device/google/contexthub/firmware/os/drivers/si_si7034/ |
D | si7034a10.c | 121 uint32_t tid; member 172 osEnqueuePrivateEvt(EVT_SENSOR_I2C, cookie, NULL, mTask.tid); in i2cCallback() 217 osEnqueuePrivateEvt(EVT_SENSOR_HUMIDITY_TIMER, data, NULL, mTask.tid); in sensorHumiTimerCallback() 222 osEnqueuePrivateEvt(EVT_SENSOR_TEMP_TIMER, data, NULL, mTask.tid); in sensorTempTimerCallback() 388 osEnqueuePrivateEvt(EVT_TEST, NULL, NULL, mTask.tid); in handleI2cEvent() 426 osEventUnsubscribe(mTask.tid, EVT_APP_START); in handleEvent() 472 mTask.tid = task_id; in startTask() 487 osEventSubscribe(mTask.tid, EVT_APP_START); in startTask()
|
/device/generic/goldfish-opengl/android-emu/android/utils/ |
D | debug.c | 83 int tid = syscall(SYS_gettid); in android_tid_function_print() local 88 printf("%stid=0x%x: %s: ", prefix, tid, in android_tid_function_print() 91 printf("%stid=0x%x: ", prefix, tid); in android_tid_function_print()
|
/device/generic/opengl-transport/host/libs/virglrenderer/ |
D | Context.h | 78 if (pid != pid_ && tid != tid_) { in setPidTid() 83 tid = tid_; in setPidTid() 118 int tid = 0; member
|
/device/google/contexthub/firmware/os/drivers/window_orientation/ |
D | window_orientation.c | 117 uint32_t tid; member 565 sensorRelease(mTask.tid, mTask.accelHandle); in windowOrientationPower() 567 osEventUnsubscribe(mTask.tid, EVT_SENSOR_ACC_DATA_RDY); in windowOrientationPower() 581 … if (sensorRequest(mTask.tid, mTask.accelHandle, ACCEL_MIN_RATE_HZ, ACCEL_MAX_LATENCY_NS)) { in windowOrientationSetRate() 586 osEventSubscribe(mTask.tid, EVT_SENSOR_ACC_DATA_RDY); in windowOrientationSetRate() 646 static bool window_orientation_start(uint32_t tid) in window_orientation_start() argument 648 mTask.tid = tid; in window_orientation_start()
|