Home
last modified time | relevance | path

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

/Linux-v5.10/include/linux/
Dmath64.h294 #define DIV_S64_ROUND_CLOSEST(dividend, divisor)( \ macro
/Linux-v5.10/drivers/power/supply/
Dsc27xx_fuel_gauge.c139 return DIV_S64_ROUND_CLOSEST(adc * 1000, data->cur_1000ma_adc); in sc27xx_fgu_adc_to_current()
144 return DIV_S64_ROUND_CLOSEST(adc * 1000, data->vol_1000mv_adc); in sc27xx_fgu_adc_to_voltage()