Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_ptp_hw.c3930 u64 cur_freq, clk_incval, tu_per_sec, fixed_offset; in ice_calc_fixed_tx_offset_e82x() local
3944 fixed_offset = div_u64(tu_per_sec, 10000); in ice_calc_fixed_tx_offset_e82x()
3945 fixed_offset *= e822_vernier[link_spd].tx_fixed_delay; in ice_calc_fixed_tx_offset_e82x()
3946 fixed_offset = div_u64(fixed_offset, 10000000); in ice_calc_fixed_tx_offset_e82x()
3948 return fixed_offset; in ice_calc_fixed_tx_offset_e82x()
4229 u64 cur_freq, clk_incval, tu_per_sec, fixed_offset; in ice_calc_fixed_rx_offset_e82x() local
4243 fixed_offset = div_u64(tu_per_sec, 10000); in ice_calc_fixed_rx_offset_e82x()
4244 fixed_offset *= e822_vernier[link_spd].rx_fixed_delay; in ice_calc_fixed_rx_offset_e82x()
4245 fixed_offset = div_u64(fixed_offset, 10000000); in ice_calc_fixed_rx_offset_e82x()
4247 return fixed_offset; in ice_calc_fixed_rx_offset_e82x()