Driver for the Altera CDR/CMU PLL dynamic reconfiguration. More...
Macros | |
#define | A10_CDR_PLL_PFD_MIN 50000 /* 50.00 Mhz */ |
#define | A10_CDR_PLL_PFD_MAX 800000 /* 800.00 Mhz */ |
#define | A10_CDR_PLL_VCO_MIN 4900000 /* 4.90 GHz */ |
#define | A10_CDR_PLL_VCO_MAX 14150000 /* 14.15 GHz */ |
Functions | |
uint32_t | altera_a10_cdr_lookup_vco_speed (uint32_t fvco) |
altera_a10_cdr_lookup_vco_speed | |
uint32_t | altera_a10_cdr_lookup_vco_speed_fix (uint32_t fvco) |
altera_a10_cdr_lookup_vco_speed_fix | |
uint32_t | altera_a10_cdr_lookup_cp_current_pd (uint32_t fvco, uint32_t lpd) |
altera_a10_cdr_lookup_cp_current_pd | |
uint32_t | altera_a10_cdr_lookup_clklow_div (uint32_t fref) |
altera_a10_cdr_lookup_clklow_div | |
uint32_t | altera_a10_cdr_lookup_fastlock (uint32_t lpd) |
altera_a10_cdr_lookup_fastlock | |
uint32_t | altera_a10_cdr_lookup_lf_resistor_pd (uint32_t fvco, uint32_t lpd) |
altera_a10_cdr_lookup_lf_resistor_pd | |
uint32_t | altera_a10_cdr_lookup_lf_resistor_pfd (uint32_t fvco, uint32_t m, uint32_t lpfd) |
altera_a10_cdr_lookup_lf_resistor_pfd | |
uint32_t | altera_a10_cdr_lookup_cp_current_pfd (uint32_t fvco, uint32_t m, uint32_t lpfd) |
altera_a10_cdr_lookup_cp_current_pfd | |
void | altera_a10_cdr_calc_params (uint32_t fref, uint32_t fout, uint32_t *best_n, uint32_t *best_m, uint32_t *best_lpfd, uint32_t *best_lpd, uint32_t *best_fvco) |
altera_a10_cdr_calc_params | |
long | altera_a10_cdr_pll_round_rate (struct adxcvr *xcvr, uint32_t rate_khz) |
altera_a10_cdr_pll_round_rate | |
int32_t | altera_a10_cdr_pll_set_rate (struct adxcvr *xcvr, uint32_t rate_khz) |
altera_a10_cdr_pll_set_rate | |
uint32_t | altera_a10_cdr_pll_recalc_rate (struct adxcvr *xcvr) |
altera_a10_cdr_pll_recalc_rate | |
Driver for the Altera CDR/CMU PLL dynamic reconfiguration.
Copyright 2018(c) Analog Devices, Inc.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES, INC. “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANALOG DEVICES, INC. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define A10_CDR_PLL_PFD_MAX 800000 /* 800.00 Mhz */ |
#define A10_CDR_PLL_PFD_MIN 50000 /* 50.00 Mhz */ |
#define A10_CDR_PLL_VCO_MAX 14150000 /* 14.15 GHz */ |
#define A10_CDR_PLL_VCO_MIN 4900000 /* 4.90 GHz */ |
void altera_a10_cdr_calc_params | ( | uint32_t | fref, |
uint32_t | fout, | ||
uint32_t * | best_n, | ||
uint32_t * | best_m, | ||
uint32_t * | best_lpfd, | ||
uint32_t * | best_lpd, | ||
uint32_t * | best_fvco ) |
altera_a10_cdr_calc_params
uint32_t altera_a10_cdr_lookup_clklow_div | ( | uint32_t | fref | ) |
altera_a10_cdr_lookup_clklow_div
uint32_t altera_a10_cdr_lookup_cp_current_pd | ( | uint32_t | fvco, |
uint32_t | lpd ) |
altera_a10_cdr_lookup_cp_current_pd
uint32_t altera_a10_cdr_lookup_cp_current_pfd | ( | uint32_t | fvco, |
uint32_t | m, | ||
uint32_t | lpfd ) |
altera_a10_cdr_lookup_cp_current_pfd
uint32_t altera_a10_cdr_lookup_fastlock | ( | uint32_t | lpd | ) |
altera_a10_cdr_lookup_fastlock
uint32_t altera_a10_cdr_lookup_lf_resistor_pd | ( | uint32_t | fvco, |
uint32_t | lpd ) |
altera_a10_cdr_lookup_lf_resistor_pd
uint32_t altera_a10_cdr_lookup_lf_resistor_pfd | ( | uint32_t | fvco, |
uint32_t | m, | ||
uint32_t | lpfd ) |
altera_a10_cdr_lookup_lf_resistor_pfd
uint32_t altera_a10_cdr_lookup_vco_speed | ( | uint32_t | fvco | ) |
altera_a10_cdr_lookup_vco_speed
uint32_t altera_a10_cdr_lookup_vco_speed_fix | ( | uint32_t | fvco | ) |
altera_a10_cdr_lookup_vco_speed_fix
uint32_t altera_a10_cdr_pll_recalc_rate | ( | struct adxcvr * | xcvr | ) |
altera_a10_cdr_pll_recalc_rate
long altera_a10_cdr_pll_round_rate | ( | struct adxcvr * | xcvr, |
uint32_t | rate_khz ) |
altera_a10_cdr_pll_round_rate
int32_t altera_a10_cdr_pll_set_rate | ( | struct adxcvr * | xcvr, |
uint32_t | rate_khz ) |
altera_a10_cdr_pll_set_rate