Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/rtc/
Drtc-ds1305.c72 # define DS1305_AEI0 0x01 /* enable ALM0 IRQ */ macro
149 if (ds1305->ctrl[0] & DS1305_AEI0) in ds1305_alarm_irq_enable()
151 buf[1] |= DS1305_AEI0; in ds1305_alarm_irq_enable()
153 if (!(buf[1] & DS1305_AEI0)) in ds1305_alarm_irq_enable()
155 buf[1] &= ~DS1305_AEI0; in ds1305_alarm_irq_enable()
285 alm->enabled = !!(ds1305->ctrl[0] & DS1305_AEI0); in ds1305_get_alarm()
286 alm->pending = !!(ds1305->ctrl[1] & DS1305_AEI0); in ds1305_get_alarm()
343 if (ds1305->ctrl[0] & DS1305_AEI0) { in ds1305_set_alarm()
344 ds1305->ctrl[0] &= ~DS1305_AEI0; in ds1305_set_alarm()
370 ds1305->ctrl[0] |= DS1305_AEI0; in ds1305_set_alarm()
[all …]