Searched refs:fret (Results 1 – 2 of 2) sorted by relevance
104 uint64_t fret; in ti_pll_consider_entry() local120 fret = ((uint64_t)data->input * entry->pllfm) / clkod_plld; in ti_pll_consider_entry()123 fret *= stride; in ti_pll_consider_entry()125 fret += (uint32_t)frem / clkod_plld; in ti_pll_consider_entry()128 frem += (uint32_t)(fret & pllfm_mask) * clkod_plld; in ti_pll_consider_entry()130 actual64 += fret >> pllfm_bits; in ti_pll_consider_entry()200 uint64_t fret; in ti_pll_consider() local236 fret = ((uint64_t)data->input * curr_pllfm) / div; in ti_pll_consider()240 fret *= stride; in ti_pll_consider()242 fret += (uint32_t)frem / div; in ti_pll_consider()[all …]
543 uint64_t fret; /* Fraction return value */ in ti_clk_pll_16fft_get_freq_internal() local549 fret = ((uint64_t) parent_freq_hz / clkod_plld) * m_frac_mult; in ti_clk_pll_16fft_get_freq_internal()551 fret += frem / (uint64_t) clkod_plld; in ti_clk_pll_16fft_get_freq_internal()555 frem += (fret & (uint64_t) mask) * clkod_plld; in ti_clk_pll_16fft_get_freq_internal()558 fret += (uint32_t) 1U << (PLL_16FFT_FREQ_CTRL1_FB_DIV_FRAC_BIT_CNT - 1U); in ti_clk_pll_16fft_get_freq_internal()560 ret64 += fret >> PLL_16FFT_FREQ_CTRL1_FB_DIV_FRAC_BIT_CNT; in ti_clk_pll_16fft_get_freq_internal()842 uint64_t fret; in ti_pll_16fft_set_freq_table() local861 fret = ((uint64_t) input / clkod_plld) * in ti_pll_16fft_set_freq_table()866 fret += ((uint64_t) frem) / clkod_plld; in ti_pll_16fft_set_freq_table()869 fret *= stride; in ti_pll_16fft_set_freq_table()[all …]