/prebuilts/ndk/r11/platforms/android-8/arch-arm/usr/include/asm/ |
locks.h | 21 #define __up_op(ptr,wake) ({ smp_mb(); __asm__ __volatile__( "@ up_op\n" "1: ldrex lr, [%0]\n" " add lr, lr, %1\n" " strex ip, lr, [%0]\n" " teq ip, #0\n" " bne 1b\n" " cmp lr, #0\n" " movle ip, %0\n" " blle " #wake : : "r" (ptr), "I" (1) : "ip", "lr", "cc"); }) 28 #define __up_op_write(ptr,wake) ({ smp_mb(); __asm__ __volatile__( "@ up_op_write\n" "1: ldrex lr, [%0]\n" " adds lr, lr, %1\n" " strex ip, lr, [%0]\n" " teq ip, #0\n" " bne 1b\n" " movcs ip, %0\n" " blcs " #wake : : "r" (ptr), "I" (RW_LOCK_BIAS) : "ip", "lr", "cc"); }) 32 #define __up_op_read(ptr,wake) ({ smp_mb(); __asm__ __volatile__( "@ up_op_read\n" "1: ldrex lr, [%0]\n" " add lr, lr, %1\n" " strex ip, lr, [%0]\n" " teq ip, #0\n" " bne 1b\n" " teq lr, #0\n" " moveq ip, %0\n" " bleq " #wake : : "r" (ptr), "I" (1) : "ip", "lr", "cc"); }) 40 #define __up_op(ptr,wake) ({ smp_mb(); __asm__ __volatile__( "@ up_op\n" " mrs ip, cpsr\n" " orr lr, ip, #128\n" " msr cpsr_c, lr\n" " ldr lr, [%0]\n" " adds lr, lr, %1\n" " str lr, [%0]\n" " msr cpsr_c, ip\n" " movle ip, %0\n" " blle " #wake : : "r" (ptr), "I" (1) : "ip", "lr", "cc"); }) 47 #define __up_op_write(ptr,wake) ({ __asm__ __volatile__( "@ up_op_write\n" " mrs ip, cpsr\n" " orr lr, ip, #128\n" " msr cpsr_c, lr\n" " ldr lr, [%0]\n" " adds lr, lr, %1\n" " str lr, [%0]\n" " msr cpsr_c, ip\n" " movcs ip, %0\n" " blcs " #wake : : "r" (ptr), "I" (RW_LOCK_BIAS) : "ip", "lr", "cc"); smp_mb(); } [all...] |
/prebuilts/ndk/r11/platforms/android-9/arch-arm/usr/include/asm/ |
locks.h | 21 #define __up_op(ptr,wake) ({ smp_mb(); __asm__ __volatile__( "@ up_op\n" "1: ldrex lr, [%0]\n" " add lr, lr, %1\n" " strex ip, lr, [%0]\n" " teq ip, #0\n" " bne 1b\n" " cmp lr, #0\n" " movle ip, %0\n" " blle " #wake : : "r" (ptr), "I" (1) : "ip", "lr", "cc"); }) 28 #define __up_op_write(ptr,wake) ({ smp_mb(); __asm__ __volatile__( "@ up_op_write\n" "1: ldrex lr, [%0]\n" " adds lr, lr, %1\n" " strex ip, lr, [%0]\n" " teq ip, #0\n" " bne 1b\n" " movcs ip, %0\n" " blcs " #wake : : "r" (ptr), "I" (RW_LOCK_BIAS) : "ip", "lr", "cc"); }) 32 #define __up_op_read(ptr,wake) ({ smp_mb(); __asm__ __volatile__( "@ up_op_read\n" "1: ldrex lr, [%0]\n" " add lr, lr, %1\n" " strex ip, lr, [%0]\n" " teq ip, #0\n" " bne 1b\n" " teq lr, #0\n" " moveq ip, %0\n" " bleq " #wake : : "r" (ptr), "I" (1) : "ip", "lr", "cc"); }) 40 #define __up_op(ptr,wake) ({ smp_mb(); __asm__ __volatile__( "@ up_op\n" " mrs ip, cpsr\n" " orr lr, ip, #128\n" " msr cpsr_c, lr\n" " ldr lr, [%0]\n" " adds lr, lr, %1\n" " str lr, [%0]\n" " msr cpsr_c, ip\n" " movle ip, %0\n" " blle " #wake : : "r" (ptr), "I" (1) : "ip", "lr", "cc"); }) 47 #define __up_op_write(ptr,wake) ({ __asm__ __volatile__( "@ up_op_write\n" " mrs ip, cpsr\n" " orr lr, ip, #128\n" " msr cpsr_c, lr\n" " ldr lr, [%0]\n" " adds lr, lr, %1\n" " str lr, [%0]\n" " msr cpsr_c, ip\n" " movcs ip, %0\n" " blcs " #wake : : "r" (ptr), "I" (RW_LOCK_BIAS) : "ip", "lr", "cc"); smp_mb(); } [all...] |
/external/ltp/testcases/realtime/func/prio-wake/ |
run_auto.sh | 12 $SCRIPTS_DIR/run_c_files.sh $profile prio-wake
|
prio-wake.c | 20 * prio-wake.c 71 printf("prio-wake specific options:\n"); 118 printf("%08lld us: Master thread about to wake the workers\n", 137 nsec_t start, wake; local 156 wake = rt_gettime() - beginrun; 160 wake / NS_PER_US, j, mypri);
|
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/ |
ALooper.h | 33 void wake();
|
ALooper.cpp | 37 void ALooper::wake() { function in class:ALooper
|
/packages/services/Car/libvehiclemonitor/native/ |
HandlerThread.cpp | 50 looper->wake();
|
/hardware/akm/AK8975_FS/libsensors/ |
sensors.cpp | 145 static const size_t wake = numFds - 1; member in struct:sensors_poll_context_t 180 ALOGE_IF(result<0, "error creating wake pipe (%s)", strerror(errno)); 185 mPollFds[wake].fd = wakeFds[0]; 186 mPollFds[wake].events = POLLIN; 187 mPollFds[wake].revents = 0; 194 close(mPollFds[wake].fd); 233 ALOGE_IF(result<0, "error sending wake message (%s)", strerror(errno)); 310 if (mPollFds[wake].revents & POLLIN) { 312 int result = read(mPollFds[wake].fd, &msg, 1); 313 ALOGE_IF(result<0, "error reading from wake pipe (%s)", strerror(errno)) [all...] |
/system/media/audio_utils/ |
fifo_index.cpp | 40 int audio_utils_fifo_index::wake(int op, int waiters) function in class:audio_utils_fifo_index 102 mIndex.wake(mWakeOp, mWaiters);
|
/frameworks/base/core/jni/ |
android_os_MessageQueue.cpp | 49 void wake(); 121 void NativeMessageQueue::wake() { function in class:android::NativeMessageQueue 122 mLooper->wake(); 196 nativeMessageQueue->wake();
|
/system/libfmq/include/fmq/ |
EventFlag.h | 79 * Set the specified bits of the event flag word here and wake up a thread. 86 status_t wake(uint32_t bitmask); 94 * @param efState The event flag bits that caused the return from wake. 95 * @param retry If true, retry automatically for a spurious wake. If false, 96 * will return -EINTR or -EAGAIN for a spurious wake.
|
/system/media/audio_utils/include/audio_utils/ |
fifo_index.h | 69 * Wake up any threads waiting for the value of index to change. 72 * \param waiters Maximum number of waiting threads to wake up. 76 int wake(int op, int waiters = 1); 100 * A reference to an audio_utils_fifo_index with deferred store-release and deferred wake. 125 // waiters is number of waiting threads to wake up 135 int mWaiters; // number of waiters to wake 136 int mWakeOp; // which kind of wake operation to use
|
/prebuilts/go/darwin-x86/src/sync/ |
mutex.go | 64 // to not wake other blocked goroutines. 119 // been woken or grabbed the lock, no need to wake anyone. 123 // Grab the right to wake someone.
|
/prebuilts/go/linux-x86/src/sync/ |
mutex.go | 64 // to not wake other blocked goroutines. 119 // been woken or grabbed the lock, no need to wake anyone. 123 // Grab the right to wake someone.
|
/device/google/contexthub/firmware/os/platform/stm32/ |
platform.c | 474 leftTicks = cnt; //if we wake NOT from timer, only count the ticks that actually ticked as "time passed" 500 void (*wake)(void *userData, uint64_t *savedData); member in struct:PlatSleepAndClockInfo 513 .wake = sleepClockRtcWake, 527 .wake = sleepClockRtcWake, 541 .wake = sleepClockRtcWake, 555 .wake = sleepClockRtcWake, 569 .wake = sleepClockTmrWake, 594 //shortcut the sleep if it is time to wake up already 612 //skip options that will take too long to wake up to be of use 629 //skip all options that wake up too slowl [all...] |
/frameworks/native/libs/sensor/ |
SensorEventQueue.cpp | 117 status_t SensorEventQueue::wake() const function in class:android::SensorEventQueue 120 looper->wake(); 178 // Send mNumAcksToSend to acknowledge for the wake up sensor events received.
|
/hardware/libhardware/modules/input/evdev/ |
InputHub.h | 139 virtual status_t wake() = 0; 153 * wake(), which may be used to return from poll() before an input or device 165 virtual status_t wake() override; 181 * When using this mechanism, epoll_wait will internally acquire a wake 182 * lock whenever one of the FDs it is monitoring becomes ready. The wake 193 * hold a wake lock whenever its buffer is non-empty. We must take care 194 * to acquire our own userspace wake lock before draining the buffer to 202 * The kernel doesn't seem to support any special wake mechanism. 204 * We explicitly acquire and release wake locks when processing input
|
/prebuilts/go/darwin-x86/test/chan/ |
select6.go | 12 // will never wake up. In the code below c1 is such a channel.
|
/prebuilts/go/linux-x86/test/chan/ |
select6.go | 12 // will never wake up. In the code below c1 is such a channel.
|
/frameworks/base/native/android/ |
looper.cpp | 75 ALooper_to_Looper(looper)->wake();
|
/frameworks/native/libs/sensor/include/sensor/ |
SensorEventQueue.h | 79 status_t wake() const;
|
/device/linaro/bootloader/OpenPlatformPkg/Platforms/ARM/VExpress/AcpiTables/rtsm_ve-aemv8a/ |
facp.asl | 96 RTC wake not in fixed reg space (V1) : 0 97 RTC can wake system from S4 (V1) : 0 106 RTC_STS valid on S4 wake (V4) : 0
|
/device/linaro/bootloader/edk2/UefiCpuPkg/ResetVector/Vtf0/Ia16/ |
ResetVectorVtf0.asm | 39 ; used to wake up the application processors.
|
/external/ltp/testcases/lib/ |
test.sh | 397 ROD tst_checkpoint wake 10000 "$1" 1 402 ROD tst_checkpoint wake 10000 "$1" "$2"
|
/external/blktrace/ |
blkiomon.c | 272 struct timespec wake, r; local 276 clock_gettime(CLOCK_REALTIME, &wake); 279 wake.tv_sec += interval; 280 if (clock_nanosleep(CLOCK_REALTIME, TIMER_ABSTIME, &wake, &r)) { 296 tail = blkiomon_output(head, &wake);
|