Searched refs:fixed_offset (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.1/drivers/net/ethernet/intel/ice/ |
D | ice_ptp_hw.c | 1688 u64 cur_freq, clk_incval, tu_per_sec, fixed_offset; in ice_calc_fixed_tx_offset_e822() local 1702 fixed_offset = div_u64(tu_per_sec, 10000); in ice_calc_fixed_tx_offset_e822() 1703 fixed_offset *= e822_vernier[link_spd].tx_fixed_delay; in ice_calc_fixed_tx_offset_e822() 1704 fixed_offset = div_u64(fixed_offset, 10000000); in ice_calc_fixed_tx_offset_e822() 1706 return fixed_offset; in ice_calc_fixed_tx_offset_e822() 1998 u64 cur_freq, clk_incval, tu_per_sec, fixed_offset; in ice_calc_fixed_rx_offset_e822() local 2012 fixed_offset = div_u64(tu_per_sec, 10000); in ice_calc_fixed_rx_offset_e822() 2013 fixed_offset *= e822_vernier[link_spd].rx_fixed_delay; in ice_calc_fixed_rx_offset_e822() 2014 fixed_offset = div_u64(fixed_offset, 10000000); in ice_calc_fixed_rx_offset_e822() 2016 return fixed_offset; in ice_calc_fixed_rx_offset_e822()
|