Home
last modified time | relevance | path

Searched refs:tm_sec (Results 1 – 25 of 54) sorted by relevance

123

/linux-2.4.37.9/arch/cris/drivers/
Dpcf8563.c110 tm->tm_sec = rtc_read(RTC_SECONDS); in get_rtc_time()
118 if (tm->tm_sec & 0x80) in get_rtc_time()
123 tm->tm_sec &= 0x7F; in get_rtc_time()
130 BCD_TO_BIN(tm->tm_sec); in get_rtc_time()
269 (tm.tm_sec >= 60)) in pcf8563_ioctl()
279 BIN_TO_BCD(tm.tm_sec); in pcf8563_ioctl()
288 rtc_write(RTC_SECONDS, tm.tm_sec); in pcf8563_ioctl()
Dds1302.c306 rtc_tm->tm_sec = CMOS_READ(RTC_SECONDS); in get_rtc_time()
315 BCD_TO_BIN(rtc_tm->tm_sec); in get_rtc_time()
373 sec = rtc_tm.tm_sec; in rtc_ioctl()
468 tm.tm_hour, tm.tm_min, tm.tm_sec); in print_rtc_status()
/linux-2.4.37.9/arch/m68k/sun3/
Dintersil.c77 todintersil->second = t->tm_sec; in sun3_hwclk()
84 t->tm_sec = todintersil->csec; in sun3_hwclk()
87 t->tm_sec = todintersil->second; in sun3_hwclk()
/linux-2.4.37.9/drivers/char/
Dgenrtc.c336 wtime.tm_sec < 0 || wtime.tm_sec >= 60) in gen_rtc_ioctl()
403 tm.tm_hour, tm.tm_min, tm.tm_sec, in gen_rtc_proc_output()
406 tm.tm_hour = tm.tm_min = tm.tm_sec = 0; in gen_rtc_proc_output()
419 if (tm.tm_sec <= 59) in gen_rtc_proc_output()
420 p += sprintf(p, "%02d\n", tm.tm_sec); in gen_rtc_proc_output()
Dip27-rtc.c108 sec = rtc_tm.tm_sec; in rtc_ioctl()
271 tm.tm_hour, tm.tm_min, tm.tm_sec, in rtc_get_status()
303 rtc_tm->tm_sec = rtc->sec; in get_rtc_time()
312 BCD_TO_BIN(rtc_tm->tm_sec); in get_rtc_time()
Drtc.c399 sec = alm_tm.tm_sec; in rtc_ioctl()
449 sec = rtc_tm.tm_sec; in rtc_ioctl()
960 tm.tm_hour, tm.tm_min, tm.tm_sec, in rtc_proc_output()
981 if (tm.tm_sec <= 59) in rtc_proc_output()
982 p += sprintf(p, "%02d\n", tm.tm_sec); in rtc_proc_output()
1068 rtc_tm->tm_sec = CMOS_READ(RTC_SECONDS); in get_rtc_time()
1082 BCD_TO_BIN(rtc_tm->tm_sec); in get_rtc_time()
1113 alm_tm->tm_sec = CMOS_READ(RTC_SECONDS_ALARM); in get_rtc_alm_time()
1121 BCD_TO_BIN(alm_tm->tm_sec); in get_rtc_alm_time()
Dds1286.c327 tm.tm_hour, tm.tm_min, tm.tm_sec, hundredth, in get_ds1286_status()
423 rtc_tm->tm_sec = CMOS_READ(RTC_SECONDS); in ds1286_get_time()
433 BCD_TO_BIN(rtc_tm->tm_sec); in ds1286_get_time()
464 sec = rtc_tm->tm_sec; in ds1286_set_time()
529 alm_tm->tm_sec = 0; in ds1286_get_alm_time()
Dmips_rtc.c105 rtc_tm.tm_sec); in rtc_ioctl()
200 tm.tm_hour, tm.tm_min, tm.tm_sec, in rtc_proc_output()
Dds1742.c181 second = BIN_TO_BCD(tm.tm_sec); in rtc_ds1742_set_time()
231 tm.tm_hour, tm.tm_min, tm.tm_sec, in get_ds1742_status()
285 rtc_tm.tm_sec); in ds1742_ioctl()
/linux-2.4.37.9/arch/ppc/platforms/
Dprep_time.c75 BIN_TO_BCD(tm.tm_sec); in mc146818_set_rtc_time()
82 CMOS_WRITE(tm.tm_sec, RTC_SECONDS); in mc146818_set_rtc_time()
166 BIN_TO_BCD(tm.tm_sec); in mk48t59_set_rtc_time()
173 ppc_md.nvram_write_val(MK48T59_RTC_SECONDS, tm.tm_sec); in mk48t59_set_rtc_time()
Dgemini_setup.c415 tm.tm_sec, tm.tm_min, tm.tm_hour, tm.tm_mon, tm.tm_mday, tm.tm_year); in gemini_set_rtc_time()
419 BIN_TO_BCD(tm.tm_sec); in gemini_set_rtc_time()
427 tm.tm_sec, tm.tm_min, tm.tm_hour, tm.tm_mon, tm.tm_mday, tm.tm_year); in gemini_set_rtc_time()
430 gemini_rtc_write(tm.tm_sec, M48T35_RTC_SECONDS); in gemini_set_rtc_time()
Dchrp_time.c92 BIN_TO_BCD(tm.tm_sec); in chrp_set_rtc_time()
99 chrp_cmos_clock_write(tm.tm_sec,RTC_SECONDS); in chrp_set_rtc_time()
/linux-2.4.37.9/arch/ppc64/kernel/
Drtc.c122 sec = rtc_tm.tm_sec; in rtc_ioctl()
240 tm.tm_hour, tm.tm_min, tm.tm_sec, in rtc_proc_output()
302 rtc_tm->tm_sec = ret[5]; in pSeries_get_boot_time()
341 rtc_tm->tm_sec = ret[5]; in pSeries_get_rtc_time()
359 tm->tm_sec, 0); in pSeries_set_rtc_time()
Dflight_recorder.c73 LogTime.tm_hour,LogTime.tm_min, LogTime.tm_sec); in fr_Log_Time()
78 LogTime.tm_hour,LogTime.tm_min, LogTime.tm_sec); in fr_Log_Time()
83 LogTime.tm_hour,LogTime.tm_min, LogTime.tm_sec); in fr_Log_Time()
/linux-2.4.37.9/include/asm-ppc/
Drtc.h71 time->tm_sec); in set_rtc_time()
85 return h.tm_sec; in get_rtc_ss()
/linux-2.4.37.9/arch/m68k/bvme6000/
Drtc.c59 wtime.tm_sec = BCD2BIN(rtc->bcd_sec); in rtc_ioctl()
68 } while (wtime.tm_sec != BCD2BIN(rtc->bcd_sec)); in rtc_ioctl()
94 sec = rtc_tm.tm_sec; in rtc_ioctl()
Dconfig.c347 rtc->bcd_sec = bin2bcd(t->tm_sec); in bvme6000_hwclk()
360 t->tm_sec = bcd2bin(rtc->bcd_sec); in bvme6000_hwclk()
369 } while (t->tm_sec != bcd2bin(rtc->bcd_sec)); in bvme6000_hwclk()
/linux-2.4.37.9/net/khttpd/
Dmake_times_h.c31 TM.tm_sec = 0; in GetDay()
48 TM.tm_sec = 0; in WeekGetDay()
/linux-2.4.37.9/arch/m68k/mac/
Dmisc.c633 &t->tm_hour, &t->tm_min, &t->tm_sec); in mac_hwclk()
635 t->tm_year + 1900, t->tm_mon + 1, t->tm_mday, t->tm_hour, t->tm_min, t->tm_sec); in mac_hwclk()
638 t->tm_year + 1900, t->tm_mon + 1, t->tm_mday, t->tm_hour, t->tm_min, t->tm_sec); in mac_hwclk()
642 t->tm_hour, t->tm_min, t->tm_sec); in mac_hwclk()
668 now.tm_sec = nowtime % 60; in mac_set_clock_mmss()
/linux-2.4.37.9/arch/m68k/atari/
Dtime.c181 val.sec_ones = t->tm_sec % 10; in atari_mste_hwclk()
182 val.sec_tens = t->tm_sec / 10; in atari_mste_hwclk()
209 t->tm_sec = val.sec_ones + val.sec_tens * 10; in atari_mste_hwclk()
240 sec = t->tm_sec; in atari_tt_hwclk()
335 t->tm_sec = sec; in atari_tt_hwclk()
/linux-2.4.37.9/include/asm-parisc/
Drtc.h70 wtime->tm_sec = rem % 60; in get_rtc_time()
107 wtime->tm_hour, wtime->tm_min, wtime->tm_sec); in set_rtc_time()
/linux-2.4.37.9/arch/m68k/sun3x/
Dtime.c73 h->sec = BIN_TO_BCD(t->tm_sec); in sun3x_hwclk()
83 t->tm_sec = BCD_TO_BIN(h->sec); in sun3x_hwclk()
/linux-2.4.37.9/arch/m68k/mvme16x/
Drtc.c56 wtime.tm_sec = BCD2BIN(rtc->bcd_sec); in rtc_ioctl()
90 sec = rtc_tm.tm_sec; in rtc_ioctl()
/linux-2.4.37.9/drivers/hil/
Dhp_sdc_rtc.c127 rtctm->tm_sec = (tseq[6] & 0x0f) + (tseq[13] & 0x0f) * 10; in hp_sdc_rtc_do_read_bbrtc()
458 tm.tm_hour, tm.tm_min, tm.tm_sec, in hp_sdc_rtc_proc_output()
603 if (alm_tm.tm_sec > 59) return -EINVAL; in hp_sdc_rtc_ioctl()
606 alm_tm.tm_min * 60 + alm_tm.tm_sec; in hp_sdc_rtc_ioctl()
634 sec = hp_sdc_rtc_tm.tm_sec; in hp_sdc_rtc_ioctl()
/linux-2.4.37.9/arch/mips/sibyte/swarm/
Drtc_m41t81.c156 BIN_TO_BCD(tm.tm_sec); in m41t81_set_time()
157 m41t81_write(M41T81REG_SC, tm.tm_sec); in m41t81_set_time()

123