Home
last modified time | relevance | path

Searched refs:period_us (Results 1 – 16 of 16) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
Dfantog.c33 u32 period_us; member
57 u64 next_change = (percent * fan->period_us) / 100; in nvkm_fantog_update()
59 next_change = fan->period_us - next_change; in nvkm_fantog_update()
111 fan->period_us = 100000; /* 10Hz */ in nvkm_fantog_create()
/linux-6.6.21/drivers/char/hw_random/
Dtimeriomem-rng.c50 int period_us = ktime_to_us(priv->period); in timeriomem_rng_read() local
71 usleep_range(period_us, in timeriomem_rng_read()
72 period_us + max(1, period_us / 100)); in timeriomem_rng_read()
/linux-6.6.21/tools/tracing/rtla/src/
Dosnoise.c196 long long period_us; in osnoise_get_period() local
198 if (context->period_us != OSNOISE_TIME_INIT_VAL) in osnoise_get_period()
199 return context->period_us; in osnoise_get_period()
204 period_us = osnoise_read_ll_config("osnoise/period_us"); in osnoise_get_period()
205 if (period_us < 0) in osnoise_get_period()
208 context->orig_period_us = period_us; in osnoise_get_period()
209 return period_us; in osnoise_get_period()
243 context->period_us = period; in __osnoise_write_period()
309 unsigned long long curr_period = context->period_us; in osnoise_restore_runtime_period()
324 context->period_us = OSNOISE_TIME_INIT_VAL; in osnoise_restore_runtime_period()
Dosnoise.h20 unsigned long long period_us; member
/linux-6.6.21/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_core.c601 unsigned int freq_hz, period_us, min_sleep_us, max_sleep_us; in inv_mpu6050_read_channel_data() local
607 period_us = 1000000 / freq_hz; in inv_mpu6050_read_channel_data()
621 min_sleep_us = 2 * period_us; in inv_mpu6050_read_channel_data()
622 max_sleep_us = 2 * (period_us + period_us / 2); in inv_mpu6050_read_channel_data()
635 min_sleep_us = period_us; in inv_mpu6050_read_channel_data()
636 max_sleep_us = period_us + period_us / 2; in inv_mpu6050_read_channel_data()
654 min_sleep_us = period_us; in inv_mpu6050_read_channel_data()
655 max_sleep_us = period_us + period_us / 2; in inv_mpu6050_read_channel_data()
670 period_us = 1000000 / freq_hz; in inv_mpu6050_read_channel_data()
673 min_sleep_us = 2 * period_us; in inv_mpu6050_read_channel_data()
[all …]
/linux-6.6.21/drivers/power/reset/
Dat91-sama5d2_shdwc.c177 unsigned long long period_us; in at91_shdwc_debouncer_value() local
188 period_us = DBC_PERIOD_US(sdwc_dbc_period[i]); in at91_shdwc_debouncer_value()
190 __func__, i, period_us); in at91_shdwc_debouncer_value()
191 if (in_period_us > period_us) in at91_shdwc_debouncer_value()
/linux-6.6.21/tools/cgroup/
Diocost_monitor.py99 self.period_ms = ioc.period_us.value_() / 1_000
159 period_vtime = ioc.period_us.value_() * vrate
166 ioc.period_us.value_()) if self.active else 0
/linux-6.6.21/block/
Dblk-iocost.c413 u32 period_us; member
756 u32 period_us = ioc->period_us; in ioc_refresh_margins() local
759 margins->min = (period_us * MARGIN_MIN_PCT / 100) * vrate; in ioc_refresh_margins()
760 margins->low = (period_us * MARGIN_LOW_PCT / 100) * vrate; in ioc_refresh_margins()
761 margins->target = (period_us * MARGIN_TARGET_PCT / 100) * vrate; in ioc_refresh_margins()
767 u32 ppm, lat, multi, period_us; in ioc_refresh_period_us() local
792 period_us = multi * lat; in ioc_refresh_period_us()
793 period_us = clamp_t(u32, period_us, MIN_PERIOD, MAX_PERIOD); in ioc_refresh_period_us()
796 ioc->period_us = period_us; in ioc_refresh_period_us()
798 (u64)period_us * NSEC_PER_USEC * TIMER_SLACK_PCT, in ioc_refresh_period_us()
[all …]
/linux-6.6.21/drivers/mmc/core/
Dmmc_ops.h43 int __mmc_poll_for_busy(struct mmc_host *host, unsigned int period_us,
Dmmc_ops.c502 int __mmc_poll_for_busy(struct mmc_host *host, unsigned int period_us, in __mmc_poll_for_busy() argument
509 unsigned int udelay = period_us ? period_us : 32, udelay_max = 32768; in __mmc_poll_for_busy()
/linux-6.6.21/tools/perf/util/
Dsort.h49 u64 period_us; member
Dhist.c277 he_stat->period_us += period; in he_stat__add_cpumode_period()
308 dest->period_us += src->period_us; in he_stat__add_stat()
/linux-6.6.21/Documentation/trace/
Dosnoise-tracer.rst101 - osnoise/period_us: the period of the osnoise thread.
/linux-6.6.21/tools/perf/ui/gtk/
Dhists.c73 __HPP_COLOR_PERCENT_FN(overhead_us, period_us) in __HPP_COLOR_PERCENT_FN()
/linux-6.6.21/tools/perf/ui/
Dhist.c436 HPP_PERCENT_FNS(overhead_us, period_us) in HPP_PERCENT_FNS()
/linux-6.6.21/tools/perf/ui/browsers/
Dhists.c1269 __HPP_COLOR_PERCENT_FN(overhead_us, period_us) in __HPP_COLOR_PERCENT_FN()