From c799db69b48296264cdab03ebb921f12c8a209ac Mon Sep 17 00:00:00 2001 From: Alex Forencich Date: Wed, 2 Mar 2022 17:26:02 -0800 Subject: [PATCH] Add PROGDIV_RATE register value defines --- include/gt/gthe4_regs.h | 4 ++++ include/gt/gtye3_regs.h | 4 ++++ include/gt/gtye4_regs.h | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/include/gt/gthe4_regs.h b/include/gt/gthe4_regs.h index 5cbabef75..9dcdd1433 100644 --- a/include/gt/gthe4_regs.h +++ b/include/gt/gthe4_regs.h @@ -2331,10 +2331,14 @@ either expressed or implied, of The Regents of the University of California. #define GTHE4_CH_RX_PROGDIV_RATE_MSB 15 #define GTHE4_CH_RX_PROGDIV_RATE_LSB 0 #define GTHE4_CH_RX_PROGDIV_RATE_MASK BIT_MASK(GTHE4_CH_RX_PROGDIV_RATE_MSB, GTHE4_CH_RX_PROGDIV_RATE_LSB) +#define GTHE4_CH_RX_PROGDIV_RATE_HALF 0 +#define GTHE4_CH_RX_PROGDIV_RATE_FULL 1 #define GTHE4_CH_TX_PROGDIV_RATE_ADDR 0x0105 #define GTHE4_CH_TX_PROGDIV_RATE_MSB 15 #define GTHE4_CH_TX_PROGDIV_RATE_LSB 0 #define GTHE4_CH_TX_PROGDIV_RATE_MASK BIT_MASK(GTHE4_CH_TX_PROGDIV_RATE_MSB, GTHE4_CH_TX_PROGDIV_RATE_LSB) +#define GTHE4_CH_TX_PROGDIV_RATE_HALF 0 +#define GTHE4_CH_TX_PROGDIV_RATE_FULL 1 #define GTHE4_CH_TX_DCC_LOOP_RST_CFG_ADDR 0x0106 #define GTHE4_CH_TX_DCC_LOOP_RST_CFG_MSB 15 #define GTHE4_CH_TX_DCC_LOOP_RST_CFG_LSB 0 diff --git a/include/gt/gtye3_regs.h b/include/gt/gtye3_regs.h index b68da5811..b71f813ca 100644 --- a/include/gt/gtye3_regs.h +++ b/include/gt/gtye3_regs.h @@ -2245,6 +2245,8 @@ either expressed or implied, of The Regents of the University of California. #define GTYE3_CH_RX_PROGDIV_RATE_MSB 15 #define GTYE3_CH_RX_PROGDIV_RATE_LSB 0 #define GTYE3_CH_RX_PROGDIV_RATE_MASK BIT_MASK(GTYE3_CH_RX_PROGDIV_RATE_MSB, GTYE3_CH_RX_PROGDIV_RATE_LSB) +#define GTYE3_CH_RX_PROGDIV_RATE_HALF 0 +#define GTYE3_CH_RX_PROGDIV_RATE_FULL 1 #define GTYE3_CH_TXPI_RSV0_ADDR 0x0104 #define GTYE3_CH_TXPI_RSV0_MSB 15 #define GTYE3_CH_TXPI_RSV0_LSB 0 @@ -2253,6 +2255,8 @@ either expressed or implied, of The Regents of the University of California. #define GTYE3_CH_TX_PROGDIV_RATE_MSB 15 #define GTYE3_CH_TX_PROGDIV_RATE_LSB 0 #define GTYE3_CH_TX_PROGDIV_RATE_MASK BIT_MASK(GTYE3_CH_TX_PROGDIV_RATE_MSB, GTYE3_CH_TX_PROGDIV_RATE_LSB) +#define GTYE3_CH_TX_PROGDIV_RATE_HALF 0 +#define GTYE3_CH_TX_PROGDIV_RATE_FULL 1 #define GTYE3_CH_LOOP0_CFG_ADDR 0x0106 #define GTYE3_CH_LOOP0_CFG_MSB 15 #define GTYE3_CH_LOOP0_CFG_LSB 0 diff --git a/include/gt/gtye4_regs.h b/include/gt/gtye4_regs.h index 7c7c0275e..1516b661b 100644 --- a/include/gt/gtye4_regs.h +++ b/include/gt/gtye4_regs.h @@ -2299,6 +2299,8 @@ either expressed or implied, of The Regents of the University of California. #define GTYE4_CH_RX_PROGDIV_RATE_MSB 15 #define GTYE4_CH_RX_PROGDIV_RATE_LSB 0 #define GTYE4_CH_RX_PROGDIV_RATE_MASK BIT_MASK(GTYE4_CH_RX_PROGDIV_RATE_MSB, GTYE4_CH_RX_PROGDIV_RATE_LSB) +#define GTYE4_CH_RX_PROGDIV_RATE_HALF 0 +#define GTYE4_CH_RX_PROGDIV_RATE_FULL 1 #define GTYE4_CH_RXDFE_HF_CFG1_ADDR 0x0104 #define GTYE4_CH_RXDFE_HF_CFG1_MSB 15 #define GTYE4_CH_RXDFE_HF_CFG1_LSB 0 @@ -2307,6 +2309,8 @@ either expressed or implied, of The Regents of the University of California. #define GTYE4_CH_TX_PROGDIV_RATE_MSB 15 #define GTYE4_CH_TX_PROGDIV_RATE_LSB 0 #define GTYE4_CH_TX_PROGDIV_RATE_MASK BIT_MASK(GTYE4_CH_TX_PROGDIV_RATE_MSB, GTYE4_CH_TX_PROGDIV_RATE_LSB) +#define GTYE4_CH_TX_PROGDIV_RATE_HALF 0 +#define GTYE4_CH_TX_PROGDIV_RATE_FULL 1 #define GTYE4_CH_TX_DCC_LOOP_RST_CFG_ADDR 0x0106 #define GTYE4_CH_TX_DCC_LOOP_RST_CFG_MSB 15 #define GTYE4_CH_TX_DCC_LOOP_RST_CFG_LSB 0