Searched refs:pll_num (Results 1 – 2 of 2) sorted by relevance
1908 int64_t pll_num; in XcvrGetFreq() local1911 pll_num = XCVR_BRD_PLL_LP_SDM_CTRL2_LPM_NUM(XCVR); in XcvrGetFreq()1913 if ( (pll_num & 0x0000000004000000) == 0x0000000004000000) in XcvrGetFreq()1914 pll_num = 0xFFFFFFFFF8000000 + pll_num; /* Sign extend the numerator */ in XcvrGetFreq()1919 …return (uint32_t)(pll_int << 6) + ((pll_num << 6) / pll_denom); /* Calculate the frequency in MHz… in XcvrGetFreq()
1453 int32_t pll_num; in XCVR_GetFreq() local1487 pll_num = (~pll_num_unsigned + 1) & 0x03FFFFFFU; in XCVR_GetFreq()1490 freq_float = (ref_clk * 2 * (pll_int - ((float)pll_num / pll_denom))); in XCVR_GetFreq()1495 pll_num = pll_num_unsigned; in XCVR_GetFreq()1496 freq_float = (ref_clk * 2 * (pll_int + ((float)pll_num / (float)pll_denom))); in XCVR_GetFreq()