Home
last modified time | relevance | path

Searched refs:period_ms (Results 1 – 13 of 13) sorted by relevance

/external/u-boot/include/
Dled.h25 int period_ms; member
68 int (*set_period)(struct udevice *dev, int period_ms);
107 int led_set_period(struct udevice *dev, int period_ms);
/external/perfetto/src/traced/probes/sys_stats/
Dsys_stats_data_source.cc56 uint32_t ClampTo10Ms(uint32_t period_ms, const char* counter_name) { in ClampTo10Ms() argument
57 if (period_ms > 0 && period_ms < 10) { in ClampTo10Ms()
60 counter_name, period_ms); in ClampTo10Ms()
63 return period_ms; in ClampTo10Ms()
181 uint32_t period_ms = thiz.tick_period_ms_; in Tick() local
182 uint32_t delay_ms = period_ms - (base::GetWallTimeMs().count() % period_ms); in Tick()
/external/u-boot/drivers/led/
Dled_bcm6858.c65 static u32 bcm6858_flash_rate_value(int period_ms) in bcm6858_flash_rate_value() argument
71 if (period_ms <= bcm6858_flash_rate[i]) { in bcm6858_flash_rate_value()
80 static int bcm6858_led_set_period(struct udevice *dev, int period_ms) in bcm6858_led_set_period() argument
88 value = bcm6858_flash_rate_value(period_ms) << shift; in bcm6858_led_set_period()
Dled-uclass.c56 int led_set_period(struct udevice *dev, int period_ms) in led_set_period() argument
63 return ops->set_period(dev, period_ms); in led_set_period()
Dled_bcm6328.c128 static int bcm6328_led_set_period(struct udevice *dev, int period_ms) in bcm6328_led_set_period() argument
133 bcm6328_blink_delay(period_ms)); in bcm6328_led_set_period()
/external/perfetto/src/profiling/perf/
Devent_config_unittest.cc93 uint32_t period_ms = 250; in TEST() local
95 cfg.set_ring_buffer_read_period_ms(period_ms); in TEST()
100 ASSERT_EQ(event_config->read_tick_period_ms(), period_ms); in TEST()
Dunwinding.cc406 uint32_t period_ms) { in PostClearCachedStatePeriodic() argument
408 [this, ds_id, period_ms] { ClearCachedStatePeriodic(ds_id, period_ms); }, in PostClearCachedStatePeriodic()
409 period_ms); in PostClearCachedStatePeriodic()
414 uint32_t period_ms) { in ClearCachedStatePeriodic() argument
432 PostClearCachedStatePeriodic(ds_id, period_ms); // repost in ClearCachedStatePeriodic()
Dunwinding.h98 uint32_t period_ms);
191 void ClearCachedStatePeriodic(DataSourceInstanceID ds_id, uint32_t period_ms);
Dperf_producer.cc75 uint32_t TimeToNextReadTickMs(DataSourceInstanceID ds_id, uint32_t period_ms) { in TimeToNextReadTickMs() argument
81 std::uniform_int_distribution<uint32_t> dist(0, period_ms - 1); in TimeToNextReadTickMs()
85 return period_ms - ((now_ms - ds_period_offset) % period_ms); in TimeToNextReadTickMs()
/external/webrtc/webrtc/modules/audio_coding/neteq/
Ddelay_peak_detector.cc62 max_period = std::max(max_period, it->period_ms); in MaxPeakPeriod()
78 peak_data.period_ms = peak_period_counter_ms_; in Update()
Ddelay_peak_detector.h61 int period_ms; member
/external/perfetto/src/traced/probes/ps/
Dprocess_stats_data_source.cc385 uint32_t period_ms = thiz.poll_period_ms_; in Tick() local
386 uint32_t delay_ms = period_ms - (base::GetWallTimeMs().count() % period_ms); in Tick()
/external/kernel-headers/original/uapi/misc/
Dhabanalabs.h193 __u32 period_ms; member