Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/rtc/
Drtc-ds1305.c76 # define DS1305_AEI0 0x01 /* enable ALM0 IRQ */ macro
153 if (ds1305->ctrl[0] & DS1305_AEI0) in ds1305_alarm_irq_enable()
155 buf[1] |= DS1305_AEI0; in ds1305_alarm_irq_enable()
157 if (!(buf[1] & DS1305_AEI0)) in ds1305_alarm_irq_enable()
159 buf[1] &= ~DS1305_AEI0; in ds1305_alarm_irq_enable()
294 alm->enabled = !!(ds1305->ctrl[0] & DS1305_AEI0); in ds1305_get_alarm()
295 alm->pending = !!(ds1305->ctrl[1] & DS1305_AEI0); in ds1305_get_alarm()
363 if (ds1305->ctrl[0] & DS1305_AEI0) { in ds1305_set_alarm()
364 ds1305->ctrl[0] &= ~DS1305_AEI0; in ds1305_set_alarm()
390 ds1305->ctrl[0] |= DS1305_AEI0; in ds1305_set_alarm()
[all …]