• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/rtc/

Lines Matching refs:time

56 	u_int8_t time[PCF50633_TI_EXTENT];
70 rtc->tm_sec = bcd2bin(pcf->time[PCF50633_TI_SEC]);
71 rtc->tm_min = bcd2bin(pcf->time[PCF50633_TI_MIN]);
72 rtc->tm_hour = bcd2bin(pcf->time[PCF50633_TI_HOUR]);
73 rtc->tm_wday = bcd2bin(pcf->time[PCF50633_TI_WKDAY]);
74 rtc->tm_mday = bcd2bin(pcf->time[PCF50633_TI_DAY]);
75 rtc->tm_mon = bcd2bin(pcf->time[PCF50633_TI_MONTH]) - 1;
76 rtc->tm_year = bcd2bin(pcf->time[PCF50633_TI_YEAR]) + 100;
81 pcf->time[PCF50633_TI_SEC] = bin2bcd(rtc->tm_sec);
82 pcf->time[PCF50633_TI_MIN] = bin2bcd(rtc->tm_min);
83 pcf->time[PCF50633_TI_HOUR] = bin2bcd(rtc->tm_hour);
84 pcf->time[PCF50633_TI_WKDAY] = bin2bcd(rtc->tm_wday);
85 pcf->time[PCF50633_TI_DAY] = bin2bcd(rtc->tm_mday);
86 pcf->time[PCF50633_TI_MONTH] = bin2bcd(rtc->tm_mon + 1);
87 pcf->time[PCF50633_TI_YEAR] = bin2bcd(rtc->tm_year % 100);
138 &pcf_tm.time[0]);
140 dev_err(dev, "Failed to read time\n");
145 pcf_tm.time[PCF50633_TI_DAY],
146 pcf_tm.time[PCF50633_TI_MONTH],
147 pcf_tm.time[PCF50633_TI_YEAR],
148 pcf_tm.time[PCF50633_TI_HOUR],
149 pcf_tm.time[PCF50633_TI_MIN],
150 pcf_tm.time[PCF50633_TI_SEC]);
176 pcf_tm.time[PCF50633_TI_DAY],
177 pcf_tm.time[PCF50633_TI_MONTH],
178 pcf_tm.time[PCF50633_TI_YEAR],
179 pcf_tm.time[PCF50633_TI_HOUR],
180 pcf_tm.time[PCF50633_TI_MIN],
181 pcf_tm.time[PCF50633_TI_SEC]);
195 &pcf_tm.time[0]);
217 PCF50633_TI_EXTENT, &pcf_tm.time[0]);
219 dev_err(dev, "Failed to read time\n");
223 pcf2rtc_time(&alrm->time, &pcf_tm);
225 return rtc_valid_tm(&alrm->time);
236 rtc2pcf_time(&pcf_tm, &alrm->time);
239 pcf_tm.time[PCF50633_TI_WKDAY] = 7;
249 PCF50633_TI_EXTENT, &pcf_tm.time[0]);