Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/rtc/
Drtc-rc5t619.c121 int cent_flag; in rc5t619_rtc_read_time() local
142 cent_flag = 1; in rc5t619_rtc_read_time()
144 cent_flag = 0; in rc5t619_rtc_read_time()
157 tm->tm_year = bcd2bin(buff[6]) + 100 * cent_flag; in rc5t619_rtc_read_time()
167 int cent_flag; in rc5t619_rtc_set_time() local
183 cent_flag = 1; in rc5t619_rtc_set_time()
185 cent_flag = 0; in rc5t619_rtc_set_time()
198 buff[6] = bin2bcd(tm->tm_year - cent_flag * 100); in rc5t619_rtc_set_time()
200 if (cent_flag) in rc5t619_rtc_set_time()
230 int cent_flag; in rc5t619_rtc_read_alarm() local
[all …]