Home
last modified time | relevance | path

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

/linux/drivers/net/pse-pd/
H A Dpse_core.c306 s64 tmp_64; in pse_pi_get_current_limit() local
339 tmp_64 = st.c33_avail_pw_limit; in pse_pi_get_current_limit()
340 tmp_64 *= 1000000000ull; in pse_pi_get_current_limit()
342 ret = DIV_ROUND_CLOSEST_ULL(tmp_64, uV); in pse_pi_get_current_limit()
877 s64 tmp_64; in pse_ethtool_set_pw_limit() local
892 tmp_64 = pw_limit; in pse_ethtool_set_pw_limit()
893 tmp_64 *= 1000000000ull; in pse_ethtool_set_pw_limit()
895 uA = DIV_ROUND_CLOSEST_ULL(tmp_64, uV); in pse_ethtool_set_pw_limit()
H A Dpd692x0.c1008 s64 tmp_64; in pd692x0_pi_get_current_limit() local
1026 tmp_64 = mW; in pd692x0_pi_get_current_limit()
1027 tmp_64 *= 1000000000ull; in pd692x0_pi_get_current_limit()
1029 uA = DIV_ROUND_CLOSEST_ULL(tmp_64, uV); in pd692x0_pi_get_current_limit()
1040 s64 tmp_64; in pd692x0_pi_set_current_limit() local
1053 tmp_64 = uV; in pd692x0_pi_set_current_limit()
1054 tmp_64 *= max_uA; in pd692x0_pi_set_current_limit()
1056 mW = DIV_ROUND_CLOSEST_ULL(tmp_64, 1000000000); in pd692x0_pi_set_current_limit()