Lines Matching refs:ctl_addr
217 void __iomem *ctl_addr = scpd->base + data->ctl_offs; in scpsys_power_on() local
224 val = readl(ctl_addr); in scpsys_power_on()
226 writel(val, ctl_addr); in scpsys_power_on()
229 writel(val, ctl_addr); in scpsys_power_on()
237 writel(val, ctl_addr); in scpsys_power_on()
240 writel(val, ctl_addr); in scpsys_power_on()
243 writel(val, ctl_addr); in scpsys_power_on()
246 writel(val, ctl_addr); in scpsys_power_on()
248 ret = readl_poll_timeout(ctl_addr, tmp, !(tmp & pdn_ack), 100); in scpsys_power_on()
266 void __iomem *ctl_addr = scpd->base + data->ctl_offs; in scpsys_power_off() local
278 val = readl(ctl_addr); in scpsys_power_off()
280 writel(val, ctl_addr); in scpsys_power_off()
282 ret = readl_poll_timeout(ctl_addr, tmp, (tmp & pdn_ack) == pdn_ack, in scpsys_power_off()
288 writel(val, ctl_addr); in scpsys_power_off()
291 writel(val, ctl_addr); in scpsys_power_off()
294 writel(val, ctl_addr); in scpsys_power_off()
297 writel(val, ctl_addr); in scpsys_power_off()
300 writel(val, ctl_addr); in scpsys_power_off()