sd_base 106 drivers/phy/cadence/phy-cadence-dp.c void __iomem *sd_base; /* SD0801 registers base */ sd_base 232 drivers/phy/cadence/phy-cadence-dp.c writel(0x0019, cdns_phy->sd_base + CMN_SSM_BIAS_TMR); sd_base 233 drivers/phy/cadence/phy-cadence-dp.c writel(0x0032, cdns_phy->sd_base + CMN_PLLSM0_PLLPRE_TMR); sd_base 234 drivers/phy/cadence/phy-cadence-dp.c writel(0x00D1, cdns_phy->sd_base + CMN_PLLSM0_PLLLOCK_TMR); sd_base 235 drivers/phy/cadence/phy-cadence-dp.c writel(0x0032, cdns_phy->sd_base + CMN_PLLSM1_PLLPRE_TMR); sd_base 236 drivers/phy/cadence/phy-cadence-dp.c writel(0x00D1, cdns_phy->sd_base + CMN_PLLSM1_PLLLOCK_TMR); sd_base 237 drivers/phy/cadence/phy-cadence-dp.c writel(0x007D, cdns_phy->sd_base + CMN_BGCAL_INIT_TMR); sd_base 238 drivers/phy/cadence/phy-cadence-dp.c writel(0x007D, cdns_phy->sd_base + CMN_BGCAL_ITER_TMR); sd_base 239 drivers/phy/cadence/phy-cadence-dp.c writel(0x0019, cdns_phy->sd_base + CMN_IBCAL_INIT_TMR); sd_base 240 drivers/phy/cadence/phy-cadence-dp.c writel(0x001E, cdns_phy->sd_base + CMN_TXPUCAL_INIT_TMR); sd_base 241 drivers/phy/cadence/phy-cadence-dp.c writel(0x0006, cdns_phy->sd_base + CMN_TXPUCAL_ITER_TMR); sd_base 242 drivers/phy/cadence/phy-cadence-dp.c writel(0x001E, cdns_phy->sd_base + CMN_TXPDCAL_INIT_TMR); sd_base 243 drivers/phy/cadence/phy-cadence-dp.c writel(0x0006, cdns_phy->sd_base + CMN_TXPDCAL_ITER_TMR); sd_base 244 drivers/phy/cadence/phy-cadence-dp.c writel(0x02EE, cdns_phy->sd_base + CMN_RXCAL_INIT_TMR); sd_base 245 drivers/phy/cadence/phy-cadence-dp.c writel(0x0006, cdns_phy->sd_base + CMN_RXCAL_ITER_TMR); sd_base 246 drivers/phy/cadence/phy-cadence-dp.c writel(0x0002, cdns_phy->sd_base + CMN_SD_CAL_INIT_TMR); sd_base 247 drivers/phy/cadence/phy-cadence-dp.c writel(0x0002, cdns_phy->sd_base + CMN_SD_CAL_ITER_TMR); sd_base 248 drivers/phy/cadence/phy-cadence-dp.c writel(0x000E, cdns_phy->sd_base + CMN_SD_CAL_REFTIM_START); sd_base 249 drivers/phy/cadence/phy-cadence-dp.c writel(0x012B, cdns_phy->sd_base + CMN_SD_CAL_PLLCNT_START); sd_base 251 drivers/phy/cadence/phy-cadence-dp.c writel(0x0409, cdns_phy->sd_base + CMN_PDIAG_PLL0_CP_PADJ_M0); sd_base 252 drivers/phy/cadence/phy-cadence-dp.c writel(0x1001, cdns_phy->sd_base + CMN_PDIAG_PLL0_CP_IADJ_M0); sd_base 253 drivers/phy/cadence/phy-cadence-dp.c writel(0x0F08, cdns_phy->sd_base + CMN_PDIAG_PLL0_FILT_PADJ_M0); sd_base 254 drivers/phy/cadence/phy-cadence-dp.c writel(0x0004, cdns_phy->sd_base + CMN_PLL0_DSM_DIAG_M0); sd_base 255 drivers/phy/cadence/phy-cadence-dp.c writel(0x00FA, cdns_phy->sd_base + CMN_PLL0_VCOCAL_INIT_TMR); sd_base 256 drivers/phy/cadence/phy-cadence-dp.c writel(0x0004, cdns_phy->sd_base + CMN_PLL0_VCOCAL_ITER_TMR); sd_base 257 drivers/phy/cadence/phy-cadence-dp.c writel(0x00FA, cdns_phy->sd_base + CMN_PLL1_VCOCAL_INIT_TMR); sd_base 258 drivers/phy/cadence/phy-cadence-dp.c writel(0x0004, cdns_phy->sd_base + CMN_PLL1_VCOCAL_ITER_TMR); sd_base 259 drivers/phy/cadence/phy-cadence-dp.c writel(0x0318, cdns_phy->sd_base + CMN_PLL0_VCOCAL_REFTIM_START); sd_base 269 drivers/phy/cadence/phy-cadence-dp.c writel(0x01B0, cdns_phy->sd_base + CMN_PLL0_INTDIV_M0); sd_base 270 drivers/phy/cadence/phy-cadence-dp.c writel(0x0000, cdns_phy->sd_base + CMN_PLL0_FRACDIVL_M0); sd_base 271 drivers/phy/cadence/phy-cadence-dp.c writel(0x0002, cdns_phy->sd_base + CMN_PLL0_FRACDIVH_M0); sd_base 272 drivers/phy/cadence/phy-cadence-dp.c writel(0x0120, cdns_phy->sd_base + CMN_PLL0_HIGH_THR_M0); sd_base 277 drivers/phy/cadence/phy-cadence-dp.c writel(0x0184, cdns_phy->sd_base + CMN_PLL0_INTDIV_M0); sd_base 278 drivers/phy/cadence/phy-cadence-dp.c writel(0xCCCD, cdns_phy->sd_base + CMN_PLL0_FRACDIVL_M0); sd_base 279 drivers/phy/cadence/phy-cadence-dp.c writel(0x0002, cdns_phy->sd_base + CMN_PLL0_FRACDIVH_M0); sd_base 280 drivers/phy/cadence/phy-cadence-dp.c writel(0x0104, cdns_phy->sd_base + CMN_PLL0_HIGH_THR_M0); sd_base 285 drivers/phy/cadence/phy-cadence-dp.c writel(0x0159, cdns_phy->sd_base + CMN_PLL0_INTDIV_M0); sd_base 286 drivers/phy/cadence/phy-cadence-dp.c writel(0x999A, cdns_phy->sd_base + CMN_PLL0_FRACDIVL_M0); sd_base 287 drivers/phy/cadence/phy-cadence-dp.c writel(0x0002, cdns_phy->sd_base + CMN_PLL0_FRACDIVH_M0); sd_base 288 drivers/phy/cadence/phy-cadence-dp.c writel(0x00E7, cdns_phy->sd_base + CMN_PLL0_HIGH_THR_M0); sd_base 292 drivers/phy/cadence/phy-cadence-dp.c writel(0x0144, cdns_phy->sd_base + CMN_PLL0_INTDIV_M0); sd_base 293 drivers/phy/cadence/phy-cadence-dp.c writel(0x0000, cdns_phy->sd_base + CMN_PLL0_FRACDIVL_M0); sd_base 294 drivers/phy/cadence/phy-cadence-dp.c writel(0x0002, cdns_phy->sd_base + CMN_PLL0_FRACDIVH_M0); sd_base 295 drivers/phy/cadence/phy-cadence-dp.c writel(0x00D8, cdns_phy->sd_base + CMN_PLL0_HIGH_THR_M0); sd_base 299 drivers/phy/cadence/phy-cadence-dp.c writel(0x0002, cdns_phy->sd_base + CMN_PDIAG_PLL0_CTRL_M0); sd_base 300 drivers/phy/cadence/phy-cadence-dp.c writel(0x0318, cdns_phy->sd_base + CMN_PLL0_VCOCAL_PLLCNT_START); sd_base 310 drivers/phy/cadence/phy-cadence-dp.c writel(0x0000, cdns_phy->sd_base + PHY_PLL_CFG); sd_base 338 drivers/phy/cadence/phy-cadence-dp.c writel(clk_sel_val, cdns_phy->sd_base + CMN_PDIAG_PLL0_CLK_SEL_M0); sd_base 343 drivers/phy/cadence/phy-cadence-dp.c cdns_phy->sd_base + (XCVR_DIAG_HSCLK_DIV | (i<<11))); sd_base 353 drivers/phy/cadence/phy-cadence-dp.c writel(0x00FB, cdns_phy->sd_base + (TX_PSC_A0 | lane_bits)); sd_base 354 drivers/phy/cadence/phy-cadence-dp.c writel(0x04AA, cdns_phy->sd_base + (TX_PSC_A2 | lane_bits)); sd_base 355 drivers/phy/cadence/phy-cadence-dp.c writel(0x04AA, cdns_phy->sd_base + (TX_PSC_A3 | lane_bits)); sd_base 356 drivers/phy/cadence/phy-cadence-dp.c writel(0x0000, cdns_phy->sd_base + (RX_PSC_A0 | lane_bits)); sd_base 357 drivers/phy/cadence/phy-cadence-dp.c writel(0x0000, cdns_phy->sd_base + (RX_PSC_A2 | lane_bits)); sd_base 358 drivers/phy/cadence/phy-cadence-dp.c writel(0x0000, cdns_phy->sd_base + (RX_PSC_A3 | lane_bits)); sd_base 360 drivers/phy/cadence/phy-cadence-dp.c writel(0x0001, cdns_phy->sd_base + (XCVR_DIAG_PLLDRC_CTRL | lane_bits)); sd_base 361 drivers/phy/cadence/phy-cadence-dp.c writel(0x0000, cdns_phy->sd_base + (XCVR_DIAG_HSCLK_SEL | lane_bits)); sd_base 468 drivers/phy/cadence/phy-cadence-dp.c cdns_phy->sd_base = devm_ioremap_resource(&pdev->dev, regs); sd_base 469 drivers/phy/cadence/phy-cadence-dp.c if (IS_ERR(cdns_phy->sd_base)) sd_base 470 drivers/phy/cadence/phy-cadence-dp.c return PTR_ERR(cdns_phy->sd_base);