/linux-4.4.14/tools/testing/selftests/powerpc/pmu/ebb/ |
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() 89 FAIL_IF(!ebb_check_count(4, orig_period, 2 * (max_period - orig_period))); in test_body()
|
/linux-4.4.14/arch/arc/kernel/ |
D | perf_event.c | 26 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/ |
D | perf_event.c | 246 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()
|
D | perf_event.h | 89 u32 max_period; member
|
/linux-4.4.14/arch/tile/kernel/ |
D | perf_event.c | 74 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/ |
D | perf_event_amd_ibs.c | 51 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,
|
D | perf_event_p6.c | 214 .max_period = (1ULL << 31) - 1,
|
D | perf_event_knc.c | 303 .max_period = (1ULL << 39) - 1,
|
D | perf_event.c | 393 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()
|
D | perf_event_amd.c | 641 .max_period = (1ULL << 47) - 1,
|
D | perf_event.h | 535 u64 max_period; member
|
D | perf_event_intel.c | 2964 .max_period = (1ULL<<31) - 1, 3003 .max_period = (1ULL << 31) - 1, 3639 x86_pmu.max_period = x86_pmu.cntval_mask; in intel_pmu_init()
|
D | perf_event_p4.c | 1323 .max_period = (1ULL << (ARCH_P4_CNTRVAL_BITS - 1)) - 1,
|
/linux-4.4.14/drivers/perf/ |
D | arm_pmu.c | 131 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/ |
D | arm_pmu.h | 106 u64 max_period; member
|
/linux-4.4.14/arch/mips/kernel/ |
D | perf_event_mipsxx.c | 86 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/ |
D | perf_event_v6.c | 499 cpu_pmu->max_period = (1LLU << 32) - 1; in armv6pmu_init() 550 cpu_pmu->max_period = (1LLU << 32) - 1; in armv6mpcore_pmu_init()
|
D | perf_event_xscale.c | 377 cpu_pmu->max_period = (1LLU << 32) - 1; in xscale1pmu_init() 747 cpu_pmu->max_period = (1LLU << 32) - 1; in xscale2pmu_init()
|
D | perf_event_v7.c | 1062 cpu_pmu->max_period = (1LLU << 32) - 1; in armv7pmu_init()
|
/linux-4.4.14/drivers/acpi/apei/ |
D | ghes.c | 605 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/ |
D | nsp_cs.c | 422 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/ |
D | esp_scsi.h | 531 u32 max_period; member
|
D | esp_scsi.c | 257 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/ |
D | conf.h | 1342 u8 max_period; member
|
D | acx.h | 921 u8 max_period; member
|
D | acx.c | 1722 acx->max_period = conf->max_period; in wl12xx_acx_config_hangover()
|
/linux-4.4.14/arch/arm64/kernel/ |
D | perf_event.c | 629 cpu_pmu->max_period = (1LLU << 32) - 1, in armv8_pmu_init()
|
/linux-4.4.14/drivers/net/wireless/ti/wl12xx/ |
D | main.c | 368 .max_period = 20,
|
/linux-4.4.14/drivers/net/wireless/ti/wl18xx/ |
D | main.c | 496 .max_period = 20,
|