Searched refs:DIV_64BIT (Results 1 – 3 of 3) sorted by relevance
| /dpdk/drivers/net/ice/base/ |
| H A D | ice_ptp_hw.c | 1730 phy_tus = DIV_64BIT(tu_per_sec, in ice_phy_cfg_parpcs_e822() 1742 phy_tus = DIV_64BIT(tu_per_sec, in ice_phy_cfg_parpcs_e822() 1754 phy_tus = DIV_64BIT(tu_per_sec, in ice_phy_cfg_parpcs_e822() 1766 phy_tus = DIV_64BIT(tu_per_sec, in ice_phy_cfg_parpcs_e822() 1778 phy_tus = DIV_64BIT(tu_per_sec, in ice_phy_cfg_parpcs_e822() 1790 phy_tus = DIV_64BIT(tu_per_sec, in ice_phy_cfg_parpcs_e822() 1802 phy_tus = DIV_64BIT(tu_per_sec, in ice_phy_cfg_parpcs_e822() 1814 phy_tus = DIV_64BIT(tu_per_sec, in ice_phy_cfg_parpcs_e822() 2077 adj = DIV_64BIT(tu_per_sec, 125); in ice_phy_calc_pmd_adj_e822() 2079 adj = DIV_64BIT(adj, pmd_adj_divisor); in ice_phy_calc_pmd_adj_e822() [all …]
|
| H A D | ice_sched.c | 3833 bytes_per_sec = DIV_64BIT(((s64)bw * 1000), BITS_PER_BYTE); in ice_sched_calc_wakeup() 3834 wakeup_int = DIV_64BIT(hw->psm_clk_freq, bytes_per_sec); in ice_sched_calc_wakeup() 3842 wakeup_a = DIV_64BIT((s64)ICE_RL_PROF_MULTIPLIER * in ice_sched_calc_wakeup() 3849 if (wakeup_f > DIV_64BIT(ICE_RL_PROF_MULTIPLIER, 2)) in ice_sched_calc_wakeup() 3852 wakeup_f_int = (s32)DIV_64BIT(wakeup_f * ICE_RL_PROF_FRACTION, in ice_sched_calc_wakeup() 3885 bytes_per_sec = DIV_64BIT(((s64)bw * 1000), BITS_PER_BYTE); in ice_sched_bw_to_rl_profile() 3891 ts_rate = DIV_64BIT((s64)hw->psm_clk_freq, in ice_sched_bw_to_rl_profile() 3897 mv_tmp = DIV_64BIT(bytes_per_sec * ICE_RL_PROF_MULTIPLIER, in ice_sched_bw_to_rl_profile()
|
| H A D | ice_type.h | 90 #define DIV_64BIT(n, d) ((n) / (d)) macro 94 return DIV_64BIT(((a) + (b) / 2), (b)); in round_up_64bit()
|