Home
last modified time | relevance | path

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

/linux-4.4.14/tools/testing/selftests/powerpc/pmu/ebb/
Dlost_exception_test.c23 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()
89 FAIL_IF(!ebb_check_count(4, orig_period, 2 * (max_period - orig_period))); in test_body()
/linux-4.4.14/arch/arc/kernel/
Dperf_event.c26 u64 max_period; member
158 hwc->sample_period = arc_pmu->max_period; in arc_pmu_event_init()
237 if (left > arc_pmu->max_period) in arc_pmu_event_set_period()
238 left = arc_pmu->max_period; in arc_pmu_event_set_period()
240 value = arc_pmu->max_period - left; in arc_pmu_event_set_period()
353 write_aux_reg(ARC_REG_PCT_INT_CNTL, (u32)arc_pmu->max_period); in arc_pmu_add()
355 (arc_pmu->max_period >> 32)); in arc_pmu_add()
476 arc_pmu->max_period = (1ULL << counter_size) / 2 - 1ULL; in arc_pmu_device_probe()
/linux-4.4.14/arch/metag/kernel/perf/
Dperf_event.c246 if (left > (s64)metag_pmu->max_period) in metag_pmu_event_set_period()
247 left = metag_pmu->max_period; in metag_pmu_event_set_period()
286 if (metag_pmu->max_period) in metag_pmu_start()
587 if (metag_pmu->max_period) { in _hw_perf_event_init()
589 hwc->sample_period = metag_pmu->max_period >> 1; in _hw_perf_event_init()
653 if (metag_pmu->max_period) in metag_pmu_enable_counter()
801 .max_period = MAX_PERIOD,
848 metag_pmu->max_period = 0; in init_hw_perf_events()
864 if (metag_pmu->max_period == 0) { in init_hw_perf_events()
Dperf_event.h89 u32 max_period; member
/linux-4.4.14/arch/tile/kernel/
Dperf_event.c74 u64 max_period; /* max sampling period */ member
337 .max_period = (1ULL << 31) - 1,
572 if (left > tile_pmu->max_period) in tile_event_set_period()
573 left = tile_pmu->max_period; in tile_event_set_period()
825 hwc->sample_period = tile_pmu->max_period; in __tile_event_init()
/linux-4.4.14/arch/x86/kernel/cpu/
Dperf_event_amd_ibs.c51 u64 max_period; member
296 overflow = perf_event_set_period(hwc, 1<<4, perf_ibs->max_period, period); in perf_ibs_set_period()
484 .max_period = IBS_FETCH_MAX_CNT << 4,
508 .max_period = IBS_OP_MAX_CNT << 4,
Dperf_event_p6.c214 .max_period = (1ULL << 31) - 1,
Dperf_event_knc.c303 .max_period = (1ULL << 39) - 1,
Dperf_event.c393 hwc->sample_period = x86_pmu.max_period; in x86_setup_perfctr()
1121 if (left > x86_pmu.max_period) in x86_perf_event_set_period()
1122 left = x86_pmu.max_period; in x86_perf_event_set_period()
1744 pr_info("... max period: %016Lx\n", x86_pmu.max_period); in init_hw_perf_events()
Dperf_event_amd.c641 .max_period = (1ULL << 47) - 1,
Dperf_event.h535 u64 max_period; member
Dperf_event_intel.c2964 .max_period = (1ULL<<31) - 1,
3003 .max_period = (1ULL << 31) - 1,
3639 x86_pmu.max_period = x86_pmu.cntval_mask; in intel_pmu_init()
Dperf_event_p4.c1323 .max_period = (1ULL << (ARCH_P4_CNTRVAL_BITS - 1)) - 1,
/linux-4.4.14/drivers/perf/
Darm_pmu.c131 if (left > (armpmu->max_period >> 1)) in armpmu_event_set_period()
132 left = armpmu->max_period >> 1; in armpmu_event_set_period()
157 delta = (new_raw_count - prev_raw_count) & armpmu->max_period; in armpmu_event_update()
440 hwc->sample_period = armpmu->max_period >> 1; in __hw_perf_event_init()
/linux-4.4.14/include/linux/perf/
Darm_pmu.h106 u64 max_period; member
/linux-4.4.14/arch/mips/kernel/
Dperf_event_mipsxx.c86 u64 max_period; member
397 if (left > mipspmu.max_period) { in mipspmu_event_set_period()
398 left = mipspmu.max_period; in mipspmu_event_set_period()
1323 hwc->sample_period = mipspmu.max_period; in __hw_perf_event_init()
1780 mipspmu.max_period = (1ULL << 63) - 1; in init_hw_perf_events()
1787 mipspmu.max_period = (1ULL << 31) - 1; in init_hw_perf_events()
/linux-4.4.14/arch/arm/kernel/
Dperf_event_v6.c499 cpu_pmu->max_period = (1LLU << 32) - 1; in armv6pmu_init()
550 cpu_pmu->max_period = (1LLU << 32) - 1; in armv6mpcore_pmu_init()
Dperf_event_xscale.c377 cpu_pmu->max_period = (1LLU << 32) - 1; in xscale1pmu_init()
747 cpu_pmu->max_period = (1LLU << 32) - 1; in xscale2pmu_init()
Dperf_event_v7.c1062 cpu_pmu->max_period = (1LLU << 32) - 1; in armv7pmu_init()
/linux-4.4.14/drivers/acpi/apei/
Dghes.c605 unsigned long long now, duration, period, max_period = 0; in ghes_estatus_cache_add() local
629 if (period > max_period) { in ghes_estatus_cache_add()
630 max_period = period; in ghes_estatus_cache_add()
/linux-4.4.14/drivers/scsi/pcmcia/
Dnsp_cs.c422 unsigned int max_period; member
469 for ( i = 0; sync_table->max_period != 0; i++, sync_table++) { in nsp_analyze_sdtr()
471 period <= sync_table->max_period ) { in nsp_analyze_sdtr()
476 if (period != 0 && sync_table->max_period == 0) { in nsp_analyze_sdtr()
/linux-4.4.14/drivers/scsi/
Desp_scsi.h531 u32 max_period; member
Desp_scsi.c257 esp->max_period = ((35 * esp->ccycle) / 1000); in esp_reset_esp()
284 esp->max_period = (esp->max_period + 3)>>2; in esp_reset_esp()
1519 if (period > esp->max_period) { in esp_msgin_sdtr()
/linux-4.4.14/drivers/net/wireless/ti/wlcore/
Dconf.h1342 u8 max_period; member
Dacx.h921 u8 max_period; member
Dacx.c1722 acx->max_period = conf->max_period; in wl12xx_acx_config_hangover()
/linux-4.4.14/arch/arm64/kernel/
Dperf_event.c629 cpu_pmu->max_period = (1LLU << 32) - 1, in armv8_pmu_init()
/linux-4.4.14/drivers/net/wireless/ti/wl12xx/
Dmain.c368 .max_period = 20,
/linux-4.4.14/drivers/net/wireless/ti/wl18xx/
Dmain.c496 .max_period = 20,