Lines Matching full:rstout
26 /* RSTOUT mask register physical address for Orion5x, Kirkwood and Dove */
72 void __iomem *rstout; member
218 reg = readl(dev->rstout); in armada375_start()
220 writel(reg, dev->rstout); in armada375_start()
245 reg = readl(dev->rstout); in armada370_start()
247 writel(reg, dev->rstout); in armada370_start()
264 atomic_io_modify(dev->rstout, dev->data->rstout_enable_bit, in orion_start()
283 atomic_io_modify(dev->rstout, dev->data->rstout_enable_bit, 0); in orion_stop()
299 reg = readl(dev->rstout); in armada375_stop()
301 writel(reg, dev->rstout); in armada375_stop()
318 reg = readl(dev->rstout); in armada370_stop()
320 writel(reg, dev->rstout); in armada370_stop()
342 enabled = readl(dev->rstout) & dev->data->rstout_enable_bit; in orion_enabled()
353 enabled = readl(dev->rstout) & dev->data->rstout_enable_bit; in armada375_enabled()
411 phys_addr_t rstout; in orion_wdt_ioremap_rstout() local
418 rstout = internal_regs + ORION_RSTOUT_MASK_OFFSET; in orion_wdt_ioremap_rstout()
420 WARN(1, FW_BUG "falling back to hardcoded RSTOUT reg %pa\n", &rstout); in orion_wdt_ioremap_rstout()
421 return devm_ioremap(&pdev->dev, rstout, 0x4); in orion_wdt_ioremap_rstout()
515 /* Each supported compatible has some RSTOUT register quirk */ in orion_wdt_get_regs()
518 dev->rstout = orion_wdt_ioremap_rstout(pdev, res->start & in orion_wdt_get_regs()
520 if (!dev->rstout) in orion_wdt_get_regs()
526 /* Dedicated RSTOUT register, can be requested. */ in orion_wdt_get_regs()
527 dev->rstout = devm_platform_ioremap_resource(pdev, 1); in orion_wdt_get_regs()
528 if (IS_ERR(dev->rstout)) in orion_wdt_get_regs()
529 return PTR_ERR(dev->rstout); in orion_wdt_get_regs()
534 /* Dedicated RSTOUT register, can be requested. */ in orion_wdt_get_regs()
535 dev->rstout = devm_platform_ioremap_resource(pdev, 1); in orion_wdt_get_regs()
536 if (IS_ERR(dev->rstout)) in orion_wdt_get_regs()
537 return PTR_ERR(dev->rstout); in orion_wdt_get_regs()