Searched refs:conv_time (Results 1 – 3 of 3) sorted by relevance
| /Linux-v4.19/drivers/iio/adc/ |
| D | mcp320x.c | 70 unsigned int conv_time; /* usec */ member 127 if (adc->chip_info->conv_time) { in mcp320x_adc_conversion() 132 usleep_range(adc->chip_info->conv_time, in mcp320x_adc_conversion() 133 adc->chip_info->conv_time + 100); in mcp320x_adc_conversion() 354 .conv_time = 80000 * 1.02 + 144000 / 102.4, 360 .conv_time = 66670 * 1.02 + 144000 / 122.88, 366 .conv_time = 73100 * 1.02 + 144000 / 112.64, 372 .conv_time = 16670 * 1.02 + 144000 / 122.88,
|
| D | ltc2485.c | 30 const unsigned int conv_time = 147; /* conversion time ms */ in ltc2485_wait_conv() local 36 if (time_elapsed < conv_time) in ltc2485_wait_conv() 37 msleep(conv_time - time_elapsed); in ltc2485_wait_conv()
|
| D | ti-ads1015.c | 335 int ret, pga, dr, dr_old, conv_time; in ads1015_get_adc_result() local 369 conv_time = DIV_ROUND_UP(USEC_PER_SEC, data->data_rate[dr_old]); in ads1015_get_adc_result() 370 conv_time += DIV_ROUND_UP(USEC_PER_SEC, data->data_rate[dr]); in ads1015_get_adc_result() 371 conv_time += conv_time / 10; /* 10% internal clock inaccuracy */ in ads1015_get_adc_result() 372 usleep_range(conv_time, conv_time + 1); in ads1015_get_adc_result()
|