Lines Matching refs:sds_base
535 void __iomem *sds_base; /* PHY CSR base addr */ member
596 void __iomem *sds_base = ctx->sds_base; in cmu_wr() local
603 sds_wr(sds_base, SATA_ENET_SDS_IND_CMD_REG, in cmu_wr()
605 sds_rd(sds_base, SATA_ENET_SDS_IND_CMD_REG, in cmu_wr()
613 void __iomem *sds_base = ctx->sds_base; in cmu_rd() local
619 sds_rd(sds_base, SATA_ENET_SDS_IND_CMD_REG, in cmu_rd()
659 void __iomem *sds_base = ctx->sds_base; in serdes_wr() local
664 sds_wr(sds_base, SATA_ENET_SDS_IND_CMD_REG, in serdes_wr()
666 sds_rd(sds_base, SATA_ENET_SDS_IND_CMD_REG, in serdes_wr()
674 void __iomem *sds_base = ctx->sds_base; in serdes_rd() local
678 sds_rd(sds_base, SATA_ENET_SDS_IND_CMD_REG, in serdes_rd()
1137 void __iomem *csr_serdes = ctx->sds_base; in xgene_phy_cal_rdy_chk()
1254 void __iomem *sds_base = ctx->sds_base; in xgene_phy_hw_init_sata() local
1261 writel(0x0, sds_base + SATA_ENET_SDS_RST_CTL); in xgene_phy_hw_init_sata()
1262 val = readl(sds_base + SATA_ENET_SDS_RST_CTL); /* Force a barrier */ in xgene_phy_hw_init_sata()
1264 writel(0x20, sds_base + SATA_ENET_SDS_RST_CTL); in xgene_phy_hw_init_sata()
1265 readl(sds_base + SATA_ENET_SDS_RST_CTL); /* Force a barrier */ in xgene_phy_hw_init_sata()
1267 writel(0xde, sds_base + SATA_ENET_SDS_RST_CTL); in xgene_phy_hw_init_sata()
1268 readl(sds_base + SATA_ENET_SDS_RST_CTL); /* Force a barrier */ in xgene_phy_hw_init_sata()
1271 val = readl(sds_base + SATA_ENET_SDS_CTL1); in xgene_phy_hw_init_sata()
1274 writel(val, sds_base + SATA_ENET_SDS_CTL1); in xgene_phy_hw_init_sata()
1277 val = readl(sds_base + SATA_ENET_SDS_CTL0); in xgene_phy_hw_init_sata()
1279 writel(val, sds_base + SATA_ENET_SDS_CTL0); in xgene_phy_hw_init_sata()
1295 val = readl(sds_base + SATA_ENET_SDS_PCS_CTL0); in xgene_phy_hw_init_sata()
1298 writel(val, sds_base + SATA_ENET_SDS_PCS_CTL0); in xgene_phy_hw_init_sata()
1665 ctx->sds_base = devm_ioremap_resource(&pdev->dev, res); in xgene_phy_probe()
1666 if (IS_ERR(ctx->sds_base)) in xgene_phy_probe()
1667 return PTR_ERR(ctx->sds_base); in xgene_phy_probe()