Home
last modified time | relevance | path

Searched refs:sample_period (Results 1 – 17 of 17) sorted by relevance

/drivers/media/rc/
Dite-cir.c62 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 …]
Dene_ir.c30 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 …]
Dite-cir.h53 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/
Ddln2-adc.c65 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/
Dacpi_thermal_rel.h37 u64 sample_period; member
70 u64 sample_period; member
Dacpi_thermal_rel.c288 trt_user[i].sample_period = trts[i].sample_period; in fill_trt()
/drivers/perf/
Darm_pmu.c201 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()
Darm_spe_pmu.c304 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()
Dqcom_l3_pmu.c492 if (hwc->sample_period) in qcom_l3_cache__event_init()
Dqcom_l2_pmu.c450 if (hwc->sample_period) { in l2_cache_event_init()
Darm_smmuv3_pmu.c386 if (hwc->sample_period) { in smmu_pmu_event_init()
Darm-ccn.c732 if (hw->sample_period) { in arm_ccn_pmu_event_init()
/drivers/platform/chrome/
Dcros_ec_sensorhub_ring.c560 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/
Dnmi_timer_int.c124 nmi_timer_attr.sample_period = period; in nmi_timer_setup()
Doprofile_perf.c70 attr->sample_period = counter_config[i].count; in op_perf_setup()
/drivers/iio/accel/
Dbmc150-accel-core.c874 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/
Di915_pmu.c531 if (event->attr.sample_period) /* no sampling */ in i915_pmu_event_init()