| /linux/tools/testing/selftests/powerpc/pmu/ebb/ |
| H A D | lost_exception_test.c | 23 int i, orig_period, max_period; in test_body() local 49 orig_period = max_period = sample_period = 400; in test_body() 71 if (sample_period > max_period) in test_body() 72 max_period = sample_period; in test_body() 88 FAIL_IF(!ebb_check_count(4, orig_period, 2 * (max_period - orig_period))); in test_body()
|
| /linux/drivers/perf/ |
| H A D | riscv_pmu.c | 208 uint64_t max_period = riscv_pmu_ctr_get_width_mask(event); in riscv_pmu_event_set_period() local 230 if (left > (max_period >> 1)) in riscv_pmu_event_set_period() 231 left = (max_period >> 1); in riscv_pmu_event_set_period() 244 uint64_t max_period = riscv_pmu_ctr_get_width_mask(event); in riscv_pmu_start() local 252 init_val = local64_read(&hwc->prev_count) & max_period; in riscv_pmu_start()
|
| H A D | arm_pmu.c | 210 u64 max_period; in armpmu_event_set_period() local 213 max_period = arm_pmu_event_max_period(event); in armpmu_event_set_period() 234 if (left > (max_period >> 1)) in armpmu_event_set_period() 235 left = (max_period >> 1); in armpmu_event_set_period() 239 armpmu->write_counter(event, (u64)(-left) & max_period); in armpmu_event_set_period() 251 u64 max_period = arm_pmu_event_max_period(event); in armpmu_event_update() local 261 delta = (new_raw_count - prev_raw_count) & max_period; in armpmu_event_update()
|
| H A D | riscv_pmu_sbi.c | 960 uint64_t max_period; in pmu_sbi_start_ovf_ctrs_sbi() local 978 max_period = riscv_pmu_ctr_get_width_mask(event); in pmu_sbi_start_ovf_ctrs_sbi() 979 init_val = local64_read(&hwc->prev_count) & max_period; in pmu_sbi_start_ovf_ctrs_sbi() 1000 u64 max_period, init_val = 0; in pmu_sbi_start_ovf_ctrs_snapshot() local 1008 max_period = riscv_pmu_ctr_get_width_mask(event); in pmu_sbi_start_ovf_ctrs_snapshot() 1009 init_val = local64_read(&hwc->prev_count) & max_period; in pmu_sbi_start_ovf_ctrs_snapshot()
|
| H A D | arm_spe_pmu.c | 391 u64 max_period = PMSIRR_EL1_INTERVAL_MASK; in arm_spe_event_sanitise_period() local 404 period = clamp_t(u64, period, min_period, max_period) & max_period; in arm_spe_event_sanitise_period()
|
| H A D | xgene_pmu.c | 96 u64 max_period; member 991 delta = (new_raw_count - prev_raw_count) & pmu_dev->max_period; in xgene_perf_event_update() 1084 pmu_dev->max_period = PMU_V3_CNT_MAX_PERIOD; in xgene_init_perf() 1086 pmu_dev->max_period = PMU_CNT_MAX_PERIOD; in xgene_init_perf()
|
| /linux/drivers/media/platform/st/sti/hva/ |
| H A D | hva-debugfs.c | 107 dbg->max_period, in format_ctx() 135 dbg->max_period = max(period, dbg->max_period); in hva_dbg_perf_begin()
|
| /linux/arch/loongarch/kernel/ |
| H A D | perf_event.c | 131 u64 max_period; member 321 if (left > loongarch_pmu.max_period) { in loongarch_pmu_event_set_period() 322 left = loongarch_pmu.max_period; in loongarch_pmu_event_set_period() 810 hwc->sample_period = loongarch_pmu.max_period; in __hw_perf_event_init() 873 loongarch_pmu.max_period = (1ULL << 63) - 1; in init_hw_perf_events()
|
| /linux/arch/x86/include/asm/ |
| H A D | intel_telemetry.h | 47 u8 max_period; member
|
| /linux/drivers/leds/ |
| H A D | leds-mt6323.c | 115 u16 max_period; member 319 if (period > spec->max_period) in mt6323_led_set_blink() 678 .max_period = 10000,
|
| /linux/drivers/scsi/pcmcia/ |
| H A D | nsp_cs.c | 422 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()
|
| /linux/drivers/platform/x86/intel/telemetry/ |
| H A D | pltdrv.c | 600 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()
|
| /linux/drivers/scsi/ |
| H A D | esp_scsi.h | 526 u32 max_period; member
|
| H A D | esp_scsi.c | 256 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()
|
| /linux/drivers/acpi/apei/ |
| H A D | ghes.c | 1118 unsigned long long now, duration, period, max_period = 0; in ghes_estatus_cache_add() local 1143 if (period > max_period) { in ghes_estatus_cache_add() 1144 max_period = period; in ghes_estatus_cache_add()
|
| /linux/drivers/net/wireless/ti/wlcore/ |
| H A D | conf.h | 1097 u8 max_period; member
|
| H A D | acx.h | 908 u8 max_period; member
|
| H A D | acx.c | 1707 acx->max_period = conf->max_period; in wl12xx_acx_config_hangover()
|
| /linux/arch/x86/events/amd/ |
| H A D | core.c | 1342 .max_period = (1ULL << 47) - 1,
|
| /linux/arch/x86/events/intel/ |
| H A D | core.c | 3141 if (left == x86_pmu.max_period) { in icl_set_topdown_event_period() 4851 if (start > x86_pmu.max_period) in intel_pmu_freq_start_period() 4852 start = x86_pmu.max_period; in intel_pmu_freq_start_period() 5076 if (event->attr.sample_period > x86_pmu.max_period) in intel_pmu_hw_config() 6619 .max_period = (1ULL<<31) - 1, 6672 .max_period = (1ULL << 31) - 1, 8909 x86_pmu.max_period = x86_pmu.cntval_mask >> 1; in intel_pmu_init()
|
| /linux/drivers/net/wireless/ti/wl12xx/ |
| H A D | main.c | 355 .max_period = 20,
|
| /linux/drivers/net/wireless/ti/wl18xx/ |
| H A D | main.c | 493 .max_period = 20,
|