Lines Matching refs:regs_soc
72 void __iomem *regs_soc; member
117 reg = readl(rtc->regs_soc + RTC_38X_BRIDGE_TIMING_CTL); in rtc_update_38x_mbus_timing_params()
122 writel(reg, rtc->regs_soc + RTC_38X_BRIDGE_TIMING_CTL); in rtc_update_38x_mbus_timing_params()
129 reg = readl(rtc->regs_soc + RTC_8K_BRIDGE_TIMING_CTL0); in rtc_update_8k_mbus_timing_params()
134 writel(reg, rtc->regs_soc + RTC_8K_BRIDGE_TIMING_CTL0); in rtc_update_8k_mbus_timing_params()
136 reg = readl(rtc->regs_soc + RTC_8K_BRIDGE_TIMING_CTL1); in rtc_update_8k_mbus_timing_params()
139 writel(reg, rtc->regs_soc + RTC_8K_BRIDGE_TIMING_CTL1); in rtc_update_8k_mbus_timing_params()
191 u32 val = readl(rtc->regs_soc + SOC_RTC_INTERRUPT); in armada38x_clear_isr()
193 writel(val & ~SOC_RTC_ALARM1, rtc->regs_soc + SOC_RTC_INTERRUPT); in armada38x_clear_isr()
198 u32 val = readl(rtc->regs_soc + SOC_RTC_INTERRUPT); in armada38x_unmask_interrupt()
200 writel(val | SOC_RTC_ALARM1_MASK, rtc->regs_soc + SOC_RTC_INTERRUPT); in armada38x_unmask_interrupt()
205 writel(RTC_8K_ALARM2, rtc->regs_soc + RTC_8K_ISR); in armada8k_clear_isr()
210 writel(RTC_8K_ALARM2, rtc->regs_soc + RTC_8K_IMR); in armada8k_unmask_interrupt()
516 rtc->regs_soc = devm_ioremap_resource(&pdev->dev, res); in armada38x_rtc_probe()
517 if (IS_ERR(rtc->regs_soc)) in armada38x_rtc_probe()
518 return PTR_ERR(rtc->regs_soc); in armada38x_rtc_probe()