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

/linux-4.4.14/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.c152 u32 tod, day, hr, min, sec, temp; set_alarm_or_time() local
157 day = div_s64_rem(time, 86400, &tod); set_alarm_or_time()
160 hr = tod / 3600; set_alarm_or_time()
161 tod -= hr * 3600; set_alarm_or_time()
164 min = tod / 60; set_alarm_or_time()
165 sec = tod - min * 60; set_alarm_or_time()
/linux-4.4.14/arch/s390/include/asm/
H A Dnmi.h62 u64 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.4.14/arch/s390/lib/
H A Ddelay.c27 * is udelay and that is done using the tod clock. -- martin. __delay()
/linux-4.4.14/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.4.14/arch/s390/kernel/
H A Dvtime.c106 " stckf %1" /* Store current tod clock value */ do_account_vtime()
108 " stck %1" /* Store current tod clock value */ do_account_vtime()
H A Dtime.c197 .name = "tod",
/linux-4.4.14/arch/s390/include/uapi/asm/
H A Dkvm.h160 __u64 todpr; /* tod programmable register [ARCH0] */
/linux-4.4.14/arch/parisc/kernel/
H A Dtime.c243 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.4.14/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.4.14/arch/s390/kvm/
H A Dkvm-s390.h234 void kvm_s390_set_tod_clock(struct kvm *kvm, u64 tod);
H A Dkvm-s390.c1862 void kvm_s390_set_tod_clock(struct kvm *kvm, u64 tod) kvm_s390_set_tod_clock() argument
1869 kvm->arch.epoch = tod - get_tod_clock(); kvm_s390_set_tod_clock()
H A Dinterrupt.c892 * If the monotonic clock runs faster than the tod clock we might be kvm_s390_idle_wakeup()
/linux-4.4.14/arch/parisc/include/asm/
H A Dpdc.h301 int pdc_tod_read(struct pdc_tod *tod);
/linux-4.4.14/drivers/net/ethernet/adaptec/
H A Dstarfire.c5 Current maintainer is Ion Badulescu <ionut ta badula tod org>. Please

Completed in 598 milliseconds