Home
last modified time | relevance | path

Searched refs:sample_time (Results 1 – 19 of 19) sorted by relevance

/linux-6.1.9/drivers/iio/proximity/
Disl29501.c754 int sample_time; in isl29501_get_freq() local
758 ret = isl29501_register_read(isl29501, REG_SAMPLE_TIME, &sample_time); in isl29501_get_freq()
765 do_div(freq, 450 * (sample_time + 1)); in isl29501_get_freq()
868 unsigned long long sample_time; in isl29501_set_freq() local
872 sample_time = 2222ULL * 1000000ULL; in isl29501_set_freq()
873 do_div(sample_time, freq); in isl29501_set_freq()
875 sample_time -= 1; in isl29501_set_freq()
877 if (sample_time > 255) in isl29501_set_freq()
880 return isl29501_register_write(isl29501, REG_SAMPLE_TIME, sample_time); in isl29501_set_freq()
/linux-6.1.9/drivers/iio/adc/
Drtq6056.c274 int sample_time; in rtq6056_adc_get_sample_freq() local
277 sample_time = priv->vshuntct_us; in rtq6056_adc_get_sample_freq()
279 sample_time = priv->vbusct_us; in rtq6056_adc_get_sample_freq()
281 sample_time = priv->vshuntct_us + priv->vbusct_us; in rtq6056_adc_get_sample_freq()
282 sample_time *= priv->avg_sample; in rtq6056_adc_get_sample_freq()
285 *val = 1000000 / sample_time; in rtq6056_adc_get_sample_freq()
/linux-6.1.9/drivers/hwmon/
Dlm75.c111 unsigned int sample_time; /* In ms */ member
353 *val = data->sample_time; in lm75_read()
435 data->sample_time = data->params->sample_times[index]; in lm75_update_interval()
448 data->sample_time = data->params->sample_times[index]; in lm75_update_interval()
455 data->sample_time = data->params->sample_times[index]; in lm75_update_interval()
612 data->sample_time = data->params->default_sample_time; in lm75_probe()
/linux-6.1.9/tools/perf/python/
Dtracepoint.py38 event.sample_time,
/linux-6.1.9/tools/perf/util/
Drecord.h28 bool sample_time; member
Dpython.c187 sample_member_def(sample_time, time, T_ULONGLONG, "event timestamp"), \
Devsel.c1250 if (opts->sample_time && in evsel__config()
Dheader.c3389 FEAT_OPR(SAMPLE_TIME, sample_time, false),
/linux-6.1.9/include/linux/mfd/
Dstmpe.h142 u8 sample_time; member
/linux-6.1.9/net/mac80211/
Drc80211_minstrel_ht.h189 unsigned long sample_time; member
Drc80211_minstrel_ht.c1193 mi->sample_time = jiffies; in minstrel_ht_update_stats()
1617 if (time_is_after_jiffies(mi->sample_time)) in minstrel_ht_get_rate()
1620 mi->sample_time = jiffies + MINSTREL_SAMPLE_INTERVAL; in minstrel_ht_get_rate()
/linux-6.1.9/tools/perf/tests/
Dperf-time-to-tsc.c76 .sample_time = true, in test__perf_time_to_tsc()
/linux-6.1.9/tools/perf/bench/
Devlist-open-close.c34 .sample_time = true,
/linux-6.1.9/drivers/input/touchscreen/
Dstmpe-ts.c267 ts->stmpe->sample_time = val; in stmpe_ts_get_platform_info()
/linux-6.1.9/tools/perf/
Dbuiltin-record.c1375 static void set_timestamp_boundary(struct record *rec, u64 sample_time) in set_timestamp_boundary() argument
1378 rec->evlist->first_sample_time = sample_time; in set_timestamp_boundary()
1380 if (sample_time) in set_timestamp_boundary()
1381 rec->evlist->last_sample_time = sample_time; in set_timestamp_boundary()
3296 .sample_time = true,
3404 OPT_BOOLEAN_SET('T', "timestamp", &record.opts.sample_time,
Dbuiltin-script.c860 char sample_time[32]; in perf_sample__fprintf_start() local
861 timestamp__scnprintf_usec(t, sample_time, sizeof(sample_time)); in perf_sample__fprintf_start()
862 printed += fprintf(fp, "%12s: ", sample_time); in perf_sample__fprintf_start()
Dbuiltin-top.c1434 .sample_time = true, in cmd_top()
Dbuiltin-trace.c5055 trace.opts.sample_time = true;
/linux-6.1.9/drivers/mfd/
Dstmpe.c550 adc_ctrl1 = STMPE_SAMPLE_TIME(stmpe->sample_time) | in stmpe811_adc_common_init()
1392 stmpe->sample_time = val; in stmpe_probe()