Home
last modified time | relevance | path

Searched refs:tod (Results 1 – 25 of 27) sorted by relevance

12

/linux-6.3-rc2/drivers/rtc/
A Drtc-pcap.c45 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()
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
97 tod = secs % SEC_PER_DAY; in pcap_rtc_set_time()
[all …]
A Drtc-mxc.c119 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()
A Drtc-cpcap.c53 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-6.3-rc2/arch/s390/include/asm/
A Dtimex.h26 __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()
216 unsigned long tod; in get_tod_clock_monotonic() local
219 tod = get_tod_clock() - tod_clock_base.tod; in get_tod_clock_monotonic()
221 return tod; in get_tod_clock_monotonic()
/linux-6.3-rc2/tools/perf/util/
A Ddebug.c56 struct timeval tod; in fprintf_time() local
63 if (gettimeofday(&tod, NULL) != 0) in fprintf_time()
66 if (localtime_r(&tod.tv_sec, &ltime) == NULL) in fprintf_time()
70 return fprintf(file, "[%s.%06lu] ", date, (long)tod.tv_usec); in fprintf_time()
A Ddata-convert.h10 bool tod; member
A Ddata-convert-bt.c1395 bool tod) in ctf_writer__setup_clock() argument
1401 if (tod) { in ctf_writer__setup_clock()
1509 struct perf_session *session, bool tod) in ctf_writer__init() argument
1533 if (ctf_writer__setup_clock(cw, session, tod)) { in ctf_writer__init()
1648 if (ctf_writer__init(cw, path, session, opts->tod)) in bt_convert__perf2ctf()
A Ddata-convert-json.c346 if (opts->tod) { in bt_convert__perf2json()
/linux-6.3-rc2/arch/s390/kernel/
A Dearly.c67 tod_clock_base.tod = TOD_UNIX_EPOCH; in reset_tod_clock()
236 if (test_facility(139) && (tod_clock_base.tod >> 63)) { in detect_machine_facilities()
A Dtime.c86 tod_steering_end = tod_clock_base.tod; in time_early_init()
A Dperf_cpum_cf.c182 te->tod_base = tod_clock_base.tod; in cfdiag_trailer()
/linux-6.3-rc2/tools/perf/
A Dbuiltin-data.c44 OPT_BOOLEAN(0, "tod", &opts.tod, "Convert time to wall clock time"),
A Dbuiltin-script.c604 bool tod = false; in perf_session__check_output_opt() local
631 tod |= output[j].fields & PERF_OUTPUT_TOD; in perf_session__check_output_opt()
672 if (tod && !session->header.env.clock.enabled) { in perf_session__check_output_opt()
/linux-6.3-rc2/tools/perf/Documentation/
A Dperf-data.txt33 --tod::
/linux-6.3-rc2/drivers/ptp/
A Dptp_clockmatrix.h109 u8 tod; member
A Dptp_ocp.c304 struct tod_reg __iomem *tod; member
574 OCP_MEM_RESOURCE(tod),
1310 if (bp->tod) { in ptp_ocp_watchdog()
1391 ctrl = ioread32(&bp->tod->ctrl); in ptp_ocp_tod_init()
1394 iowrite32(ctrl, &bp->tod->ctrl); in ptp_ocp_tod_init()
3256 val = ioread32(&bp->tod->adj_sec); in tod_correction_show()
3281 iowrite32(val, &bp->tod->adj_sec); in tod_correction_store()
3869 val = ioread32(&bp->tod->ctrl); in ptp_ocp_tod_status_show()
3887 val = ioread32(&bp->tod->status); in ptp_ocp_tod_status_show()
3903 val = ioread32(&bp->tod->leap); in ptp_ocp_tod_status_show()
[all …]
A Dptp_clockmatrix.c304 ref = ptp_find_pin(channel->ptp_clock, PTP_PF_EXTTS, channel->tod); in idtcm_extts_enable()
308 __func__, channel->tod); in idtcm_extts_enable()
2383 idtcm->channel[0].tod = 0; in set_default_masks()
2384 idtcm->channel[1].tod = 1; in set_default_masks()
2385 idtcm->channel[2].tod = 2; in set_default_masks()
2386 idtcm->channel[3].tod = 3; in set_default_masks()
/linux-6.3-rc2/arch/parisc/include/asm/
A Dpdc.h65 int pdc_tod_read(struct pdc_tod *tod);
/linux-6.3-rc2/arch/s390/include/uapi/asm/
A Dkvm.h93 __u64 tod; member
/linux-6.3-rc2/tools/arch/s390/include/uapi/asm/
A Dkvm.h93 __u64 tod; member
/linux-6.3-rc2/Documentation/virt/kvm/s390/
A Ds390-pv-dump.rst42 point, vector, control and tod/timers of a vcpu. The vcpu dump can
/linux-6.3-rc2/arch/parisc/kernel/
A Dfirmware.c1050 int pdc_tod_read(struct pdc_tod *tod) in pdc_tod_read() argument
1058 memcpy(tod, pdc_result, sizeof(*tod)); in pdc_tod_read()
/linux-6.3-rc2/arch/s390/kvm/
A Dkvm-s390.c1232 gtod.epoch_idx, gtod.tod); in kvm_s390_set_tod_ext()
1256 if (copy_from_user(&gtod.tod, (void __user *)attr->addr, in kvm_s390_set_tod_low()
1257 sizeof(gtod.tod))) in kvm_s390_set_tod_low()
1261 VM_EVENT(kvm, 3, "SET: TOD base: 0x%llx", gtod.tod); in kvm_s390_set_tod_low()
1311 gtod->tod = clk.tod + kvm->arch.epoch; in kvm_s390_get_tod_clock()
1315 if (gtod->tod < clk.tod) in kvm_s390_get_tod_clock()
1332 gtod.epoch_idx, gtod.tod); in kvm_s390_get_tod_ext()
4473 kvm->arch.epoch = gtod->tod - clk.tod; in __kvm_s390_set_tod_clock()
4477 if (kvm->arch.epoch > gtod->tod) in __kvm_s390_set_tod_clock()
A Dpriv.c99 rc = read_guest(vcpu, op2, ar, &gtod.tod, sizeof(gtod.tod)); in handle_set_clock()
103 VCPU_EVENT(vcpu, 3, "SCK: setting guest TOD to 0x%llx", gtod.tod); in handle_set_clock()
/linux-6.3-rc2/include/linux/
A Dieee80211.h1338 u8 tod[6]; member
1352 u32 tod; member

Completed in 88 milliseconds

12