Lines Matching refs:pcf_tm
106 struct pcf50633_time pcf_tm; in pcf50633_rtc_read_time() local
113 &pcf_tm.time[0]); in pcf50633_rtc_read_time()
120 pcf_tm.time[PCF50633_TI_DAY], in pcf50633_rtc_read_time()
121 pcf_tm.time[PCF50633_TI_MONTH], in pcf50633_rtc_read_time()
122 pcf_tm.time[PCF50633_TI_YEAR], in pcf50633_rtc_read_time()
123 pcf_tm.time[PCF50633_TI_HOUR], in pcf50633_rtc_read_time()
124 pcf_tm.time[PCF50633_TI_MIN], in pcf50633_rtc_read_time()
125 pcf_tm.time[PCF50633_TI_SEC]); in pcf50633_rtc_read_time()
127 pcf2rtc_time(tm, &pcf_tm); in pcf50633_rtc_read_time()
137 struct pcf50633_time pcf_tm; in pcf50633_rtc_set_time() local
144 rtc2pcf_time(&pcf_tm, tm); in pcf50633_rtc_set_time()
147 pcf_tm.time[PCF50633_TI_DAY], in pcf50633_rtc_set_time()
148 pcf_tm.time[PCF50633_TI_MONTH], in pcf50633_rtc_set_time()
149 pcf_tm.time[PCF50633_TI_YEAR], in pcf50633_rtc_set_time()
150 pcf_tm.time[PCF50633_TI_HOUR], in pcf50633_rtc_set_time()
151 pcf_tm.time[PCF50633_TI_MIN], in pcf50633_rtc_set_time()
152 pcf_tm.time[PCF50633_TI_SEC]); in pcf50633_rtc_set_time()
163 &pcf_tm.time[0]); in pcf50633_rtc_set_time()
174 struct pcf50633_time pcf_tm; in pcf50633_rtc_read_alarm() local
183 PCF50633_TI_EXTENT, &pcf_tm.time[0]); in pcf50633_rtc_read_alarm()
189 pcf2rtc_time(&alrm->time, &pcf_tm); in pcf50633_rtc_read_alarm()
197 struct pcf50633_time pcf_tm; in pcf50633_rtc_set_alarm() local
202 rtc2pcf_time(&pcf_tm, &alrm->time); in pcf50633_rtc_set_alarm()
205 pcf_tm.time[PCF50633_TI_WKDAY] = 7; in pcf50633_rtc_set_alarm()
215 PCF50633_TI_EXTENT, &pcf_tm.time[0]); in pcf50633_rtc_set_alarm()