Home
last modified time | relevance | path

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

/linux-6.12.1/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.12.1/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.12.1/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.12.1/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.12.1/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_core.c627 unsigned int freq_hz, period_us, min_sleep_us, max_sleep_us; in inv_mpu6050_read_channel_data() local
633 period_us = 1000000 / freq_hz; in inv_mpu6050_read_channel_data()
647 min_sleep_us = 2 * period_us; in inv_mpu6050_read_channel_data()
648 max_sleep_us = 2 * (period_us + period_us / 2); in inv_mpu6050_read_channel_data()
661 min_sleep_us = period_us; in inv_mpu6050_read_channel_data()
662 max_sleep_us = period_us + period_us / 2; in inv_mpu6050_read_channel_data()
680 min_sleep_us = period_us; in inv_mpu6050_read_channel_data()
681 max_sleep_us = period_us + period_us / 2; in inv_mpu6050_read_channel_data()
696 period_us = 1000000 / freq_hz; in inv_mpu6050_read_channel_data()
699 min_sleep_us = 2 * period_us; in inv_mpu6050_read_channel_data()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_pmo/
Ddml2_pmo_dcn4_fams2.c1141 if (stream_method_fams2_meta->allow_time_us >= stream_method_fams2_meta->period_us) { in build_method_scheduling_params()
1146 stream_method_fams2_meta->period_us - stream_method_fams2_meta->allow_time_us; in build_method_scheduling_params()
1213 group_fams2_meta->period_us = stream_method_fams2_meta->period_us; in is_timing_group_schedulable()
1352 …d_us = s->pmo_dcn4.group_common_fams2_meta[s->pmo_dcn4.sorted_group_gtl_period_index[j]].period_us; in is_config_schedulable()
1353 … = s->pmo_dcn4.group_common_fams2_meta[s->pmo_dcn4.sorted_group_gtl_period_index[j + 1]].period_us; in is_config_schedulable()
1372 …n_fams2_meta[sorted_i].allow_time_us < s->pmo_dcn4.group_common_fams2_meta[sorted_ip1].period_us || in is_config_schedulable()
1394 …if (s->pmo_dcn4.group_common_fams2_meta[0].period_us < s->pmo_dcn4.group_common_fams2_meta[1].peri… in is_config_schedulable()
1399 …>pmo_dcn4.group_common_fams2_meta[lrg_idx].period_us / s->pmo_dcn4.group_common_fams2_meta[sml_idx… in is_config_schedulable()
1400 …shift_per_period = s->pmo_dcn4.group_common_fams2_meta[sml_idx].period_us * (period_ratio - math_f… in is_config_schedulable()
1402 …elay_us = max_shift_us / shift_per_period * s->pmo_dcn4.group_common_fams2_meta[lrg_idx].period_us; in is_config_schedulable()
[all …]
/linux-6.12.1/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.12.1/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.12.1/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.12.1/Documentation/scheduler/
Dsched-rt-group.rst94 less or equal to the period_us, as it denotes the time allocated from the
95 period_us for the real-time tasks. Even without CONFIG_RT_GROUP_SCHED enabled,
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/inc/
Ddml2_internal_shared_types.h262 double period_us; member
/linux-6.12.1/Documentation/trace/
Dosnoise-tracer.rst101 - osnoise/period_us: the period of the osnoise thread.
/linux-6.12.1/tools/perf/ui/gtk/
Dhists.c73 __HPP_COLOR_PERCENT_FN(overhead_us, period_us) in __HPP_COLOR_PERCENT_FN()
/linux-6.12.1/tools/perf/util/
Dhist.h166 u64 period_us; member
Dhist.c278 he_stat->period_us += period; in he_stat__add_cpumode_period()
309 dest->period_us += src->period_us; in he_stat__add_stat()
/linux-6.12.1/tools/perf/ui/
Dhist.c476 HPP_PERCENT_FNS(overhead_us, period_us) in HPP_PERCENT_FNS()
/linux-6.12.1/tools/perf/ui/browsers/
Dhists.c1270 __HPP_COLOR_PERCENT_FN(overhead_us, period_us) in __HPP_COLOR_PERCENT_FN()