Searched refs:period_ms (Results 1 – 7 of 7) sorted by relevance
54 uint32_t ClampTo10Ms(uint32_t period_ms, const char* counter_name) { in ClampTo10Ms() argument55 if (period_ms > 0 && period_ms < 10) { in ClampTo10Ms()58 counter_name, period_ms); in ClampTo10Ms()61 return period_ms; in ClampTo10Ms()152 uint32_t period_ms = thiz.tick_period_ms_; in Tick() local153 uint32_t delay_ms = period_ms - (base::GetWallTimeMs().count() % period_ms); in Tick()
25 int period_ms; member68 int (*set_period)(struct udevice *dev, int period_ms);107 int led_set_period(struct udevice *dev, int period_ms);
55 int led_set_period(struct udevice *dev, int period_ms) in led_set_period() argument62 return ops->set_period(dev, period_ms); in led_set_period()
128 static int bcm6328_led_set_period(struct udevice *dev, int period_ms) in bcm6328_led_set_period() argument133 bcm6328_blink_delay(period_ms)); in bcm6328_led_set_period()
62 max_period = std::max(max_period, it->period_ms); in MaxPeakPeriod()78 peak_data.period_ms = peak_period_counter_ms_; in Update()
61 int period_ms; member
347 uint32_t period_ms = thiz.poll_period_ms_; in Tick() local348 uint32_t delay_ms = period_ms - (base::GetWallTimeMs().count() % period_ms); in Tick()