Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/iio/adc/
Dmcp320x.c67 unsigned int conv_time; /* usec */ member
124 if (adc->chip_info->conv_time) { in mcp320x_adc_conversion()
129 usleep_range(adc->chip_info->conv_time, in mcp320x_adc_conversion()
130 adc->chip_info->conv_time + 100); in mcp320x_adc_conversion()
351 .conv_time = 80000 * 1.02 + 144000 / 102.4,
357 .conv_time = 66670 * 1.02 + 144000 / 122.88,
363 .conv_time = 73100 * 1.02 + 144000 / 112.64,
369 .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.c332 int ret, pga, dr, dr_old, conv_time; in ads1015_get_adc_result() local
366 conv_time = DIV_ROUND_UP(USEC_PER_SEC, data->data_rate[dr_old]); in ads1015_get_adc_result()
367 conv_time += DIV_ROUND_UP(USEC_PER_SEC, data->data_rate[dr]); in ads1015_get_adc_result()
368 conv_time += conv_time / 10; /* 10% internal clock inaccuracy */ in ads1015_get_adc_result()
369 usleep_range(conv_time, conv_time + 1); in ads1015_get_adc_result()