Searched refs:fixed_offset (Results 1 – 1 of 1) sorted by relevance
/drivers/net/ethernet/intel/ice/ |
D | ice_ptp_hw.c | 1725 u64 cur_freq, clk_incval, tu_per_sec, fixed_offset; in ice_calc_fixed_tx_offset_e822() local 1739 fixed_offset = div_u64(tu_per_sec, 10000); in ice_calc_fixed_tx_offset_e822() 1740 fixed_offset *= e822_vernier[link_spd].tx_fixed_delay; in ice_calc_fixed_tx_offset_e822() 1741 fixed_offset = div_u64(fixed_offset, 10000000); in ice_calc_fixed_tx_offset_e822() 1743 return fixed_offset; in ice_calc_fixed_tx_offset_e822() 2035 u64 cur_freq, clk_incval, tu_per_sec, fixed_offset; in ice_calc_fixed_rx_offset_e822() local 2049 fixed_offset = div_u64(tu_per_sec, 10000); in ice_calc_fixed_rx_offset_e822() 2050 fixed_offset *= e822_vernier[link_spd].rx_fixed_delay; in ice_calc_fixed_rx_offset_e822() 2051 fixed_offset = div_u64(fixed_offset, 10000000); in ice_calc_fixed_rx_offset_e822() 2053 return fixed_offset; in ice_calc_fixed_rx_offset_e822()
|