Searched refs:sample_period (Results 1 – 17 of 17) sorted by relevance
/drivers/media/rc/ |
D | ite-cir.c | 62 static long sample_period; variable 63 module_param(sample_period, long, S_IRUGO | S_IWUSR); 64 MODULE_PARM_DESC(sample_period, "Override carrier sample period, us"); 164 u32 sample_period; in ite_decode_bytes() local 172 sample_period = dev->params.sample_period; in ite_decode_bytes() 179 ITE_BITS_TO_US(next_one, sample_period); in ite_decode_bytes() 186 ev.duration = ITE_BITS_TO_US(next_zero - next_one, sample_period); in ite_decode_bytes() 197 sample_period); in ite_decode_bytes() 403 (ITE_BAUDRATE_DIVISOR * dev->params.sample_period * in ite_tx_ir() 1340 .sample_period = (u32) (1000000000ULL / 115200), [all …]
|
D | ene_ir.c | 30 static int sample_period; variable 103 if (sample_period != ENE_DEFAULT_SAMPLE_PERIOD) in ene_hw_detect() 392 if (sample_period == ENE_DEFAULT_SAMPLE_PERIOD) in ene_rx_setup() 397 (sample_period + sample_period_adjust) | in ene_rx_setup() 443 dev->rdev->rx_resolution = sample_period; in ene_rx_setup() 450 dev->rdev->min_timeout = 127 * sample_period; in ene_rx_setup() 455 dev->rdev->tx_resolution = sample_period; in ene_rx_setup() 638 dev->tx_sample = DIV_ROUND_CLOSEST(sample, sample_period); in ene_tx_sample() 647 dbg("TX: sample %8d (%s)", raw_tx * sample_period, in ene_tx_sample() 786 hw_sample = hw_value * sample_period; in ene_isr() [all …]
|
D | ite-cir.h | 53 u32 sample_period; member 149 #define ITE_BITS_TO_US(bits, sample_period) \ argument 150 ((u32)((bits) * ITE_BAUDRATE_DIVISOR * (sample_period) / 1000))
|
/drivers/iio/adc/ |
D | dln2-adc.c | 65 unsigned int sample_period; member 359 if (dln2->sample_period) { in dln2_adc_read_raw() 360 microhertz = 1000000000 / dln2->sample_period; in dln2_adc_read_raw() 391 dln2->sample_period = in dln2_adc_write_raw() 393 if (dln2->sample_period > 65535) { in dln2_adc_write_raw() 394 dln2->sample_period = 65535; in dln2_adc_write_raw() 408 dln2->trigger_chan, dln2->sample_period); in dln2_adc_write_raw() 548 dln2->sample_period); in dln2_adc_triggered_buffer_postenable()
|
/drivers/thermal/intel/int340x_thermal/ |
D | acpi_thermal_rel.h | 37 u64 sample_period; member 70 u64 sample_period; member
|
D | acpi_thermal_rel.c | 288 trt_user[i].sample_period = trts[i].sample_period; in fill_trt()
|
/drivers/perf/ |
D | arm_pmu.c | 201 s64 period = hwc->sample_period; in armpmu_event_set_period() 488 hwc->sample_period = arm_pmu_event_max_period(event) >> 1; in __hw_perf_event_init() 489 hwc->last_period = hwc->sample_period; in __hw_perf_event_init() 490 local64_set(&hwc->period_left, hwc->sample_period); in __hw_perf_event_init()
|
D | arm_spe_pmu.c | 304 u64 period = event->hw.sample_period; in arm_spe_event_sanitise_period() 315 event->hw.sample_period = period; in arm_spe_event_sanitise_period() 326 reg |= event->hw.sample_period; in arm_spe_event_to_pmsirr()
|
D | qcom_l3_pmu.c | 492 if (hwc->sample_period) in qcom_l3_cache__event_init()
|
D | qcom_l2_pmu.c | 450 if (hwc->sample_period) { in l2_cache_event_init()
|
D | arm_smmuv3_pmu.c | 386 if (hwc->sample_period) { in smmu_pmu_event_init()
|
D | arm-ccn.c | 732 if (hw->sample_period) { in arm_ccn_pmu_event_init()
|
/drivers/platform/chrome/ |
D | cros_ec_sensorhub_ring.c | 560 s64 sample_period; in cros_ec_sensor_ring_spread_add() local 642 sample_period = div_s64(batch_timestamp - in cros_ec_sensor_ring_spread_add() 651 sample_period); in cros_ec_sensor_ring_spread_add() 666 sample_period * sample_idx; in cros_ec_sensor_ring_spread_add()
|
/drivers/oprofile/ |
D | nmi_timer_int.c | 124 nmi_timer_attr.sample_period = period; in nmi_timer_setup()
|
D | oprofile_perf.c | 70 attr->sample_period = counter_config[i].count; in op_perf_setup()
|
/drivers/iio/accel/ |
D | bmc150-accel-core.c | 874 uint64_t sample_period; in __bmc150_accel_fifo_flush() local 915 sample_period = (data->timestamp - data->old_timestamp); in __bmc150_accel_fifo_flush() 916 do_div(sample_period, count); in __bmc150_accel_fifo_flush() 917 tstamp = data->timestamp - (count - 1) * sample_period; in __bmc150_accel_fifo_flush() 944 tstamp += sample_period; in __bmc150_accel_fifo_flush()
|
/drivers/gpu/drm/i915/ |
D | i915_pmu.c | 531 if (event->attr.sample_period) /* no sampling */ in i915_pmu_event_init()
|