Searched refs:sample_time (Results 1 – 12 of 12) sorted by relevance
/Linux-v4.19/drivers/hwmon/ |
D | lm75.c | 81 unsigned int sample_time; /* In ms */ member 102 *val = data->sample_time; in lm75_read() 308 data->sample_time = MSEC_PER_SEC / 8; in lm75_probe() 316 data->sample_time = MSEC_PER_SEC; in lm75_probe() 321 data->sample_time = MSEC_PER_SEC / 4; in lm75_probe() 327 data->sample_time = MSEC_PER_SEC / 2; in lm75_probe() 331 data->sample_time = MSEC_PER_SEC / 4; in lm75_probe() 335 data->sample_time = MSEC_PER_SEC / 4; in lm75_probe() 340 data->sample_time = MSEC_PER_SEC / 4; in lm75_probe() 344 data->sample_time = MSEC_PER_SEC / 8; in lm75_probe() [all …]
|
/Linux-v4.19/drivers/iio/proximity/ |
D | isl29501.c | 762 int sample_time; in isl29501_get_freq() local 766 ret = isl29501_register_read(isl29501, REG_SAMPLE_TIME, &sample_time); in isl29501_get_freq() 773 do_div(freq, 450 * (sample_time + 1)); in isl29501_get_freq() 876 unsigned long long sample_time; in isl29501_set_freq() local 880 sample_time = 2222ULL * 1000000ULL; in isl29501_set_freq() 881 do_div(sample_time, freq); in isl29501_set_freq() 883 sample_time -= 1; in isl29501_set_freq() 885 if (sample_time > 255) in isl29501_set_freq() 888 return isl29501_register_write(isl29501, REG_SAMPLE_TIME, sample_time); in isl29501_set_freq()
|
/Linux-v4.19/drivers/input/touchscreen/ |
D | stmpe-ts.c | 102 u8 sample_time; member 216 adc_ctrl1 = SAMPLE_TIME(ts->sample_time) | MOD_12B(ts->mod_12b) | in stmpe_init_hw() 306 ts->sample_time = val; in stmpe_ts_get_platform_info()
|
/Linux-v4.19/tools/perf/ |
D | perf.h | 52 bool sample_time; member
|
D | builtin-record.c | 1512 .sample_time = true, 1604 OPT_BOOLEAN_SET('T', "timestamp", &record.opts.sample_time,
|
D | builtin-script.c | 693 char sample_time[32]; in perf_sample__fprintf_start() local 694 timestamp__scnprintf_usec(sample->time, sample_time, sizeof(sample_time)); in perf_sample__fprintf_start() 695 printed += fprintf(fp, "%12s: ", sample_time); in perf_sample__fprintf_start()
|
D | builtin-trace.c | 3297 trace.opts.sample_time = true; in cmd_trace()
|
/Linux-v4.19/tools/perf/python/ |
D | tracepoint.py | 38 event.sample_time,
|
/Linux-v4.19/tools/perf/arch/x86/tests/ |
D | perf-time-to-tsc.c | 50 .sample_time = true, in test__perf_time_to_tsc()
|
/Linux-v4.19/tools/perf/util/ |
D | python.c | 104 sample_member_def(sample_time, time, T_ULONGLONG, "event timestamp"), \
|
D | evsel.c | 1001 if (opts->sample_time && in perf_evsel__config()
|
D | header.c | 2591 FEAT_OPR(SAMPLE_TIME, sample_time, false),
|