/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
D | fantog.c | 33 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/ |
D | timeriomem-rng.c | 50 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/ |
D | osnoise.c | 196 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()
|
D | osnoise.h | 20 unsigned long long period_us; member
|
/linux-6.12.1/drivers/power/reset/ |
D | at91-sama5d2_shdwc.c | 177 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/ |
D | inv_mpu_core.c | 627 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/ |
D | dml2_pmo_dcn4_fams2.c | 1141 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/ |
D | iocost_monitor.py | 99 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/ |
D | blk-iocost.c | 413 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/ |
D | mmc_ops.h | 43 int __mmc_poll_for_busy(struct mmc_host *host, unsigned int period_us,
|
D | mmc_ops.c | 502 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/ |
D | sched-rt-group.rst | 94 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/ |
D | dml2_internal_shared_types.h | 262 double period_us; member
|
/linux-6.12.1/Documentation/trace/ |
D | osnoise-tracer.rst | 101 - osnoise/period_us: the period of the osnoise thread.
|
/linux-6.12.1/tools/perf/ui/gtk/ |
D | hists.c | 73 __HPP_COLOR_PERCENT_FN(overhead_us, period_us) in __HPP_COLOR_PERCENT_FN()
|
/linux-6.12.1/tools/perf/util/ |
D | hist.h | 166 u64 period_us; member
|
D | hist.c | 278 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/ |
D | hist.c | 476 HPP_PERCENT_FNS(overhead_us, period_us) in HPP_PERCENT_FNS()
|
/linux-6.12.1/tools/perf/ui/browsers/ |
D | hists.c | 1270 __HPP_COLOR_PERCENT_FN(overhead_us, period_us) in __HPP_COLOR_PERCENT_FN()
|