Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/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.1.9/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.1.9/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_core.c588 unsigned int freq_hz, period_us, min_sleep_us, max_sleep_us; in inv_mpu6050_read_channel_data() local
594 period_us = 1000000 / freq_hz; in inv_mpu6050_read_channel_data()
608 min_sleep_us = 2 * period_us; in inv_mpu6050_read_channel_data()
609 max_sleep_us = 2 * (period_us + period_us / 2); in inv_mpu6050_read_channel_data()
622 min_sleep_us = period_us; in inv_mpu6050_read_channel_data()
623 max_sleep_us = period_us + period_us / 2; in inv_mpu6050_read_channel_data()
641 min_sleep_us = period_us; in inv_mpu6050_read_channel_data()
642 max_sleep_us = period_us + period_us / 2; in inv_mpu6050_read_channel_data()
657 period_us = 1000000 / freq_hz; in inv_mpu6050_read_channel_data()
660 min_sleep_us = 2 * period_us; in inv_mpu6050_read_channel_data()
[all …]
/linux-6.1.9/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.1.9/tools/cgroup/
Diocost_monitor.py99 self.period_ms = ioc.period_us.value_() / 1_000
156 period_vtime = ioc.period_us.value_() * vrate
163 ioc.period_us.value_()) if self.active else 0
/linux-6.1.9/block/
Dblk-iocost.c409 u32 period_us; member
753 u32 period_us = ioc->period_us; in ioc_refresh_margins() local
756 margins->min = (period_us * MARGIN_MIN_PCT / 100) * vrate; in ioc_refresh_margins()
757 margins->low = (period_us * MARGIN_LOW_PCT / 100) * vrate; in ioc_refresh_margins()
758 margins->target = (period_us * MARGIN_TARGET_PCT / 100) * vrate; in ioc_refresh_margins()
764 u32 ppm, lat, multi, period_us; in ioc_refresh_period_us() local
789 period_us = multi * lat; in ioc_refresh_period_us()
790 period_us = clamp_t(u32, period_us, MIN_PERIOD, MAX_PERIOD); in ioc_refresh_period_us()
793 ioc->period_us = period_us; in ioc_refresh_period_us()
795 (u64)period_us * NSEC_PER_USEC * TIMER_SLACK_PCT, in ioc_refresh_period_us()
[all …]
/linux-6.1.9/drivers/mmc/core/
Dmmc_ops.h44 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.1.9/tools/perf/util/
Dsort.h48 u64 period_us; member
Dhist.c276 he_stat->period_us += period; in he_stat__add_cpumode_period()
307 dest->period_us += src->period_us; in he_stat__add_stat()
/linux-6.1.9/Documentation/trace/
Dosnoise-tracer.rst101 - osnoise/period_us: the period of the osnoise thread.
/linux-6.1.9/tools/perf/ui/gtk/
Dhists.c73 __HPP_COLOR_PERCENT_FN(overhead_us, period_us) in __HPP_COLOR_PERCENT_FN()
/linux-6.1.9/tools/perf/ui/
Dhist.c433 HPP_PERCENT_FNS(overhead_us, period_us) in HPP_PERCENT_FNS()
/linux-6.1.9/tools/perf/ui/browsers/
Dhists.c1279 __HPP_COLOR_PERCENT_FN(overhead_us, period_us) in __HPP_COLOR_PERCENT_FN()