Home
last modified time | relevance | path

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

/drivers/rtc/
Drtc-pcf2123.c47 #define PCF2123_REG_CTRL2 (0x01) /* Control Register 2 */ macro
243 return regmap_update_bits(pcf2123->map, PCF2123_REG_CTRL2, CTRL2_AIE, in pcf2123_rtc_alarm_irq_enable()
266 ret = regmap_read(pcf2123->map, PCF2123_REG_CTRL2, &val); in pcf2123_rtc_read_alarm()
284 ret = regmap_update_bits(pcf2123->map, PCF2123_REG_CTRL2, CTRL2_AIE, 0); in pcf2123_rtc_set_alarm()
289 ret = regmap_update_bits(pcf2123->map, PCF2123_REG_CTRL2, CTRL2_AF, 0); in pcf2123_rtc_set_alarm()
314 regmap_read(pcf2123->map, PCF2123_REG_CTRL2, &val); in pcf2123_rtc_irq()
321 regmap_update_bits(pcf2123->map, PCF2123_REG_CTRL2, CTRL2_AF, 0); in pcf2123_rtc_irq()