Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/adc/
H A Dti-ads1015.c399 int ret, pga, dr, dr_old, conv_time; in ads1015_get_adc_result() local
432 dr_old = (old & ADS1015_CFG_DR_MASK) >> ADS1015_CFG_DR_SHIFT; in ads1015_get_adc_result()
433 conv_time = DIV_ROUND_UP(USEC_PER_SEC, data_rate[dr_old]); in ads1015_get_adc_result()