Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/rtc/
Drtc-nuc900.c120 struct nuc900_bcd_time *gettm) in nuc900_rtc_bin2bcd() argument
122 gettm->bcd_mday = bin2bcd(settm->tm_mday) << 0; in nuc900_rtc_bin2bcd()
123 gettm->bcd_mon = bin2bcd(settm->tm_mon) << 8; in nuc900_rtc_bin2bcd()
127 gettm->bcd_year = bin2bcd(settm->tm_year) << 16; in nuc900_rtc_bin2bcd()
129 gettm->bcd_year = bin2bcd(settm->tm_year - 100) << 16; in nuc900_rtc_bin2bcd()
132 gettm->bcd_sec = bin2bcd(settm->tm_sec) << 0; in nuc900_rtc_bin2bcd()
133 gettm->bcd_min = bin2bcd(settm->tm_min) << 8; in nuc900_rtc_bin2bcd()
134 gettm->bcd_hour = bin2bcd(settm->tm_hour) << 16; in nuc900_rtc_bin2bcd()
165 struct nuc900_bcd_time gettm; in nuc900_rtc_set_time() local
169 nuc900_rtc_bin2bcd(dev, tm, &gettm); in nuc900_rtc_set_time()
[all …]