Lines Matching refs:sds_base

536 	void __iomem *sds_base;		/* PHY CSR base addr */  member
597 void __iomem *sds_base = ctx->sds_base; in cmu_wr() local
604 sds_wr(sds_base, SATA_ENET_SDS_IND_CMD_REG, in cmu_wr()
606 sds_rd(sds_base, SATA_ENET_SDS_IND_CMD_REG, in cmu_wr()
614 void __iomem *sds_base = ctx->sds_base; in cmu_rd() local
620 sds_rd(sds_base, SATA_ENET_SDS_IND_CMD_REG, in cmu_rd()
660 void __iomem *sds_base = ctx->sds_base; in serdes_wr() local
665 sds_wr(sds_base, SATA_ENET_SDS_IND_CMD_REG, in serdes_wr()
667 sds_rd(sds_base, SATA_ENET_SDS_IND_CMD_REG, in serdes_wr()
675 void __iomem *sds_base = ctx->sds_base; in serdes_rd() local
679 sds_rd(sds_base, SATA_ENET_SDS_IND_CMD_REG, in serdes_rd()
1139 void __iomem *csr_serdes = ctx->sds_base; in xgene_phy_cal_rdy_chk()
1256 void __iomem *sds_base = ctx->sds_base; in xgene_phy_hw_init_sata() local
1263 writel(0x0, sds_base + SATA_ENET_SDS_RST_CTL); in xgene_phy_hw_init_sata()
1264 val = readl(sds_base + SATA_ENET_SDS_RST_CTL); /* Force a barrier */ in xgene_phy_hw_init_sata()
1266 writel(0x20, sds_base + SATA_ENET_SDS_RST_CTL); in xgene_phy_hw_init_sata()
1267 readl(sds_base + SATA_ENET_SDS_RST_CTL); /* Force a barrier */ in xgene_phy_hw_init_sata()
1269 writel(0xde, sds_base + SATA_ENET_SDS_RST_CTL); in xgene_phy_hw_init_sata()
1270 readl(sds_base + SATA_ENET_SDS_RST_CTL); /* Force a barrier */ in xgene_phy_hw_init_sata()
1273 val = readl(sds_base + SATA_ENET_SDS_CTL1); in xgene_phy_hw_init_sata()
1276 writel(val, sds_base + SATA_ENET_SDS_CTL1); in xgene_phy_hw_init_sata()
1279 val = readl(sds_base + SATA_ENET_SDS_CTL0); in xgene_phy_hw_init_sata()
1281 writel(val, sds_base + SATA_ENET_SDS_CTL0); in xgene_phy_hw_init_sata()
1297 val = readl(sds_base + SATA_ENET_SDS_PCS_CTL0); in xgene_phy_hw_init_sata()
1300 writel(val, sds_base + SATA_ENET_SDS_PCS_CTL0); in xgene_phy_hw_init_sata()
1665 ctx->sds_base = devm_platform_ioremap_resource(pdev, 0); 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()