Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/adc/
H A Dina2xx-adc.c98 #define SAMPLING_PERIOD(c) ((c->int_time_vbus + c->int_time_vshunt) \ macro
222 *val = DIV_ROUND_CLOSEST(1000000, SAMPLING_PERIOD(chip)); in ina2xx_read_raw()
779 int sampling_us = SAMPLING_PERIOD(chip); in ina2xx_capture_thread()
837 unsigned int sampling_us = SAMPLING_PERIOD(chip); in ina2xx_buffer_enable()