Lines Matching refs:ald
600 u8 ald[3], ctl[3]; in rx8130_read_alarm() local
607 ret = regmap_bulk_read(ds1307->regmap, RX8130_REG_ALARM_MIN, ald, in rx8130_read_alarm()
608 sizeof(ald)); in rx8130_read_alarm()
623 t->time.tm_min = bcd2bin(ald[0] & 0x7f); in rx8130_read_alarm()
624 t->time.tm_hour = bcd2bin(ald[1] & 0x7f); in rx8130_read_alarm()
626 t->time.tm_mday = bcd2bin(ald[2] & 0x7f); in rx8130_read_alarm()
642 u8 ald[3], ctl[3]; in rx8130_set_alarm() local
670 ald[0] = bin2bcd(t->time.tm_min); in rx8130_set_alarm()
671 ald[1] = bin2bcd(t->time.tm_hour); in rx8130_set_alarm()
672 ald[2] = bin2bcd(t->time.tm_mday); in rx8130_set_alarm()
674 ret = regmap_bulk_write(ds1307->regmap, RX8130_REG_ALARM_MIN, ald, in rx8130_set_alarm()
675 sizeof(ald)); in rx8130_set_alarm()