Searched refs:corrected_code (Results 1 – 2 of 2) sorted by relevance
439 int corrected_code; in twl6030_gpadc_make_correction() local443 corrected_code = ((raw_code * 1000) - in twl6030_gpadc_make_correction()447 return corrected_code; in twl6030_gpadc_make_correction()479 int corrected_code; in twl6030_gpadc_get_processed() local484 ret = twl6030_gpadc_get_raw(gpadc, channel, &corrected_code); in twl6030_gpadc_get_processed()489 channel_value = corrected_code * in twl6030_gpadc_get_processed()495 dev_dbg(gpadc->dev, "GPADC corrected code: %d", corrected_code); in twl6030_gpadc_get_processed()
420 s32 corrected_code; member