Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/pse-pd/
H A Dpse_core.c309 s64 tmp_64; in pse_pi_get_current_limit() local
332 tmp_64 = mW; in pse_pi_get_current_limit()
333 tmp_64 *= 1000000000ull; in pse_pi_get_current_limit()
335 ret = DIV_ROUND_CLOSEST_ULL(tmp_64, uV); in pse_pi_get_current_limit()
348 s64 tmp_64; in pse_pi_set_current_limit() local
368 tmp_64 = ret; in pse_pi_set_current_limit()
369 tmp_64 *= max_uA; in pse_pi_set_current_limit()
943 s64 tmp_64; in pse_ethtool_set_pw_limit() local
961 tmp_64 = pw_limit; in pse_ethtool_set_pw_limit()
962 tmp_64 *= 1000000000ull; in pse_ethtool_set_pw_limit()
[all …]
H A Dtps23881.c345 u64 tmp_64; in tps23881_pi_get_chan_current() local
353 tmp_64 = ret & 0x3fff; in tps23881_pi_get_chan_current()
354 tmp_64 *= TPS23881_NA_STEP; in tps23881_pi_get_chan_current()
356 tmp_64 = DIV_ROUND_CLOSEST_ULL(tmp_64, 1000); in tps23881_pi_get_chan_current()
357 return (int)tmp_64; in tps23881_pi_get_chan_current()
382 u64 tmp_64; in tps23881_pi_get_actual_pw() local
404 tmp_64 = uV; in tps23881_pi_get_actual_pw()
405 tmp_64 *= uA; in tps23881_pi_get_actual_pw()
407 return DIV_ROUND_CLOSEST_ULL(tmp_64, 1000000000); in tps23881_pi_get_actual_pw()