Home
last modified time | relevance | path

Searched refs:delay (Results 1 – 20 of 20) sorted by relevance

/device/google/contexthub/firmware/src/platform/stm32f4xx/
Drtc.c167 int rtcSetWakeupTimer(uint64_t delay) in rtcSetWakeupTimer() argument
175 if (delay < (RTC_DIV2_PERIOD_NS * 2)) { in rtcSetWakeupTimer()
180 if (delay < (RTC_DIV2_PERIOD_NS * RTC_WKUP_DOWNCOUNT_MAX)) { in rtcSetWakeupTimer()
186 else if (delay < ((unsigned long long)RTC_DIV4_PERIOD_NS * RTC_WKUP_DOWNCOUNT_MAX)) { in rtcSetWakeupTimer()
192 else if (delay < ((unsigned long long)RTC_DIV8_PERIOD_NS * RTC_WKUP_DOWNCOUNT_MAX)) { in rtcSetWakeupTimer()
198 else if (delay < ((unsigned long long)RTC_DIV16_PERIOD_NS * RTC_WKUP_DOWNCOUNT_MAX)) { in rtcSetWakeupTimer()
204 else if (delay < ((unsigned long long)NS_PER_S * RTC_WKUP_DOWNCOUNT_MAX)) { in rtcSetWakeupTimer()
210 else if (delay < ((unsigned long long)NS_PER_S * 2 * RTC_WKUP_DOWNCOUNT_MAX)) { in rtcSetWakeupTimer()
240 RTC->WUTR = cpuMathRecipAssistedUdiv64by32(delay, periodNs, periodNsRecip) - 1; in rtcSetWakeupTimer()
Dplatform.c385 static uint64_t platSetTimerAlarm(uint64_t delay) //delay at most that many nsec in platSetTimerAlarm() argument
393 …if (delay >= (1000ULL << 32)) //it is only a 32-bit counter - we cannot set delays bigger than that in platSetTimerAlarm()
396 delayInUsecs = cpuMathUint44Div1000ToUint32(delay); in platSetTimerAlarm()
428 static bool sleepClockRtcPrepare(uint64_t delay, uint32_t acceptableJitter, uint32_t acceptableDrif… in sleepClockRtcPrepare() argument
433 if (delay && rtcSetWakeupTimer(delay) < 0) in sleepClockRtcPrepare()
450 static bool sleepClockTmrPrepare(uint64_t delay, uint32_t acceptableJitter, uint32_t acceptableDrif… in sleepClockTmrPrepare() argument
455 *savedData = platSetTimerAlarm(delay ?: ~0ull); in sleepClockTmrPrepare()
494 static bool sleepClockJustWfiPrepare(uint64_t delay, uint32_t acceptableJitter, uint32_t acceptable… in sleepClockJustWfiPrepare() argument
509 …bool (*prepare)(uint64_t delay, uint32_t acceptableJitter, uint32_t acceptableDrift, uint32_t maxA…
/device/google/accessory/arduino/USB_Host_Shield/
DUsb.cpp341 static unsigned long delay = 0; in Task() local
358 delay = millis() + USB_SETTLE_DELAY; in Task()
375 if( delay < millis() ) { in Task()
389 delay = millis() + 20; //20ms wait after reset per USB spec in Task()
394 if( delay < millis() ) { //20ms passed in Task()
/device/google/contexthub/firmware/src/platform/linux/
Drtc.c31 int rtcSetWakeupTimer(uint64_t delay, int ppm) in rtcSetWakeupTimer() argument
/device/google/contexthub/firmware/inc/platform/linux/
Drtc.h33 int rtcSetWakeupTimer(uint64_t delay, int ppm);
/device/google/contexthub/firmware/inc/platform/stm32f4xx/
Drtc.h40 int rtcSetWakeupTimer(uint64_t delay);
/device/google/accessory/demokit/firmware/demokit/
Ddemokit.pde282 delay(10);
300 delay(1);
302 delay(1);
331 delay(1);
/device/google/contexthub/firmware/inc/
Dspi.h59 uint32_t delay; member
/device/google/dragon/audio/hal/
Dcras_dsp_pipeline.c621 int delay = 0; in calculate_audio_delay() local
629 delay = MAX(upstream->total_delay, delay); in calculate_audio_delay()
632 instance->total_delay = delay + module->get_delay(module); in calculate_audio_delay()
/device/asus/fugu/libaudio/
DAudioOutput.h82 void setExternalDelay_uSec(uint32_t delay);
/device/google/contexthub/firmware/src/
Dspi.c120 if (state->packets[i].delay > 0) { in spiMasterRxTxDone()
121 if (!timTimerSet(state->packets[i].delay, 0, 50, spiDelayCallback, state, true)) { in spiMasterRxTxDone()
/device/google/accessory/arduino/AndroidAccessory/
DAndroidAccessory.cpp57 delay(200); in powerOn()
/device/google/contexthub/firmware/src/drivers/bosch_bmi160/
Dbosch_bmi160.c182 #define SPI_WRITE_1(addr, data, delay) spiQueueWrite(addr, data, delay) argument
187 #define SPI_READ_1(addr, size, buf, delay) spiQueueRead(addr, size, buf, delay) argument
639 static void spiQueueWrite(uint8_t addr, uint8_t data, uint32_t delay) in spiQueueWrite() argument
649 T(packets[T(mRegCnt)]).delay = delay * 1000; in spiQueueWrite()
658 static void spiQueueRead(uint8_t addr, size_t size, uint8_t **buf, uint32_t delay) in spiQueueRead() argument
670 T(packets[T(mRegCnt)]).delay = delay * 1000; in spiQueueRead()
/device/sample/skins/WVGAMedDpi/
Dlayout436 delay none
/device/moto/shamu/location/loc_api/loc_api_v02/
Dlocation_service_v02.h1539 uint8_t delay; member
Dlocation_service_v02.c183 QMI_IDL_OFFSET8(qmiLocNiSuplQopStructT_v02, delay),
/device/lge/bullhead/location/loc_api/loc_api_v02/
Dlocation_service_v02.h1589 uint8_t delay; member
Dlocation_service_v02.c182 QMI_IDL_OFFSET8(qmiLocNiSuplQopStructT_v02, delay),
/device/huawei/angler/location/loc_api/loc_api_v02/
Dlocation_service_v02.h1589 uint8_t delay; member
Dlocation_service_v02.c182 QMI_IDL_OFFSET8(qmiLocNiSuplQopStructT_v02, delay),