Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/adc/
H A Dqcom-spmi-iadc.c431 int ret, sign, int_sense; in iadc_rsense_read() local
457 int_sense = IADC_INT_RSENSE_IDEAL_VALUE * 1000; in iadc_rsense_read()
458 int_sense += sign * deviation * IADC_INT_RSENSE_DEVIATION; in iadc_rsense_read()
459 int_sense /= 1000; /* micro Ohms */ in iadc_rsense_read()
461 iadc->rsense[IADC_INT_RSENSE] = int_sense; in iadc_rsense_read()