Home
last modified time | relevance | path

Searched refs:conv_time (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/iio/adc/
Dmcp320x.c68 unsigned int conv_time; /* usec */ member
125 if (adc->chip_info->conv_time) { in mcp320x_adc_conversion()
130 usleep_range(adc->chip_info->conv_time, in mcp320x_adc_conversion()
131 adc->chip_info->conv_time + 100); in mcp320x_adc_conversion()
352 .conv_time = 80000 * 1.02 + 144000 / 102.4,
358 .conv_time = 66670 * 1.02 + 144000 / 122.88,
364 .conv_time = 73100 * 1.02 + 144000 / 112.64,
370 .conv_time = 16670 * 1.02 + 144000 / 122.88,
Dltc2485.c27 const unsigned int conv_time = 147; /* conversion time ms */ in ltc2485_wait_conv() local
33 if (time_elapsed < conv_time) in ltc2485_wait_conv()
34 msleep(conv_time - time_elapsed); in ltc2485_wait_conv()
Dti-ads1015.c399 int ret, pga, dr, dr_old, conv_time; in ads1015_get_adc_result() local
433 conv_time = DIV_ROUND_UP(USEC_PER_SEC, data_rate[dr_old]); in ads1015_get_adc_result()
434 conv_time += DIV_ROUND_UP(USEC_PER_SEC, data_rate[dr]); in ads1015_get_adc_result()
435 conv_time += conv_time / 10; /* 10% internal clock inaccuracy */ in ads1015_get_adc_result()
436 usleep_range(conv_time, conv_time + 1); in ads1015_get_adc_result()
/linux-6.1.9/Documentation/w1/slaves/
Dw1_therm.rst59 ``conv_time`` is used to get current conversion time (read), and
64 correct conversion time by writing a value in milliseconds to ``conv_time``; 2)
66 ``conv_time``; 3) use ``features`` to enable poll for conversion
68 the default conversion time write ``0`` to ``conv_time``.
/linux-6.1.9/drivers/w1/slaves/
Dw1_therm.c355 static DEVICE_ATTR_RW(conv_time);
1215 static int conv_time_measure(struct w1_slave *sl, int *conv_time) in conv_time_measure() argument
1264 *conv_time = jiffies_to_msecs(j_end-j_start)*12/10; in conv_time_measure()
1266 *conv_time, HZ); in conv_time_measure()
1267 if (*conv_time <= CONV_TIME_MEASURE) { in conv_time_measure()
2020 int conv_time; in conv_time_store() local
2022 ret = conv_time_measure(sl, &conv_time); in conv_time_store()
2025 SLAVE_CONV_TIME_OVERRIDE(sl) = conv_time; in conv_time_store()
/linux-6.1.9/Documentation/ABI/testing/
Dsysfs-driver-w1_therm139 What: /sys/bus/w1/devices/.../conv_time