/Linux-v5.15/drivers/rtc/ |
D | rtc-pcap.c | 45 u32 tod; /* time of day, seconds since midnight */ in pcap_rtc_read_alarm() local 48 ezx_pcap_read(pcap_rtc->pcap, PCAP_REG_RTC_TODA, &tod); in pcap_rtc_read_alarm() 49 secs = tod & PCAP_RTC_TOD_MASK; in pcap_rtc_read_alarm() 63 u32 tod, days; in pcap_rtc_set_alarm() local 65 tod = secs % SEC_PER_DAY; in pcap_rtc_set_alarm() 66 ezx_pcap_write(pcap_rtc->pcap, PCAP_REG_RTC_TODA, tod); in pcap_rtc_set_alarm() 78 u32 tod, days; in pcap_rtc_read_time() local 80 ezx_pcap_read(pcap_rtc->pcap, PCAP_REG_RTC_TOD, &tod); in pcap_rtc_read_time() 81 secs = tod & PCAP_RTC_TOD_MASK; in pcap_rtc_read_time() 95 u32 tod, days; in pcap_rtc_set_time() local [all …]
|
D | rtc-mxc.c | 119 u32 tod, day, hr, min, sec, temp; in set_alarm_or_time() local 123 day = div_s64_rem(time, 86400, &tod); in set_alarm_or_time() 126 hr = tod / 3600; in set_alarm_or_time() 127 tod -= hr * 3600; in set_alarm_or_time() 130 min = tod / 60; in set_alarm_or_time() 131 sec = tod - min * 60; in set_alarm_or_time()
|
D | rtc-cpcap.c | 53 unsigned long int tod; in cpcap2rtc_time() local 56 tod = (cpcap->tod1 & TOD1_MASK) | ((cpcap->tod2 & TOD2_MASK) << 8); in cpcap2rtc_time() 57 time = tod + ((cpcap->day & DAY_MASK) * SECS_PER_DAY); in cpcap2rtc_time()
|
/Linux-v5.15/arch/s390/include/asm/ |
D | timex.h | 26 __uint128_t tod : 64; /* bits 0-63 of tod clock */ member 66 static inline void store_tod_clock_ext(union tod_clock *tod) in store_tod_clock_ext() argument 68 asm volatile("stcke %0" : "=Q" (*tod) : : "cc"); in store_tod_clock_ext() 185 return clk.tod; in get_tod_clock() 219 unsigned long tod; in get_tod_clock_monotonic() local 222 tod = get_tod_clock() - tod_clock_base.tod; in get_tod_clock_monotonic() 224 return tod; in get_tod_clock_monotonic()
|
/Linux-v5.15/tools/perf/util/ |
D | debug.c | 49 struct timeval tod; in fprintf_time() local 56 if (gettimeofday(&tod, NULL) != 0) in fprintf_time() 59 if (localtime_r(&tod.tv_sec, <ime) == NULL) in fprintf_time() 63 return fprintf(file, "[%s.%06lu] ", date, (long)tod.tv_usec); in fprintf_time()
|
D | data-convert.h | 10 bool tod; member
|
D | data-convert-bt.c | 1389 bool tod) in ctf_writer__setup_clock() argument 1395 if (tod) { in ctf_writer__setup_clock() 1503 struct perf_session *session, bool tod) in ctf_writer__init() argument 1527 if (ctf_writer__setup_clock(cw, session, tod)) { in ctf_writer__init() 1642 if (ctf_writer__init(cw, path, session, opts->tod)) in bt_convert__perf2ctf()
|
D | data-convert-json.c | 316 if (opts->tod) { in bt_convert__perf2json()
|
/Linux-v5.15/arch/s390/kernel/ |
D | early.c | 49 tod_clock_base.tod = TOD_UNIX_EPOCH; in reset_tod_clock() 233 if (test_facility(139) && (tod_clock_base.tod >> 63)) { in detect_machine_facilities()
|
D | time.c | 86 tod_steering_end = tod_clock_base.tod; in time_early_init()
|
D | perf_cpum_cf.c | 111 te->tod_base = tod_clock_base.tod; in cfdiag_trailer()
|
D | perf_cpum_sf.c | 1685 te->progusage2 = tod_clock_base.tod; in aux_sdb_init()
|
/Linux-v5.15/drivers/ptp/ |
D | ptp_ocp.c | 153 struct tod_reg __iomem *tod; member 262 OCP_MEM_RESOURCE(tod), 619 version = ioread32(&bp->tod->version); in ptp_ocp_tod_info() 623 ctrl = ioread32(&bp->tod->ctrl); in ptp_ocp_tod_info() 626 iowrite32(ctrl, &bp->tod->ctrl); in ptp_ocp_tod_info() 628 ctrl = ioread32(&bp->tod->ctrl); in ptp_ocp_tod_info() 639 reg = ioread32(&bp->tod->status); in ptp_ocp_tod_info() 642 reg = ioread32(&bp->tod->correction_sec); in ptp_ocp_tod_info() 645 reg = ioread32(&bp->tod->utc_status); in ptp_ocp_tod_info()
|
/Linux-v5.15/tools/perf/ |
D | builtin-data.c | 44 OPT_BOOLEAN(0, "tod", &opts.tod, "Convert time to wall clock time"),
|
D | builtin-script.c | 567 bool tod = false; in perf_session__check_output_opt() local 594 tod |= output[j].fields & PERF_OUTPUT_TOD; in perf_session__check_output_opt() 635 if (tod && !session->header.env.clock.enabled) { in perf_session__check_output_opt()
|
/Linux-v5.15/tools/perf/Documentation/ |
D | perf-data.txt | 33 --tod::
|
/Linux-v5.15/arch/parisc/include/asm/ |
D | pdc.h | 66 int pdc_tod_read(struct pdc_tod *tod);
|
/Linux-v5.15/tools/arch/s390/include/uapi/asm/ |
D | kvm.h | 92 __u64 tod; member
|
/Linux-v5.15/arch/s390/include/uapi/asm/ |
D | kvm.h | 92 __u64 tod; member
|
/Linux-v5.15/arch/parisc/kernel/ |
D | firmware.c | 1008 int pdc_tod_read(struct pdc_tod *tod) in pdc_tod_read() argument 1016 memcpy(tod, pdc_result, sizeof(*tod)); in pdc_tod_read()
|
/Linux-v5.15/arch/s390/kvm/ |
D | kvm-s390.c | 1132 gtod.epoch_idx, gtod.tod); in kvm_s390_set_tod_ext() 1156 if (copy_from_user(>od.tod, (void __user *)attr->addr, in kvm_s390_set_tod_low() 1157 sizeof(gtod.tod))) in kvm_s390_set_tod_low() 1161 VM_EVENT(kvm, 3, "SET: TOD base: 0x%llx", gtod.tod); in kvm_s390_set_tod_low() 1198 gtod->tod = clk.tod + kvm->arch.epoch; in kvm_s390_get_tod_clock() 1202 if (gtod->tod < clk.tod) in kvm_s390_get_tod_clock() 1219 gtod.epoch_idx, gtod.tod); in kvm_s390_get_tod_ext() 3928 kvm->arch.epoch = gtod->tod - clk.tod; in kvm_s390_set_tod_clock() 3932 if (kvm->arch.epoch > gtod->tod) in kvm_s390_set_tod_clock()
|
D | priv.c | 100 rc = read_guest(vcpu, op2, ar, >od.tod, sizeof(gtod.tod)); in handle_set_clock() 104 VCPU_EVENT(vcpu, 3, "SCK: setting guest TOD to 0x%llx", gtod.tod); in handle_set_clock()
|
/Linux-v5.15/include/linux/ |
D | ieee80211.h | 1291 u8 tod[6]; member
|
/Linux-v5.15/Documentation/admin-guide/ |
D | kernel-parameters.txt | 590 [S390] tod
|