Home
last modified time | relevance | path

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

/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()
/drivers/hwmon/
Dlm75.c109 unsigned int sample_time; /* In ms */ member
336 *val = data->sample_time; in lm75_read()
418 data->sample_time = data->params->sample_times[index]; in lm75_update_interval()
431 data->sample_time = data->params->sample_times[index]; in lm75_update_interval()
438 data->sample_time = data->params->sample_times[index]; in lm75_update_interval()
595 data->sample_time = data->params->default_sample_time; in lm75_probe()
/drivers/input/touchscreen/
Dstmpe-ts.c265 ts->stmpe->sample_time = val; in stmpe_ts_get_platform_info()
/drivers/mfd/
Dstmpe.c552 adc_ctrl1 = STMPE_SAMPLE_TIME(stmpe->sample_time) | in stmpe811_adc_common_init()
1403 stmpe->sample_time = val; in stmpe_probe()