Home
last modified time | relevance | path

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

/linux/drivers/net/pse-pd/
H A Dtps23881.c390 u64 tmp_64; in tps23881_pi_get_chan_current() local
398 tmp_64 = ret & 0x3fff; in tps23881_pi_get_chan_current()
399 tmp_64 *= TPS23881_NA_STEP; in tps23881_pi_get_chan_current()
401 tmp_64 = DIV_ROUND_CLOSEST_ULL(tmp_64, 1000); in tps23881_pi_get_chan_current()
402 return (int)tmp_64; in tps23881_pi_get_chan_current()
427 u64 tmp_64; in tps23881_pi_get_actual_pw() local
449 tmp_64 = uV; in tps23881_pi_get_actual_pw()
450 tmp_64 *= uA; in tps23881_pi_get_actual_pw()
452 return DIV_ROUND_CLOSEST_ULL(tmp_64, 1000000000); in tps23881_pi_get_actual_pw()