Searched refs:ALARM_EN (Results 1 – 2 of 2) sorted by relevance
/drivers/rtc/ |
D | rtc-88pm860x.c | 49 #define ALARM_EN (1 << 3) macro 62 pm860x_set_bits(info->i2c, PM8607_RTC1, mask | ALARM_EN, mask); in rtc_update_handler() 72 pm860x_set_bits(info->i2c, PM8607_RTC1, ALARM_EN, ALARM_EN); in pm860x_rtc_alarm_irq_enable() 74 pm860x_set_bits(info->i2c, PM8607_RTC1, ALARM_EN, 0); in pm860x_rtc_alarm_irq_enable() 149 alrm->enabled = (ret & ALARM_EN) ? 1 : 0; in pm860x_rtc_read_alarm() 161 pm860x_set_bits(info->i2c, PM8607_RTC1, ALARM_EN, 0); in pm860x_rtc_set_alarm() 178 mask = ALARM | ALARM_WAKEUP | ALARM_EN; in pm860x_rtc_set_alarm() 181 mask = ALARM | ALARM_WAKEUP | ALARM_EN; in pm860x_rtc_set_alarm()
|
D | rtc-sunplus.c | 34 #define ALARM_EN BIT(0) macro 138 (DIS_SYS_RST_RTC | ALARM_EN_OVERDUE | ALARM_EN_PMC | ALARM_EN), in sp_rtc_alarm_irq_enable()
|