Home
last modified time | relevance | path

Searched refs:RTC_IMSC (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/rtc/
Drtc-pl031.c32 #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/
Dhispark_taurus.patch52910 +#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/
Dhispark_taurus.patch354336 +#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);