Home
last modified time | relevance | path

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

1234

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/
Dcvslock.py112 def __init__(self, repository = ".", delay = DELAY): argument
114 self.delay = delay
167 sleep(st, self.repository, self.delay)
173 def sleep(st, repository, delay): argument
174 if delay <= 0:
184 time.sleep(delay)
189 def __init__(self, repository, delay = DELAY): argument
190 Lock.__init__(self, repository, delay)
206 def __init__(self, repository, delay = DELAY): argument
207 Lock.__init__(self, repository, delay)
[all …]
/device/google/contexthub/firmware/os/platform/stm32/
Drtc.c110 #define RTC_VALID_DELAY_FOR_PERIOD(delay, period) \ argument
111 (delay < (period * (RTC_WKUP_DOWNCOUNT_MAX + 1)))
163 int rtcSetWakeupTimer(uint64_t delay) in rtcSetWakeupTimer() argument
171 if (delay < (RTC_DIV2_PERIOD_NS * 2)) { in rtcSetWakeupTimer()
173 } else if (delay > (NS_PER_S * 2 * RTC_WKUP_DOWNCOUNT_MAX)) { in rtcSetWakeupTimer()
174 delay = NS_PER_S * 2 * RTC_WKUP_DOWNCOUNT_MAX; in rtcSetWakeupTimer()
178 if (RTC_VALID_DELAY_FOR_PERIOD(delay, RTC_DIV2_PERIOD_NS)) { in rtcSetWakeupTimer()
184 else if (RTC_VALID_DELAY_FOR_PERIOD(delay, RTC_DIV4_PERIOD_NS)) { in rtcSetWakeupTimer()
190 else if (RTC_VALID_DELAY_FOR_PERIOD(delay, RTC_DIV8_PERIOD_NS)) { in rtcSetWakeupTimer()
196 else if (RTC_VALID_DELAY_FOR_PERIOD(delay, RTC_DIV16_PERIOD_NS)) { in rtcSetWakeupTimer()
[all …]
Dplatform.c386 static uint64_t platSetTimerAlarm(uint64_t delay) //delay at most that many nsec in platSetTimerAlarm() argument
394 …if (delay >= (1000ULL << 32)) //it is only a 32-bit counter - we cannot set delays bigger than that in platSetTimerAlarm()
397 delayInUsecs = cpuMathUint44Div1000ToUint32(delay); in platSetTimerAlarm()
431 static bool sleepClockRtcPrepare(uint64_t delay, uint32_t acceptableJitter, uint32_t acceptableDrif… in sleepClockRtcPrepare() argument
436 if (delay && rtcSetWakeupTimer(delay) < 0) in sleepClockRtcPrepare()
453 static bool sleepClockTmrPrepare(uint64_t delay, uint32_t acceptableJitter, uint32_t acceptableDrif… in sleepClockTmrPrepare() argument
458 *savedData = platSetTimerAlarm(delay ?: ~0ull); in sleepClockTmrPrepare()
497 static bool sleepClockJustWfiPrepare(uint64_t delay, uint32_t acceptableJitter, uint32_t acceptable… in sleepClockJustWfiPrepare() argument
512 …bool (*prepare)(uint64_t delay, uint32_t acceptableJitter, uint32_t acceptableDrift, uint32_t maxA…
/device/google/bonito/sdm710/kernel-headers/media/
Dmsm_camsensor_sdk.h222 unsigned short delay; member
242 unsigned short delay; member
250 uint16_t delay; member
291 unsigned int delay; member
298 unsigned short delay; member
344 unsigned short delay; member
355 unsigned short delay; member
373 unsigned int delay; member
380 unsigned short delay; member
/device/google/crosshatch/sdm845/original-kernel-headers/media/
Dmsm_camsensor_sdk.h239 unsigned short delay; member
262 unsigned short delay; member
271 uint16_t delay; member
322 unsigned int delay; member
330 unsigned short delay; member
383 unsigned short delay; member
395 unsigned short delay; member
421 unsigned int delay; member
429 unsigned short delay; member
/device/google/crosshatch/sdm845/kernel-headers/media/
Dmsm_camsensor_sdk.h222 unsigned short delay; member
242 unsigned short delay; member
250 uint16_t delay; member
291 unsigned int delay; member
298 unsigned short delay; member
344 unsigned short delay; member
355 unsigned short delay; member
373 unsigned int delay; member
380 unsigned short delay; member
/device/google/bonito/sdm710/original-kernel-headers/media/
Dmsm_camsensor_sdk.h239 unsigned short delay; member
262 unsigned short delay; member
271 uint16_t delay; member
322 unsigned int delay; member
330 unsigned short delay; member
383 unsigned short delay; member
395 unsigned short delay; member
421 unsigned int delay; member
429 unsigned short delay; member
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_thread.py49 delay = random.random() / 10000.0
50 verbose_print("task %s will run for %sus" % (ident, round(delay*1e6)))
51 time.sleep(delay)
176 delay = 0
179 delay = random.random() / 10000.0
181 (ident, round(delay * 1e6)))
182 time.sleep(delay)
Dtest_dummy_threading.py17 delay = 0
19 print 'task', self.name, 'will run for', delay, 'sec'
26 time.sleep(delay)
Dtest_dummy_thread.py67 def delay_unlock(to_unlock, delay): argument
69 time.sleep(delay)
146 def queue_mark(queue, delay): argument
148 time.sleep(delay)
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/
Dmeminit_utils.c879 uint32_t delay[], in find_rising_edge() argument
914 set_rcvn(channel, rank, bl_i, delay[bl_i] + (sample_i * SAMPLE_DLY)); in find_rising_edge()
918 set_wdqs(channel, rank, bl_i, delay[bl_i] + (sample_i * SAMPLE_DLY)); in find_rising_edge()
947 delay[bl_i] += 2 * SAMPLE_DLY; in find_rising_edge()
953 delay[bl_i] += 1 * SAMPLE_DLY; in find_rising_edge()
964 delay[bl_i] += 0 * SAMPLE_DLY; in find_rising_edge()
969 delay[bl_i] += 2 * SAMPLE_DLY; in find_rising_edge()
980 delay[bl_i] += 0 * SAMPLE_DLY; in find_rising_edge()
990 set_rcvn(channel, rank, bl_i, delay[bl_i]); in find_rising_edge()
994 set_wdqs(channel, rank, bl_i, delay[bl_i]); in find_rising_edge()
[all …]
Dmeminit.c1093 uint32_t delay[NUM_BYTE_LANES]; // absolute PI value to be programmed on the byte lane in rcvn_cal() local
1145 delay[bl_i] = 3 * FULL_CLK; in rcvn_cal()
1147 delay[bl_i] = (4 + 1) * FULL_CLK; // 1x CLK domain timing is tCAS-4 in rcvn_cal()
1150 set_rcvn(channel_i, rank_i, bl_i, delay[bl_i]); in rcvn_cal()
1154 find_rising_edge(mrc_params, delay, channel_i, rank_i, true); in rcvn_cal()
1158 delay[bl_i] += QRTR_CLK; in rcvn_cal()
1159 set_rcvn(channel_i, rank_i, bl_i, delay[bl_i]); in rcvn_cal()
1170 if (delay[bl_i] >= FULL_CLK) in rcvn_cal()
1172 delay[bl_i] -= FULL_CLK; in rcvn_cal()
1173 set_rcvn(channel_i, rank_i, bl_i, delay[bl_i]); in rcvn_cal()
[all …]
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/DeviceTree/
Dhi6220-hikey.dts121 power-off-delay-us = <10>;
309 card-detect-delay = <200>;
394 regulator-enable-ramp-delay = <120>;
401 regulator-enable-ramp-delay = <120>;
408 regulator-enable-ramp-delay = <360>;
415 regulator-enable-ramp-delay = <120>;
422 regulator-enable-ramp-delay = <120>;
431 regulator-enable-ramp-delay = <120>;
438 regulator-enable-ramp-delay = <120>;
445 regulator-enable-ramp-delay = <360>;
[all …]
Dhi3660-hikey960.dts144 regulator-enable-ramp-delay = <120>;
151 regulator-enable-ramp-delay = <240>;
158 regulator-enable-ramp-delay = <240>;
167 regulator-enable-ramp-delay = <120>;
174 regulator-enable-ramp-delay = <360>;
188 /* WLAN card specific delay */
189 startup-delay-us = <70000>;
/device/linaro/bootloader/arm-trusted-firmware/plat/rockchip/rk3328/drivers/pmu/
Dpmu.c269 uint32_t delay = PLL_LOCKED_TIMEOUT; in pm_pll_wait_lock() local
271 while (delay > 0) { in pm_pll_wait_lock()
275 delay--; in pm_pll_wait_lock()
277 if (delay == 0) in pm_pll_wait_lock()
312 uint32_t delay = PLL_LOCKED_TIMEOUT; in dpll_resume() local
323 while (delay > 0) { in dpll_resume()
327 delay--; in dpll_resume()
329 if (delay == 0) in dpll_resume()
/device/google/contexthub/firmware/os/drivers/st_acc44/
Dst_acc44.c226 uint32_t delay; member
256 bool (*comm_tx)(uint8_t addr, uint8_t data, uint32_t delay, bool last);
257 bool (*comm_rx)(uint8_t addr, uint16_t len, uint32_t delay, bool last);
594 static bool st_acc44_i2c_read(uint8_t addr, uint16_t len, uint32_t delay, bool last) in st_acc44_i2c_read() argument
600 xfer->delay = delay; in st_acc44_i2c_read()
613 static bool st_acc44_i2c_write(uint8_t addr, uint8_t data, uint32_t delay, bool last) in st_acc44_i2c_write() argument
619 xfer->delay = delay; in st_acc44_i2c_write()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dsched.py57 def enter(self, delay, priority, action, argument): argument
63 time = self.timefunc() + delay
/device/google/contexthub/firmware/os/drivers/st_mag40/
Dst_mag40.c204 uint32_t delay; member
237 void (*comm_tx)(uint8_t addr, uint8_t data, uint32_t delay, bool last);
238 void (*comm_rx)(uint8_t addr, uint16_t len, uint32_t delay, bool last);
347 if (xfer->delay > 0) { in i2cCallback()
352 if (!timTimerSet(xfer->delay * 1000, 0, 50, i2cDelayCallback, xfer, true)) { in i2cCallback()
357 xfer->delay = 0; in i2cCallback()
371 static void i2c_read(uint8_t addr, uint16_t len, uint32_t delay, bool last) in i2c_read() argument
376 xfer->delay = delay; in i2c_read()
383 static void i2c_write(uint8_t addr, uint8_t data, uint32_t delay, bool last) in i2c_write() argument
388 xfer->delay = delay; in i2c_write()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/
Dlpwatch.py14 delay = DEF_DELAY # XXX Use getopt() later
39 time.sleep(delay)
/device/google/contexthub/firmware/os/platform/native/
Drtc.c31 int rtcSetWakeupTimer(uint64_t delay, int ppm) in rtcSetWakeupTimer() argument
/device/google/contexthub/firmware/os/platform/native/inc/plat/
Drtc.h33 int rtcSetWakeupTimer(uint64_t delay, int ppm);
/device/google/contexthub/firmware/os/platform/stm32/inc/plat/
Drtc.h40 int rtcSetWakeupTimer(uint64_t delay);
/device/google/contexthub/firmware/os/drivers/st_hts221/
Dhts221.c167 bool (*comm_tx)(uint8_t addr, uint8_t data, uint32_t delay, uint8_t state);
168 bool (*comm_rx)(uint8_t addr, uint16_t len, uint32_t delay, uint8_t state);
224 static bool i2c_read(uint8_t addr, uint16_t len, uint32_t delay, uint8_t state) in i2c_read() argument
248 static bool i2c_write(uint8_t addr, uint8_t data, uint32_t delay, uint8_t state) in i2c_write() argument
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/logging/
Dhandlers.py59 def __init__(self, filename, mode, encoding=None, delay=0): argument
65 logging.FileHandler.__init__(self, filename, mode, encoding, delay)
90 def __init__(self, filename, mode='a', maxBytes=0, backupCount=0, encoding=None, delay=0): argument
118 BaseRotatingHandler.__init__(self, filename, mode, encoding, delay)
170 …def __init__(self, filename, when='h', interval=1, backupCount=0, encoding=None, delay=False, utc=… argument
171 BaseRotatingHandler.__init__(self, filename, 'a', encoding, delay)
385 def __init__(self, filename, mode='a', encoding=None, delay=0): argument
386 logging.FileHandler.__init__(self, filename, mode, encoding, delay)
/device/google/contexthub/firmware/os/inc/
Dspi.h59 uint32_t delay; member

1234