Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/rtc/
Drtc-max8925.c57 #define TIME_NUM 8 macro
87 if (len < TIME_NUM) in tm_calc()
118 if (len < TIME_NUM) in data_calc()
157 unsigned char buf[TIME_NUM]; in max8925_rtc_read_time()
160 ret = max8925_bulk_read(info->rtc, MAX8925_RTC_SEC, TIME_NUM, buf); in max8925_rtc_read_time()
163 ret = tm_calc(tm, buf, TIME_NUM); in max8925_rtc_read_time()
171 unsigned char buf[TIME_NUM]; in max8925_rtc_set_time()
174 ret = data_calc(buf, tm, TIME_NUM); in max8925_rtc_set_time()
177 ret = max8925_bulk_write(info->rtc, MAX8925_RTC_SEC, TIME_NUM, buf); in max8925_rtc_set_time()
185 unsigned char buf[TIME_NUM]; in max8925_rtc_read_alarm()
[all …]
Drtc-max8907.c34 #define TIME_NUM 8 macro
100 u8 regs[TIME_NUM]; in max8907_rtc_read_time()
104 TIME_NUM); in max8907_rtc_read_time()
116 u8 regs[TIME_NUM]; in max8907_rtc_set_time()
121 TIME_NUM); in max8907_rtc_set_time()
127 u8 regs[TIME_NUM]; in max8907_rtc_read_alarm()
132 TIME_NUM); in max8907_rtc_read_alarm()
150 u8 regs[TIME_NUM]; in max8907_rtc_set_alarm()
161 TIME_NUM); in max8907_rtc_set_alarm()