Searched refs:rtsr (Results 1 – 5 of 5) sorted by relevance
/linux-6.3-rc2/drivers/rtc/ |
A D | rtc-sa1100.c | 50 unsigned int rtsr; in sa1100_rtc_interrupt() local 55 rtsr = readl_relaxed(info->rtsr); in sa1100_rtc_interrupt() 64 writel_relaxed((RTSR_AL | RTSR_HZ) & (rtsr >> 2), info->rtsr); in sa1100_rtc_interrupt() 79 writel_relaxed(rtsr & (RTSR_ALE | RTSR_HZE), info->rtsr); in sa1100_rtc_interrupt() 96 u32 rtsr; in sa1100_rtc_alarm_irq_enable() local 100 rtsr = readl_relaxed(info->rtsr); in sa1100_rtc_alarm_irq_enable() 102 rtsr |= RTSR_ALE; in sa1100_rtc_alarm_irq_enable() 105 writel_relaxed(rtsr, info->rtsr); in sa1100_rtc_alarm_irq_enable() 129 u32 rtsr; in sa1100_rtc_read_alarm() local 132 rtsr = readl_relaxed(info->rtsr); in sa1100_rtc_read_alarm() [all …]
|
A D | rtc-pxa.c | 112 u32 rtsr; in rtsr_clear_bits() local 116 rtsr &= ~mask; in rtsr_clear_bits() 122 u32 rtsr; in rtsr_set_bits() local 126 rtsr |= mask; in rtsr_set_bits() 133 u32 rtsr; in pxa_rtc_irq() local 146 if (rtsr & RTSR_RDAL1) in pxa_rtc_irq() 152 if (rtsr & RTSR_HZ) in pxa_rtc_irq() 154 if (rtsr & RTSR_PIAL) in pxa_rtc_irq() 246 u32 rtsr, ryar, rdar; in pxa_rtc_read_alarm() local 261 u32 rtsr; in pxa_rtc_set_alarm() local [all …]
|
A D | rtc-at91rm9200.c | 380 unsigned int rtsr; in at91_rtc_interrupt() local 385 rtsr = at91_rtc_read(AT91_RTC_SR) & at91_rtc_read_imr(); in at91_rtc_interrupt() 386 if (rtsr) { /* this interrupt is shared! Is it ours? */ in at91_rtc_interrupt() 387 if (rtsr & AT91_RTC_ALARM) in at91_rtc_interrupt() 389 if (rtsr & AT91_RTC_SECEV) { in at91_rtc_interrupt() 393 if (rtsr & AT91_RTC_ACKUPD) in at91_rtc_interrupt() 396 at91_rtc_write(AT91_RTC_SCCR, rtsr); /* clear status reg */ in at91_rtc_interrupt()
|
A D | rtc-sa1100.h | 14 void __iomem *rtsr; member
|
/linux-6.3-rc2/drivers/irqchip/ |
A D | irq-stm32-exti.c | 318 unsigned int type, u32 *rtsr, u32 *ftsr) in stm32_exti_set_type() argument 324 *rtsr |= mask; in stm32_exti_set_type() 328 *rtsr &= ~mask; in stm32_exti_set_type() 332 *rtsr |= mask; in stm32_exti_set_type() 348 u32 rtsr, ftsr; in stm32_irq_set_type() local 361 rtsr = irq_reg_readl(gc, stm32_bank->rtsr_ofst); in stm32_irq_set_type() 364 err = stm32_exti_set_type(d, type, &rtsr, &ftsr); in stm32_irq_set_type() 368 irq_reg_writel(gc, rtsr, stm32_bank->rtsr_ofst); in stm32_irq_set_type() 551 u32 rtsr, ftsr; in stm32_exti_h_set_type() local 564 rtsr = readl_relaxed(base + stm32_bank->rtsr_ofst); in stm32_exti_h_set_type() [all …]
|
Completed in 12 milliseconds