Lines Matching refs:control_1
194 uint8_t control_1; in pcf8523_write_stop_bit_unlocked() local
197 err = pcf8523_read_reg8(dev, PCF8523_CONTROL_1, &control_1); in pcf8523_write_stop_bit_unlocked()
203 control_1 |= PCF8523_CONTROL_1_STOP; in pcf8523_write_stop_bit_unlocked()
205 control_1 &= ~(PCF8523_CONTROL_1_STOP); in pcf8523_write_stop_bit_unlocked()
208 err = pcf8523_write_reg8(dev, PCF8523_CONTROL_1, control_1); in pcf8523_write_stop_bit_unlocked()
597 uint8_t control_1; in pcf8523_alarm_set_callback()
616 err = pcf8523_read_reg8(dev, PCF8523_CONTROL_1, &control_1); in pcf8523_alarm_set_callback()
622 control_1 |= PCF8523_CONTROL_1_AIE; in pcf8523_alarm_set_callback()
624 control_1 &= ~(PCF8523_CONTROL_1_AIE); in pcf8523_alarm_set_callback()
627 if ((control_1 & PCF8523_CONTROL_1_SIE) == 0U) { in pcf8523_alarm_set_callback()
635 err = pcf8523_write_reg8(dev, PCF8523_CONTROL_1, control_1); in pcf8523_alarm_set_callback()
658 uint8_t control_1; in pcf8523_update_set_callback() local
670 err = pcf8523_read_reg8(dev, PCF8523_CONTROL_1, &control_1); in pcf8523_update_set_callback()
676 control_1 |= PCF8523_CONTROL_1_SIE; in pcf8523_update_set_callback()
678 control_1 &= ~(PCF8523_CONTROL_1_SIE); in pcf8523_update_set_callback()
681 if ((control_1 & PCF8523_CONTROL_1_AIE) == 0U) { in pcf8523_update_set_callback()
689 err = pcf8523_write_reg8(dev, PCF8523_CONTROL_1, control_1); in pcf8523_update_set_callback()