Home
last modified time | relevance | path

Searched refs:duty_cycle (Results 1 – 4 of 4) sorted by relevance

/external/perfetto/tools/busy_threads/
Dbusy_threads.cc50 long duty_cycle = -1; in BusyThreadsMain() local
68 duty_cycle = atol(optarg); in BusyThreadsMain()
74 if (num_threads < 1 || period_us < 0 || duty_cycle < 1 || duty_cycle > 100) { in BusyThreadsMain()
80 long busy_us = period_us * duty_cycle / 100; in BusyThreadsMain()
/external/perfetto/tools/
Dload_tool107 duty_cycle, argument
113 '--duty_cycle={}'.format(duty_cycle),
133 duty_cycle,
180 duty_cycle,
189 for duty_cycle in BUSY_THREADS_DUTY_CYCLE_PARAMS:
197 duty_cycle,
/external/u-boot/drivers/power/regulator/
Dpwm_regulator.c67 int duty_cycle; in pwm_regulator_set_voltage() local
70 duty_cycle = pwm_voltage_to_duty_cycle_percentage(dev, uvolt); in pwm_regulator_set_voltage()
79 priv->period_ns, (priv->period_ns / 100) * duty_cycle); in pwm_regulator_set_voltage()
/external/u-boot/drivers/video/
Dpwm_backlight.c29 uint duty_cycle; in pwm_backlight_enable() local
45 duty_cycle = priv->period_ns * (priv->default_level - priv->min_level) / in pwm_backlight_enable()
48 duty_cycle); in pwm_backlight_enable()