Home
last modified time | relevance | path

Searched refs:pcb_base (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/phy/broadcom/
H A Dphy-brcm-sata.c215 void __iomem *pcb_base = priv->phy_base; in brcm_sata_phy_wr() local
221 pcb_base += (port->portnum * SATA_PCB_REG_28NM_SPACE_SIZE); in brcm_sata_phy_wr()
223 writel(bank, pcb_base + SATA_PCB_BANK_OFFSET); in brcm_sata_phy_wr()
224 tmp = readl(pcb_base + SATA_PCB_REG_OFFSET(ofs)); in brcm_sata_phy_wr()
226 writel(tmp, pcb_base + SATA_PCB_REG_OFFSET(ofs)); in brcm_sata_phy_wr()
232 void __iomem *pcb_base = priv->phy_base; in brcm_sata_phy_rd() local
237 pcb_base += (port->portnum * SATA_PCB_REG_28NM_SPACE_SIZE); in brcm_sata_phy_rd()
239 writel(bank, pcb_base + SATA_PCB_BANK_OFFSET); in brcm_sata_phy_rd()
240 return readl(pcb_base + SATA_PCB_REG_OFFSET(ofs)); in brcm_sata_phy_rd()