Lines Matching +full:0 +full:x7d
8 #define SJA1110_LANE_DRIVER1_0 0x8038
12 #define SJA1110_LANE_DRIVER2_0 0x803a
13 #define SJA1110_TXDRVTRIM_LSB(x) ((x) & GENMASK_ULL(15, 0))
16 #define SJA1110_LANE_DRIVER2_1 0x803b
21 #define SJA1110_LANE_TRIM 0x8040
28 #define SJA1110_ACCOUPLE_RXVCM_EN BIT(0)
31 #define SJA1110_LANE_DATAPATH_1 0x8037
34 #define SJA1110_POWERDOWN_ENABLE 0x8041
46 #define SJA1110_RXPLL_CTRL0 0x8065
50 #define SJA1110_RXPLL_CTRL1 0x8066
51 #define SJA1110_RXPLL_REFDIV(x) ((x) & GENMASK(4, 0))
54 #define SJA1110_TXPLL_CTRL0 0x806d
55 #define SJA1110_TXPLL_FBDIV(x) ((x) & GENMASK(11, 0))
58 #define SJA1110_TXPLL_CTRL1 0x806e
59 #define SJA1110_TXPLL_REFDIV(x) ((x) & GENMASK(5, 0))
62 #define SJA1110_RX_DATA_DETECT 0x8045
65 #define SJA1110_RX_CDR_CTLE 0x8042
91 if (ret < 0) in nxp_sja1110_pma_config()
96 if (ret < 0) in nxp_sja1110_pma_config()
101 SJA1110_TXDRV(0x5)); in nxp_sja1110_pma_config()
102 if (ret < 0) in nxp_sja1110_pma_config()
105 val = SJA1110_TXDRVTRIM_LSB(0xffffffull); in nxp_sja1110_pma_config()
108 if (ret < 0) in nxp_sja1110_pma_config()
111 val = SJA1110_TXDRVTRIM_MSB(0xffffffull) | SJA1110_LANE_DRIVER2_1_RSV; in nxp_sja1110_pma_config()
114 if (ret < 0) in nxp_sja1110_pma_config()
123 if (ret < 0) in nxp_sja1110_pma_config()
127 ret = xpcs_write(xpcs, MDIO_MMD_VEND2, SJA1110_LANE_DATAPATH_1, 0); in nxp_sja1110_pma_config()
128 if (ret < 0) in nxp_sja1110_pma_config()
136 if (ret < 0) in nxp_sja1110_pma_config()
141 if (ret < 0) in nxp_sja1110_pma_config()
148 ret = xpcs_write(xpcs, MDIO_MMD_VEND2, SJA1110_RX_DATA_DETECT, 0x0005); in nxp_sja1110_pma_config()
149 if (ret < 0) in nxp_sja1110_pma_config()
156 if (ret < 0) in nxp_sja1110_pma_config()
165 if (ret < 0) in nxp_sja1110_pma_config()
171 if (ret < 0) in nxp_sja1110_pma_config()
174 return 0; in nxp_sja1110_pma_config()
179 return nxp_sja1110_pma_config(xpcs, 0x19, 0x1, 0x19, 0x1, 0x212a); in nxp_sja1110_sgmii_pma_config()
184 return nxp_sja1110_pma_config(xpcs, 0x7d, 0x2, 0x7d, 0x2, 0x732a); in nxp_sja1110_2500basex_pma_config()