Lines Matching refs:base_addr
33 void __iomem *base_addr; member
44 void __iomem *csr_illegal_req_addr = priv->base_addr + in altera_freeze_br_req_ack()
65 status = readl(priv->base_addr + FREEZE_CSR_STATUS_OFFSET); in altera_freeze_br_req_ack()
69 ctrl = readl(priv->base_addr + FREEZE_CSR_CTRL_OFFSET); in altera_freeze_br_req_ack()
90 void __iomem *csr_ctrl_addr = priv->base_addr + in altera_freeze_br_do_freeze()
95 status = readl(priv->base_addr + FREEZE_CSR_STATUS_OFFSET); in altera_freeze_br_do_freeze()
125 void __iomem *csr_ctrl_addr = priv->base_addr + in altera_freeze_br_do_unfreeze()
132 status = readl(priv->base_addr + FREEZE_CSR_STATUS_OFFSET); in altera_freeze_br_do_unfreeze()
150 status = readl(priv->base_addr + FREEZE_CSR_STATUS_OFFSET); in altera_freeze_br_do_unfreeze()
211 void __iomem *base_addr; in altera_freeze_br_probe() local
221 base_addr = devm_ioremap_resource(dev, res); in altera_freeze_br_probe()
222 if (IS_ERR(base_addr)) in altera_freeze_br_probe()
223 return PTR_ERR(base_addr); in altera_freeze_br_probe()
225 revision = readl(base_addr + FREEZE_CSR_REG_VERSION); in altera_freeze_br_probe()
241 status = readl(base_addr + FREEZE_CSR_STATUS_OFFSET); in altera_freeze_br_probe()
245 priv->base_addr = base_addr; in altera_freeze_br_probe()