no-OS
altera_a10_atx_pll.h
Go to the documentation of this file.
1 /***************************************************************************/
33 #ifndef ALTERA_A10_ATX_PLL_H_
34 #define ALTERA_A10_ATX_PLL_H_
35 
36 /******************************************************************************/
37 /***************************** Include Files **********************************/
38 /******************************************************************************/
39 #include "altera_adxcvr.h"
40 
41 /******************************************************************************/
42 /************************ Functions Declarations ******************************/
43 /******************************************************************************/
44 int32_t altera_a10_atx_pll_round_rate(struct adxcvr *xcvr,
45  uint32_t rate_khz);
46 int32_t altera_a10_atx_pll_set_rate(struct adxcvr *xcvr,
47  uint32_t rate_khz);
48 uint32_t altera_a10_atx_pll_recalc_rate(struct adxcvr *xcvr);
49 
50 #endif
xcvr_calib_tx
int32_t xcvr_calib_tx(struct adxcvr *xcvr)
xcvr_calib_tx
Definition: altera_adxcvr.c:312
adxcvr::parent_rate_khz
uint32_t parent_rate_khz
Definition: altera_adxcvr.h:98
no_os_min_t
#define no_os_min_t(type, x, y)
Definition: no_os_util.h:61
adxcvr
ADI JESD204B/C AXI_ADXCVR Highspeed Transceiver Device structure.
Definition: altera_adxcvr.h:89
adxcvr::initial_recalc
bool initial_recalc
Definition: altera_adxcvr.h:99
atx_pll_read
int32_t atx_pll_read(struct adxcvr *xcvr, uint32_t reg, uint32_t *val)
atx_pll_read
Definition: altera_adxcvr.c:151
atx_pll_write
int32_t atx_pll_write(struct adxcvr *xcvr, uint32_t reg, uint32_t val)
atx_pll_write
Definition: altera_adxcvr.c:141
NO_OS_DIV_ROUND_CLOSEST_ULL
#define NO_OS_DIV_ROUND_CLOSEST_ULL(x, y)
Definition: no_os_util.h:56
NO_OS_ARRAY_SIZE
#define NO_OS_ARRAY_SIZE(x)
Definition: no_os_util.h:49
A10_ATX_PLL_VCO_MAX
#define A10_ATX_PLL_VCO_MAX
Definition: altera_a10_atx_pll.c:47
A10_ATX_PLL_VCO_MIN
#define A10_ATX_PLL_VCO_MIN
Definition: altera_a10_atx_pll.c:46
NO_OS_DIV_ROUND_UP
#define NO_OS_DIV_ROUND_UP(x, y)
Definition: no_os_util.h:52
XCVR_REG_CALIB_ATX_PLL_EN
#define XCVR_REG_CALIB_ATX_PLL_EN
Definition: altera_adxcvr.h:54
altera_adxcvr.h
Driver for the Altera ADXCVR Configuration.
atx_pll_calibration_check
int32_t atx_pll_calibration_check(struct adxcvr *xcvr)
atx_pll_calibration_check
Definition: altera_adxcvr.c:248
altera_a10_atx_pll_recalc_rate
uint32_t altera_a10_atx_pll_recalc_rate(struct adxcvr *xcvr)
altera_a10_atx_pll_recalc_rate
Definition: altera_a10_atx_pll.c:283
atx_pll_release_arbitration
void atx_pll_release_arbitration(struct adxcvr *xcvr, bool calibrate)
atx_pll_release_arbitration
Definition: altera_adxcvr.c:184
altera_a10_atx_pll_recalc_rate
uint32_t altera_a10_atx_pll_recalc_rate(struct adxcvr *xcvr)
altera_a10_atx_pll_recalc_rate
Definition: altera_a10_atx_pll.c:283
altera_a10_atx_pll_round_rate
int32_t altera_a10_atx_pll_round_rate(struct adxcvr *xcvr, uint32_t rate_khz)
altera_a10_atx_pll_round_rate
Definition: altera_a10_atx_pll.c:185
atx_pll_update
void atx_pll_update(struct adxcvr *xcvr, uint32_t reg, uint32_t mask, uint32_t val)
atx_pll_update
Definition: altera_adxcvr.c:161
altera_a10_atx_pll_round_rate
int32_t altera_a10_atx_pll_round_rate(struct adxcvr *xcvr, uint32_t rate_khz)
altera_a10_atx_pll_round_rate
Definition: altera_a10_atx_pll.c:185
altera_a10_atx_pll_set_rate
int32_t altera_a10_atx_pll_set_rate(struct adxcvr *xcvr, uint32_t rate_khz)
altera_a10_atx_pll_set_rate
Definition: altera_a10_atx_pll.c:206
XCVR_CALIB_ATX_PLL_EN_MASK
#define XCVR_CALIB_ATX_PLL_EN_MASK
Definition: altera_adxcvr.h:55
no_os_max_t
#define no_os_max_t(type, x, y)
Definition: no_os_util.h:66
adxcvr_pre_lane_rate_change
void adxcvr_pre_lane_rate_change(struct adxcvr *xcvr)
adxcvr_pre_lane_rate_change
Definition: altera_adxcvr.c:345
altera_a10_atx_pll_set_rate
int32_t altera_a10_atx_pll_set_rate(struct adxcvr *xcvr, uint32_t rate_khz)
altera_a10_atx_pll_set_rate
Definition: altera_a10_atx_pll.c:206
altera_a10_atx_pll.h
A10_ATX_PLL_PFD_MIN
#define A10_ATX_PLL_PFD_MIN
Definition: altera_a10_atx_pll.c:44
no_os_util.h
Header file of utility functions.
atx_pll_acquire_arbitration
void atx_pll_acquire_arbitration(struct adxcvr *xcvr)
atx_pll_acquire_arbitration
Definition: altera_adxcvr.c:175
adxcvr_post_lane_rate_change
void adxcvr_post_lane_rate_change(struct adxcvr *xcvr, unsigned int lane_rate_khz)
adxcvr_post_lane_rate_change
Definition: altera_adxcvr.c:393
XCVR_CALIB_ATX_PLL_EN
#define XCVR_CALIB_ATX_PLL_EN
Definition: altera_adxcvr.h:56