Searched refs:RTC_IMSC (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/drivers/rtc/ |
D | rtc-pl031.c | 32 #define RTC_IMSC 0x10 /* Interrupt mask and set register */ macro 102 imsc = readl(ldata->base + RTC_IMSC); in pl031_alarm_irq_enable() 105 writel(imsc | RTC_BIT_AI, ldata->base + RTC_IMSC); in pl031_alarm_irq_enable() 107 writel(imsc & ~RTC_BIT_AI, ldata->base + RTC_IMSC); in pl031_alarm_irq_enable() 201 alarm->enabled = readl(ldata->base + RTC_IMSC) & RTC_BIT_AI; in pl031_stv2_read_alarm() 268 alarm->enabled = readl(ldata->base + RTC_IMSC) & RTC_BIT_AI; in pl031_read_alarm()
|
/kernel/linux/patches/linux-5.10/hispark_taurus_patch/ |
D | hispark_taurus.patch | 52910 +#define RTC_IMSC 0x4C 52964 +#define RTC_IMSC 0x13 53207 + hibvt_rtc_read(rtc->regs, RTC_IMSC, &int_state); 53233 + hibvt_rtc_read(rtc->regs, RTC_IMSC, &val); 53235 + hibvt_rtc_write(rtc->regs, RTC_IMSC, val | AIE_INT_MASK); 53237 + hibvt_rtc_write(rtc->regs, RTC_IMSC, val & ~AIE_INT_MASK); 53248 + hibvt_rtc_read(rtc->regs, RTC_IMSC, &val); 53250 + hibvt_rtc_write(rtc->regs, RTC_IMSC, val | AIE_INT_MASK); 53252 + hibvt_rtc_write(rtc->regs, RTC_IMSC, val & ~AIE_INT_MASK); 53366 + hibvt_rtc_write(spi_reg, RTC_IMSC, INT_MSK_DEFAULT);
|
/kernel/linux/patches/linux-4.19/hispark_taurus_patch/ |
D | hispark_taurus.patch | 354336 +#define RTC_IMSC 0x4C 354390 +#define RTC_IMSC 0x13 354633 + hibvt_rtc_read(rtc->regs, RTC_IMSC, &int_state); 354659 + hibvt_rtc_read(rtc->regs, RTC_IMSC, &val); 354661 + hibvt_rtc_write(rtc->regs, RTC_IMSC, val | AIE_INT_MASK); 354663 + hibvt_rtc_write(rtc->regs, RTC_IMSC, val & ~AIE_INT_MASK); 354674 + hibvt_rtc_read(rtc->regs, RTC_IMSC, &val); 354676 + hibvt_rtc_write(rtc->regs, RTC_IMSC, val | AIE_INT_MASK); 354678 + hibvt_rtc_write(rtc->regs, RTC_IMSC, val & ~AIE_INT_MASK); 354792 + hibvt_rtc_write(spi_reg, RTC_IMSC, INT_MSK_DEFAULT);
|