Searched refs:tod (Results 1 - 15 of 15) sorted by relevance

/linux-4.1.27/drivers/rtc/
H A Drtc-pcap.c50 u32 tod; /* time of day, seconds since midnight */ pcap_rtc_read_alarm() local
53 ezx_pcap_read(pcap_rtc->pcap, PCAP_REG_RTC_TODA, &tod); pcap_rtc_read_alarm()
54 secs = tod & PCAP_RTC_TOD_MASK; pcap_rtc_read_alarm()
70 u32 tod, days; pcap_rtc_set_alarm() local
74 tod = secs % SEC_PER_DAY; pcap_rtc_set_alarm()
75 ezx_pcap_write(pcap_rtc->pcap, PCAP_REG_RTC_TODA, tod); pcap_rtc_set_alarm()
88 u32 tod, days; pcap_rtc_read_time() local
90 ezx_pcap_read(pcap_rtc->pcap, PCAP_REG_RTC_TOD, &tod); pcap_rtc_read_time()
91 secs = tod & PCAP_RTC_TOD_MASK; pcap_rtc_read_time()
105 u32 tod, days; pcap_rtc_set_mmss() local
107 tod = secs % SEC_PER_DAY; pcap_rtc_set_mmss()
108 ezx_pcap_write(pcap_rtc->pcap, PCAP_REG_RTC_TOD, tod); pcap_rtc_set_mmss()
H A Drtc-mxc.c140 u32 tod, day, hr, min, sec, temp; set_alarm_or_time() local
145 day = div_s64_rem(time, 86400, &tod); set_alarm_or_time()
148 hr = tod / 3600; set_alarm_or_time()
149 tod -= hr * 3600; set_alarm_or_time()
152 min = tod / 60; set_alarm_or_time()
153 sec = tod - min * 60; set_alarm_or_time()
/linux-4.1.27/arch/s390/include/asm/
H A Dnmi.h52 __u32 pr : 1; /* 42 tod programmable register validity */
H A Detr.h206 #define ETR_PTFF_QTO 0x01 /* query tod offset */
208 #define ETR_PTFF_ATO 0x40 /* adjust tod offset */
209 #define ETR_PTFF_STO 0x41 /* set tod offset */
/linux-4.1.27/arch/s390/lib/
H A Ddelay.c25 * is udelay and that is done using the tod clock. -- martin. __delay()
/linux-4.1.27/arch/frv/kernel/
H A Dtime.c94 /* FIX by dqg : Set to zero for platforms that don't have tod */ read_persistent_clock()
/linux-4.1.27/arch/s390/kernel/
H A Dvtime.c78 " stckf %1" /* Store current tod clock value */ do_account_vtime()
80 " stck %1" /* Store current tod clock value */ do_account_vtime()
H A Dtime.c200 .name = "tod",
/linux-4.1.27/arch/s390/include/uapi/asm/
H A Dkvm.h160 __u64 todpr; /* tod programmable register [ARCH0] */
/linux-4.1.27/arch/parisc/kernel/
H A Dtime.c256 printk(KERN_ERR "Error reading tod clock\n"); read_persistent_clock()
H A Dfirmware.c941 * @tod: The return buffer:
945 int pdc_tod_read(struct pdc_tod *tod) pdc_tod_read() argument
953 memcpy(tod, pdc_result, sizeof(*tod)); pdc_tod_read()
/linux-4.1.27/drivers/s390/char/
H A Dzcore.c192 u64 tod; member in struct:zcore_header
593 hdr->tod = get_tod_clock(); zcore_header_init()
/linux-4.1.27/arch/parisc/include/asm/
H A Dpdc.h301 int pdc_tod_read(struct pdc_tod *tod);
/linux-4.1.27/drivers/net/ethernet/adaptec/
H A Dstarfire.c5 Current maintainer is Ion Badulescu <ionut ta badula tod org>. Please
/linux-4.1.27/arch/s390/kvm/
H A Dinterrupt.c899 * If the monotonic clock runs faster than the tod clock we might be kvm_s390_idle_wakeup()

Completed in 412 milliseconds