Home
last modified time | relevance | path

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

/openbmc/linux/kernel/time/
H A Dntp.c298 s64 freq_adj; in ntp_update_offset() local
328 freq_adj = ntp_update_offset_fll(offset64, secs); in ntp_update_offset()
338 freq_adj += (offset64 * secs) << in ntp_update_offset()
341 freq_adj = min(freq_adj + time_freq, MAXFREQ_SCALED); in ntp_update_offset()
343 time_freq = max(freq_adj, -MAXFREQ_SCALED); in ntp_update_offset()
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Dptp.c314 u32 freq, freq_adj; in ptp_adjfine() local
344 freq_adj = (ptp->clock_rate * ppb) / 1000000000ULL; in ptp_adjfine()
345 freq = neg_adj ? ptp->clock_rate + freq_adj : ptp->clock_rate - freq_adj; in ptp_adjfine()
/openbmc/linux/drivers/media/dvb-frontends/
H A Dstb0899_algo.c842 u32 correction, freq_adj, band_lim, decim_cntrl, reg; in stb0899_dvbs2_set_srate() local
883 freq_adj = internal->srate / (internal->master_clk / 4096); in stb0899_dvbs2_set_srate()
884 …_s2reg(state, STB0899_S2DEMOD, STB0899_BASE_FREQ_ADJ_SCALE, STB0899_OFF0_FREQ_ADJ_SCALE, freq_adj); in stb0899_dvbs2_set_srate()
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ptp.c142 mlxsw_sp_ptp_phc_adjfreq(struct mlxsw_sp_ptp_clock *clock, int freq_adj) in mlxsw_sp_ptp_phc_adjfreq() argument
148 freq_adj, 0, 0, 0); in mlxsw_sp_ptp_phc_adjfreq()
H A Dreg.h10338 u32 freq_adj, u32 utc_sec, u32 utc_nsec, u32 time_adj) in mlxsw_reg_mtutc_pack() argument
10342 mlxsw_reg_mtutc_freq_adjustment_set(payload, freq_adj); in mlxsw_reg_mtutc_pack()