Lines Matching defs:time
61 /* Read the secure real time counter, taking care to deal with the cases of the
163 unsigned long time;
172 time = rtc_read_lp_counter(data);
173 rtc_time64_to_tm(time, tm);
184 unsigned long time = rtc_tm_to_time64(tm);
198 /* Write 32-bit time to 47-bit timer, leaving 15 LSBs blank */
199 regmap_write(data->regmap, data->offset + SNVS_LPSRTCLR, time << CNTR_TO_SECS_SH);
200 regmap_write(data->regmap, data->offset + SNVS_LPSRTCMR, time >> (32 - CNTR_TO_SECS_SH));
224 rtc_time64_to_tm(lptar, &alrm->time);
261 unsigned long time = rtc_tm_to_time64(&alrm->time);
274 regmap_write(data->regmap, data->offset + SNVS_LPTAR, time);