no-OS
altera_a10_atx_pll.h
Go to the documentation of this file.
1 /***************************************************************************/
39 #ifndef ALTERA_A10_ATX_PLL_H_
40 #define ALTERA_A10_ATX_PLL_H_
41 
42 /******************************************************************************/
43 /***************************** Include Files **********************************/
44 /******************************************************************************/
45 #include "altera_adxcvr.h"
46 
47 /******************************************************************************/
48 /************************ Functions Declarations ******************************/
49 /******************************************************************************/
50 int32_t altera_a10_atx_pll_round_rate(struct adxcvr *xcvr,
51  uint32_t rate_khz);
52 int32_t altera_a10_atx_pll_set_rate(struct adxcvr *xcvr,
53  uint32_t rate_khz);
54 uint32_t altera_a10_atx_pll_recalc_rate(struct adxcvr *xcvr);
55 
56 #endif
xcvr_calib_tx
int32_t xcvr_calib_tx(struct adxcvr *xcvr)
xcvr_calib_tx
Definition: altera_adxcvr.c:317
adxcvr::parent_rate_khz
uint32_t parent_rate_khz
Definition: altera_adxcvr.h:104
no_os_min_t
#define no_os_min_t(type, x, y)
Definition: no_os_util.h:65
adxcvr
ADI JESD204B/C AXI_ADXCVR Highspeed Transceiver Device structure.
Definition: altera_adxcvr.h:95
adxcvr::initial_recalc
bool initial_recalc
Definition: altera_adxcvr.h:105
atx_pll_read
int32_t atx_pll_read(struct adxcvr *xcvr, uint32_t reg, uint32_t *val)
atx_pll_read
Definition: altera_adxcvr.c:156
atx_pll_write
int32_t atx_pll_write(struct adxcvr *xcvr, uint32_t reg, uint32_t val)
atx_pll_write
Definition: altera_adxcvr.c:146
NO_OS_DIV_ROUND_CLOSEST_ULL
#define NO_OS_DIV_ROUND_CLOSEST_ULL(x, y)
Definition: no_os_util.h:60
NO_OS_ARRAY_SIZE
#define NO_OS_ARRAY_SIZE(x)
Definition: no_os_util.h:53
A10_ATX_PLL_VCO_MAX
#define A10_ATX_PLL_VCO_MAX
Definition: altera_a10_atx_pll.c:53
A10_ATX_PLL_VCO_MIN
#define A10_ATX_PLL_VCO_MIN
Definition: altera_a10_atx_pll.c:52
NO_OS_DIV_ROUND_UP
#define NO_OS_DIV_ROUND_UP(x, y)
Definition: no_os_util.h:56
XCVR_REG_CALIB_ATX_PLL_EN
#define XCVR_REG_CALIB_ATX_PLL_EN
Definition: altera_adxcvr.h:60
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:253
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:289
atx_pll_release_arbitration
void atx_pll_release_arbitration(struct adxcvr *xcvr, bool calibrate)
atx_pll_release_arbitration
Definition: altera_adxcvr.c:189
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:289
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:191
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:166
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:191
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:212
XCVR_CALIB_ATX_PLL_EN_MASK
#define XCVR_CALIB_ATX_PLL_EN_MASK
Definition: altera_adxcvr.h:61
no_os_max_t
#define no_os_max_t(type, x, y)
Definition: no_os_util.h:70
adxcvr_pre_lane_rate_change
void adxcvr_pre_lane_rate_change(struct adxcvr *xcvr)
adxcvr_pre_lane_rate_change
Definition: altera_adxcvr.c:350
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:212
altera_a10_atx_pll.h
A10_ATX_PLL_PFD_MIN
#define A10_ATX_PLL_PFD_MIN
Definition: altera_a10_atx_pll.c:50
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:180
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:398
XCVR_CALIB_ATX_PLL_EN
#define XCVR_CALIB_ATX_PLL_EN
Definition: altera_adxcvr.h:62