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

/linux-master/tools/perf/util/
H A Ddata-convert.h10 bool tod; member in struct:perf_data_convert_opts
H A Ddebug.c66 struct timeval tod; local
73 if (gettimeofday(&tod, NULL) != 0)
76 if (localtime_r(&tod.tv_sec, &ltime) == NULL)
80 return fprintf(file, "[%s.%06lu] ", date, (long)tod.tv_usec);
H A Ddata-convert-bt.c1395 bool tod)
1401 if (tod) {
1405 pr_err("Can't provide --tod time, missing clock data. "
1509 struct perf_session *session, bool tod)
1533 if (ctf_writer__setup_clock(cw, session, tod)) {
1648 if (ctf_writer__init(cw, path, session, opts->tod))
1393 ctf_writer__setup_clock(struct ctf_writer *cw, struct perf_session *session, bool tod) argument
1508 ctf_writer__init(struct ctf_writer *cw, const char *path, struct perf_session *session, bool tod) argument
H A Ddata-convert-json.c356 if (opts->tod) {
357 pr_err("--tod is currently unsupported for JSON output.\n");
/linux-master/drivers/rtc/
H A Drtc-pcap.c45 u32 tod; /* time of day, seconds since midnight */ local
48 ezx_pcap_read(pcap_rtc->pcap, PCAP_REG_RTC_TODA, &tod);
49 secs = tod & PCAP_RTC_TOD_MASK;
63 u32 tod, days; local
65 tod = secs % SEC_PER_DAY;
66 ezx_pcap_write(pcap_rtc->pcap, PCAP_REG_RTC_TODA, tod);
78 u32 tod, days; local
80 ezx_pcap_read(pcap_rtc->pcap, PCAP_REG_RTC_TOD, &tod);
81 secs = tod & PCAP_RTC_TOD_MASK;
95 u32 tod, day local
[all...]
H A Drtc-mxc.c118 u32 tod, day, hr, min, sec, temp; local
122 day = div_s64_rem(time, 86400, &tod);
125 hr = tod / 3600;
126 tod -= hr * 3600;
129 min = tod / 60;
130 sec = tod - min * 60;
H A Drtc-cpcap.c53 unsigned long int tod; local
56 tod = (cpcap->tod1 & TOD1_MASK) | ((cpcap->tod2 & TOD2_MASK) << 8);
57 time = tod + ((cpcap->day & DAY_MASK) * SECS_PER_DAY);
/linux-master/arch/s390/include/asm/
H A Dtimex.h26 __uint128_t tod : 64; /* bits 0-63 of tod clock */ member in struct:tod_clock::__anon76
31 __uint128_t eitod : 72; /* epoch index + bits 0-63 tod clock */
66 static __always_inline void store_tod_clock_ext(union tod_clock *tod) argument
68 asm volatile("stcke %0" : "=Q" (*tod) : : "cc");
94 #define PTFF_QTO 0x01 /* query tod offset */
97 #define PTFF_ATO 0x40 /* adjust tod offset */
98 #define PTFF_STO 0x41 /* set tod offset */
185 return clk.tod;
209 return get_tod_clock() - tod_clock_base.tod;
221 unsigned long tod; local
[all...]
/linux-master/tools/perf/
H A Dbuiltin-data.c44 OPT_BOOLEAN(0, "tod", &opts.tod, "Convert time to wall clock time"),
H A Dbuiltin-script.c204 {.str = "tod", .field = PERF_OUTPUT_TOD},
612 bool tod = false; local
643 tod |= output[j].fields & PERF_OUTPUT_TOD;
684 if (tod && !session->header.env.clock.enabled) {
685 pr_err("Can't provide 'tod' time, missing clock data. "
3943 "phys_addr,metric,misc,srccode,ipc,tod,data_page_size,"
/linux-master/drivers/ptp/
H A Dptp_clockmatrix.h109 u8 tod; member in struct:idtcm_channel
H A Dptp_ocp.c324 struct tod_reg __iomem *tod; member in struct:ptp_ocp
601 OCP_MEM_RESOURCE(tod),
933 OCP_MEM_RESOURCE(tod),
1541 if (bp->tod) {
1542 status = ioread32(&bp->tod->utc_status);
1620 ctrl = ioread32(&bp->tod->ctrl);
1623 iowrite32(ctrl, &bp->tod->ctrl);
1625 reg = ioread32(&bp->tod->utc_status);
3551 val = ioread32(&bp->tod->adj_sec);
3576 iowrite32(val, &bp->tod
[all...]
H A Dptp_clockmatrix.c304 ref = ptp_find_pin(channel->ptp_clock, PTP_PF_EXTTS, channel->tod);
308 __func__, channel->tod);
2193 /* Set tod addresses */
2249 /* Set tod addresses */
2314 /* Set tod addresses */
2381 idtcm->channel[0].tod = 0;
2382 idtcm->channel[1].tod = 1;
2383 idtcm->channel[2].tod = 2;
2384 idtcm->channel[3].tod = 3;
/linux-master/arch/parisc/include/asm/
H A Dpdc.h66 int pdc_tod_read(struct pdc_tod *tod);
/linux-master/arch/s390/kernel/
H A Dearly.c74 tod_clock_base.tod = TOD_UNIX_EPOCH;
239 if (test_facility(139) && (tod_clock_base.tod >> 63)) {
H A Dtime.c86 tod_steering_end = tod_clock_base.tod;
240 * corresponds to shifting the tod delta by 15. 1s is
250 .name = "tod",
H A Dperf_cpum_cf.c402 te->tod_base = tod_clock_base.tod;
H A Dperf_cpum_sf.c1734 te->progusage2 = tod_clock_base.tod;
/linux-master/arch/parisc/kernel/
H A Dfirmware.c1083 * @tod: The return buffer:
1087 int pdc_tod_read(struct pdc_tod *tod) argument
1095 memcpy(tod, pdc_result, sizeof(*tod));
/linux-master/arch/s390/kvm/
H A Dkvm-s390.c1239 gtod.epoch_idx, gtod.tod);
1263 if (copy_from_user(&gtod.tod, (void __user *)attr->addr,
1264 sizeof(gtod.tod)))
1268 VM_EVENT(kvm, 3, "SET: TOD base: 0x%llx", gtod.tod);
1318 gtod->tod = clk.tod + kvm->arch.epoch;
1322 if (gtod->tod < clk.tod)
1339 gtod.epoch_idx, gtod.tod);
4552 kvm->arch.epoch = gtod->tod
[all...]
H A Dpriv.c98 rc = read_guest(vcpu, op2, ar, &gtod.tod, sizeof(gtod.tod));
102 VCPU_EVENT(vcpu, 3, "SCK: setting guest TOD to 0x%llx", gtod.tod);
/linux-master/arch/s390/include/uapi/asm/
H A Dkvm.h406 __u64 tod; member in struct:kvm_s390_vm_tod_clock
581 __u64 todpr; /* tod programmable register [ARCH0] */
/linux-master/tools/arch/s390/include/uapi/asm/
H A Dkvm.h406 __u64 tod; member in struct:kvm_s390_vm_tod_clock
581 __u64 todpr; /* tod programmable register [ARCH0] */
/linux-master/include/linux/
H A Dieee80211.h1448 u8 tod[6]; member in struct:ieee80211_mgmt::__anon1967::__anon1978::__anon1979::__anon1996
1462 u32 tod; member in struct:ieee80211_mgmt::__anon1967::__anon1978::__anon1979::__anon1998

Completed in 428 milliseconds