Searched refs:rtsr (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/drivers/rtc/ |
D | rtc-sa1100.c | 50 unsigned int rtsr; in sa1100_rtc_interrupt() local 55 rtsr = readl_relaxed(info->rtsr); in sa1100_rtc_interrupt() 57 writel_relaxed(0, info->rtsr); in sa1100_rtc_interrupt() 60 if (rtsr & (RTSR_ALE | RTSR_HZE)) { in sa1100_rtc_interrupt() 64 writel_relaxed((RTSR_AL | RTSR_HZ) & (rtsr >> 2), info->rtsr); in sa1100_rtc_interrupt() 73 writel_relaxed(RTSR_AL | RTSR_HZ, info->rtsr); in sa1100_rtc_interrupt() 77 if (rtsr & RTSR_AL) in sa1100_rtc_interrupt() 78 rtsr &= ~RTSR_ALE; in sa1100_rtc_interrupt() 79 writel_relaxed(rtsr & (RTSR_ALE | RTSR_HZE), info->rtsr); in sa1100_rtc_interrupt() 82 if (rtsr & RTSR_AL) in sa1100_rtc_interrupt() [all …]
|
D | rtc-pxa.c | 112 u32 rtsr; in rtsr_clear_bits() local 114 rtsr = rtc_readl(pxa_rtc, RTSR); in rtsr_clear_bits() 115 rtsr &= ~RTSR_TRIG_MASK; in rtsr_clear_bits() 116 rtsr &= ~mask; in rtsr_clear_bits() 117 rtc_writel(pxa_rtc, RTSR, rtsr); in rtsr_clear_bits() 122 u32 rtsr; in rtsr_set_bits() local 124 rtsr = rtc_readl(pxa_rtc, RTSR); in rtsr_set_bits() 125 rtsr &= ~RTSR_TRIG_MASK; in rtsr_set_bits() 126 rtsr |= mask; in rtsr_set_bits() 127 rtc_writel(pxa_rtc, RTSR, rtsr); in rtsr_set_bits() [all …]
|
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()
|
D | rtc-sa1100.h | 14 void __iomem *rtsr; member
|
/linux-6.1.9/drivers/irqchip/ |
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 …]
|