Home
last modified time | relevance | path

Searched refs:max_period (Results 1 – 21 of 21) sorted by relevance

/drivers/perf/
Driscv_pmu.c212 uint64_t max_period = riscv_pmu_ctr_get_width_mask(event); in riscv_pmu_event_set_period() local
234 if (left > (max_period >> 1)) in riscv_pmu_event_set_period()
235 left = (max_period >> 1); in riscv_pmu_event_set_period()
248 uint64_t max_period = riscv_pmu_ctr_get_width_mask(event); in riscv_pmu_start() local
256 init_val = local64_read(&hwc->prev_count) & max_period; in riscv_pmu_start()
Darm_pmu.c206 u64 max_period; in armpmu_event_set_period() local
209 max_period = arm_pmu_event_max_period(event); in armpmu_event_set_period()
230 if (left > (max_period >> 1)) in armpmu_event_set_period()
231 left = (max_period >> 1); in armpmu_event_set_period()
235 armpmu->write_counter(event, (u64)(-left) & max_period); in armpmu_event_set_period()
247 u64 max_period = arm_pmu_event_max_period(event); in armpmu_event_update() local
257 delta = (new_raw_count - prev_raw_count) & max_period; in armpmu_event_update()
Darm_spe_pmu.c326 u64 max_period = PMSIRR_EL1_INTERVAL_MASK; in arm_spe_event_sanitise_period() local
330 else if (period > max_period) in arm_spe_event_sanitise_period()
331 period = max_period; in arm_spe_event_sanitise_period()
333 period &= max_period; in arm_spe_event_sanitise_period()
Driscv_pmu_sbi.c640 uint64_t max_period; in pmu_sbi_start_overflow_mask() local
655 max_period = riscv_pmu_ctr_get_width_mask(event); in pmu_sbi_start_overflow_mask()
656 init_val = local64_read(&hwc->prev_count) & max_period; in pmu_sbi_start_overflow_mask()
Dxgene_pmu.c98 u64 max_period; member
1002 delta = (new_raw_count - prev_raw_count) & pmu_dev->max_period; in xgene_perf_event_update()
1095 pmu_dev->max_period = PMU_V3_CNT_MAX_PERIOD; in xgene_init_perf()
1097 pmu_dev->max_period = PMU_CNT_MAX_PERIOD; in xgene_init_perf()
/drivers/pwm/
Dpwm-bcm2835.c68 u64 max_period; in bcm2835_pwm_apply() local
91 max_period = DIV_ROUND_UP_ULL((u64)U32_MAX * NSEC_PER_SEC + NSEC_PER_SEC / 2, rate) - 1; in bcm2835_pwm_apply()
93 if (state->period > max_period) in bcm2835_pwm_apply()
/drivers/iio/common/inv_sensors/
Dinv_sensors_timestamp.c49 ts->max_period = INV_SENSORS_TIMESTAMP_MAX(chip->clock_period, chip->jitter); in inv_sensors_timestamp_init()
83 period_max = ts->max_period * mult; in inv_validate_period()
109 const int64_t period_max = ts->max_period * ts->mult; in inv_align_timestamp_it()
/drivers/media/platform/st/sti/hva/
Dhva-debugfs.c107 dbg->max_period, in format_ctx()
135 dbg->max_period = max(period, dbg->max_period); in hva_dbg_perf_begin()
Dhva.h198 u32 max_period; member
/drivers/platform/x86/intel/telemetry/
Dpltdrv.c600 telm_conf->ioss_config.max_period = TELEM_MAX_PERIOD(read_buf); in telemetry_setup()
623 telm_conf->pss_config.max_period = TELEM_MAX_PERIOD(read_buf); in telemetry_setup()
775 *pss_max_period = telm_conf->pss_config.max_period; in telemetry_plt_get_sampling_period()
777 *ioss_max_period = telm_conf->ioss_config.max_period; in telemetry_plt_get_sampling_period()
/drivers/leds/
Dleds-mt6323.c115 u16 max_period; member
319 if (period > spec->max_period) in mt6323_led_set_blink()
688 .max_period = 10000,
/drivers/scsi/pcmcia/
Dnsp_cs.c422 unsigned int max_period; member
467 for (; sync_table->max_period != 0; sync_table++) { in nsp_analyze_sdtr()
469 period <= sync_table->max_period ) { in nsp_analyze_sdtr()
474 if (period != 0 && sync_table->max_period == 0) { in nsp_analyze_sdtr()
/drivers/leds/rgb/
Dleds-qcom-lpg.c278 u64 max_period, min_period; in lpg_calc_freq() local
320 max_period = div64_u64((u64)NSEC_PER_SEC * max_res * LPG_MAX_PREDIV * (1 << LPG_MAX_M), in lpg_calc_freq()
322 if (period > max_period) in lpg_calc_freq()
323 period = max_period; in lpg_calc_freq()
/drivers/acpi/apei/
Dghes.c844 unsigned long long now, duration, period, max_period = 0; in ghes_estatus_cache_add() local
869 if (period > max_period) { in ghes_estatus_cache_add()
870 max_period = period; in ghes_estatus_cache_add()
/drivers/scsi/
Desp_scsi.h526 u32 max_period; member
Desp_scsi.c256 esp->max_period = ((35 * esp->ccycle) / 1000); in esp_reset_esp()
288 esp->max_period = (esp->max_period + 3)>>2; in esp_reset_esp()
1504 if (period > esp->max_period) { in esp_msgin_sdtr()
/drivers/net/wireless/ti/wlcore/
Dconf.h1097 u8 max_period; member
Dacx.c1708 acx->max_period = conf->max_period; in wl12xx_acx_config_hangover()
Dacx.h908 u8 max_period; member
/drivers/net/wireless/ti/wl12xx/
Dmain.c356 .max_period = 20,
/drivers/net/wireless/ti/wl18xx/
Dmain.c494 .max_period = 20,