Searched refs:indirect_cmd_reg (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/phy/ |
D | phy-xgene.c | 551 static void sds_wr(void __iomem *csr_base, u32 indirect_cmd_reg, in sds_wr() argument 562 writel(cmd, csr_base + indirect_cmd_reg); in sds_wr() 563 readl(csr_base + indirect_cmd_reg); /* Force a barrier */ in sds_wr() 565 val = readl(csr_base + indirect_cmd_reg); in sds_wr() 570 csr_base + indirect_cmd_reg, addr, data); in sds_wr() 573 static void sds_rd(void __iomem *csr_base, u32 indirect_cmd_reg, in sds_rd() argument 582 writel(cmd, csr_base + indirect_cmd_reg); in sds_rd() 583 readl(csr_base + indirect_cmd_reg); /* Force a barrier */ in sds_rd() 585 val = readl(csr_base + indirect_cmd_reg); in sds_rd() 591 csr_base + indirect_cmd_reg, addr, *data); in sds_rd()
|