Searched refs:conv_time (Results 1 – 4 of 4) sorted by relevance
/drivers/iio/adc/ |
D | mcp320x.c | 68 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,
|
D | ltc2485.c | 27 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()
|
D | ti-ads1015.c | 347 int ret, pga, dr, dr_old, conv_time; in ads1015_get_adc_result() local 381 conv_time = DIV_ROUND_UP(USEC_PER_SEC, data->data_rate[dr_old]); in ads1015_get_adc_result() 382 conv_time += DIV_ROUND_UP(USEC_PER_SEC, data->data_rate[dr]); in ads1015_get_adc_result() 383 conv_time += conv_time / 10; /* 10% internal clock inaccuracy */ in ads1015_get_adc_result() 384 usleep_range(conv_time, conv_time + 1); in ads1015_get_adc_result()
|
/drivers/w1/slaves/ |
D | w1_therm.c | 355 static DEVICE_ATTR_RW(conv_time); 1146 static int conv_time_measure(struct w1_slave *sl, int *conv_time) in conv_time_measure() argument 1195 *conv_time = jiffies_to_msecs(j_end-j_start)*12/10; in conv_time_measure() 1197 *conv_time, HZ); in conv_time_measure() 1198 if (*conv_time <= CONV_TIME_MEASURE) { in conv_time_measure() 1952 int conv_time; in conv_time_store() local 1954 ret = conv_time_measure(sl, &conv_time); in conv_time_store() 1957 SLAVE_CONV_TIME_OVERRIDE(sl) = conv_time; in conv_time_store()
|