/linux-6.1.9/drivers/iio/proximity/ |
D | isl29501.c | 754 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/ |
D | rtq6056.c | 274 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/ |
D | lm75.c | 111 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/ |
D | tracepoint.py | 38 event.sample_time,
|
/linux-6.1.9/tools/perf/util/ |
D | record.h | 28 bool sample_time; member
|
D | python.c | 187 sample_member_def(sample_time, time, T_ULONGLONG, "event timestamp"), \
|
D | evsel.c | 1250 if (opts->sample_time && in evsel__config()
|
D | header.c | 3389 FEAT_OPR(SAMPLE_TIME, sample_time, false),
|
/linux-6.1.9/include/linux/mfd/ |
D | stmpe.h | 142 u8 sample_time; member
|
/linux-6.1.9/net/mac80211/ |
D | rc80211_minstrel_ht.h | 189 unsigned long sample_time; member
|
D | rc80211_minstrel_ht.c | 1193 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/ |
D | perf-time-to-tsc.c | 76 .sample_time = true, in test__perf_time_to_tsc()
|
/linux-6.1.9/tools/perf/bench/ |
D | evlist-open-close.c | 34 .sample_time = true,
|
/linux-6.1.9/drivers/input/touchscreen/ |
D | stmpe-ts.c | 267 ts->stmpe->sample_time = val; in stmpe_ts_get_platform_info()
|
/linux-6.1.9/tools/perf/ |
D | builtin-record.c | 1375 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,
|
D | builtin-script.c | 860 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()
|
D | builtin-top.c | 1434 .sample_time = true, in cmd_top()
|
D | builtin-trace.c | 5055 trace.opts.sample_time = true;
|
/linux-6.1.9/drivers/mfd/ |
D | stmpe.c | 550 adc_ctrl1 = STMPE_SAMPLE_TIME(stmpe->sample_time) | in stmpe811_adc_common_init() 1392 stmpe->sample_time = val; in stmpe_probe()
|