Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
Dmath64.h340 #define DIV_S64_ROUND_CLOSEST(dividend, divisor)( \ macro
/linux-6.6.21/drivers/i2c/busses/
Di2c-designware-platdrv.c355 DIV_S64_ROUND_CLOSEST(clk_khz * t->sda_hold_ns, MICRO); in dw_i2c_plat_probe()
/linux-6.6.21/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()