Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/proximity/
H A 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()
/openbmc/linux/drivers/iio/adc/
H A 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()
/openbmc/linux/drivers/hwmon/
H A Dlm75.c110 unsigned int sample_time; /* In ms */ member
352 *val = data->sample_time; in lm75_read()
434 data->sample_time = data->params->sample_times[index]; in lm75_update_interval()
447 data->sample_time = data->params->sample_times[index]; in lm75_update_interval()
454 data->sample_time = data->params->sample_times[index]; in lm75_update_interval()
611 data->sample_time = data->params->default_sample_time; in lm75_probe()
/openbmc/linux/tools/perf/python/
H A Dtracepoint.py38 event.sample_time,
/openbmc/linux/tools/perf/util/
H A Drecord.h27 bool sample_time; member
H A Dpython.c244 sample_member_def(sample_time, time, T_ULONGLONG, "event timestamp"), \
H A Devsel.c1224 if (opts->sample_time && in evsel__config()
H A Dheader.c3436 FEAT_OPR(SAMPLE_TIME, sample_time, false),
/openbmc/linux/include/linux/mfd/
H A Dstmpe.h142 u8 sample_time; member
/openbmc/linux/net/mac80211/
H A Drc80211_minstrel_ht.h188 unsigned long sample_time; member
H A 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()
/openbmc/linux/tools/perf/tests/
H A Dperf-time-to-tsc.c77 .sample_time = true, in test__perf_time_to_tsc()
/openbmc/linux/tools/perf/bench/
H A Devlist-open-close.c34 .sample_time = true,
/openbmc/ipmitool/lib/
H A Dipmi_dcmi.c1332 ipmi_dcmi_pwr_rd(struct ipmi_intf * intf, uint8_t sample_time) in ipmi_dcmi_pwr_rd() argument
1344 if (sample_time) { in ipmi_dcmi_pwr_rd()
1346 msg_data[2] = sample_time; in ipmi_dcmi_pwr_rd()
1381 if (sample_time) in ipmi_dcmi_pwr_rd()
3423 uint8_t sample_time = 0; in ipmi_dcmi_parse_power() local
3429 if (!(sample_time = str2val2(argv[1], dcmi_sampling_vals))) { in ipmi_dcmi_parse_power()
3437 rc = ipmi_dcmi_pwr_rd(intf, sample_time); in ipmi_dcmi_parse_power()
/openbmc/linux/drivers/input/touchscreen/
H A Dstmpe-ts.c267 ts->stmpe->sample_time = val; in stmpe_ts_get_platform_info()
/openbmc/linux/tools/perf/
H A Dbuiltin-record.c1372 static void set_timestamp_boundary(struct record *rec, u64 sample_time) in set_timestamp_boundary() argument
1375 rec->evlist->first_sample_time = sample_time; in set_timestamp_boundary()
1377 if (sample_time) in set_timestamp_boundary()
1378 rec->evlist->last_sample_time = sample_time; in set_timestamp_boundary()
3275 .sample_time = true,
3389 OPT_BOOLEAN_SET('T', "timestamp", &record.opts.sample_time,
H A Dbuiltin-script.c887 char sample_time[32]; in perf_sample__fprintf_start() local
888 timestamp__scnprintf_usec(t, sample_time, sizeof(sample_time)); in perf_sample__fprintf_start()
889 printed += fprintf(fp, "%12s: ", sample_time); in perf_sample__fprintf_start()
H A Dbuiltin-top.c1448 .sample_time = true, in cmd_top()
H A Dbuiltin-trace.c4912 trace.opts.sample_time = true;
/openbmc/linux/drivers/mfd/
H A Dstmpe.c550 adc_ctrl1 = STMPE_SAMPLE_TIME(stmpe->sample_time) | in stmpe811_adc_common_init()
1392 stmpe->sample_time = val; in stmpe_probe()