Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/adc/
H A Ddln2-adc.c328 unsigned int microhertz; in dln2_adc_read_raw() local
360 microhertz = 1000000000 / dln2->sample_period; in dln2_adc_read_raw()
361 *val = microhertz / 1000000; in dln2_adc_read_raw()
362 *val2 = microhertz % 1000000; in dln2_adc_read_raw()
382 unsigned int microhertz; in dln2_adc_write_raw() local
387 microhertz = 1000000 * val + val2; in dln2_adc_write_raw()
392 microhertz ? 1000000000 / microhertz : UINT_MAX; in dln2_adc_write_raw()