/drivers/perf/ |
D | riscv_pmu.c | 212 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()
|
D | arm_pmu.c | 206 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()
|
D | arm_spe_pmu.c | 326 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()
|
D | riscv_pmu_sbi.c | 640 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()
|
D | xgene_pmu.c | 98 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/ |
D | pwm-bcm2835.c | 68 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/ |
D | inv_sensors_timestamp.c | 49 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/ |
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()
|
D | hva.h | 198 u32 max_period; member
|
/drivers/platform/x86/intel/telemetry/ |
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() 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/ |
D | leds-mt6323.c | 115 u16 max_period; member 319 if (period > spec->max_period) in mt6323_led_set_blink() 688 .max_period = 10000,
|
/drivers/scsi/pcmcia/ |
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()
|
/drivers/leds/rgb/ |
D | leds-qcom-lpg.c | 278 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/ |
D | ghes.c | 844 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/ |
D | esp_scsi.h | 526 u32 max_period; member
|
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()
|
/drivers/net/wireless/ti/wlcore/ |
D | conf.h | 1097 u8 max_period; member
|
D | acx.c | 1708 acx->max_period = conf->max_period; in wl12xx_acx_config_hangover()
|
D | acx.h | 908 u8 max_period; member
|
/drivers/net/wireless/ti/wl12xx/ |
D | main.c | 356 .max_period = 20,
|
/drivers/net/wireless/ti/wl18xx/ |
D | main.c | 494 .max_period = 20,
|