/linux-master/tools/perf/util/ |
H A D | data-convert.h | 10 bool tod; member in struct:perf_data_convert_opts
|
H A D | debug.c | 66 struct timeval tod; local 73 if (gettimeofday(&tod, NULL) != 0) 76 if (localtime_r(&tod.tv_sec, <ime) == NULL) 80 return fprintf(file, "[%s.%06lu] ", date, (long)tod.tv_usec);
|
H A D | data-convert-bt.c | 1395 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 D | data-convert-json.c | 356 if (opts->tod) { 357 pr_err("--tod is currently unsupported for JSON output.\n");
|
/linux-master/drivers/rtc/ |
H A D | rtc-pcap.c | 45 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 D | rtc-mxc.c | 118 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 D | rtc-cpcap.c | 53 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 D | timex.h | 26 __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 D | builtin-data.c | 44 OPT_BOOLEAN(0, "tod", &opts.tod, "Convert time to wall clock time"),
|
H A D | builtin-script.c | 204 {.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 D | ptp_clockmatrix.h | 109 u8 tod; member in struct:idtcm_channel
|
H A D | ptp_ocp.c | 324 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 D | ptp_clockmatrix.c | 304 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 D | pdc.h | 66 int pdc_tod_read(struct pdc_tod *tod);
|
/linux-master/arch/s390/kernel/ |
H A D | early.c | 74 tod_clock_base.tod = TOD_UNIX_EPOCH; 239 if (test_facility(139) && (tod_clock_base.tod >> 63)) {
|
H A D | time.c | 86 tod_steering_end = tod_clock_base.tod; 240 * corresponds to shifting the tod delta by 15. 1s is 250 .name = "tod",
|
H A D | perf_cpum_cf.c | 402 te->tod_base = tod_clock_base.tod;
|
H A D | perf_cpum_sf.c | 1734 te->progusage2 = tod_clock_base.tod;
|
/linux-master/arch/parisc/kernel/ |
H A D | firmware.c | 1083 * @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 D | kvm-s390.c | 1239 gtod.epoch_idx, gtod.tod); 1263 if (copy_from_user(>od.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 D | priv.c | 98 rc = read_guest(vcpu, op2, ar, >od.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 D | kvm.h | 406 __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 D | kvm.h | 406 __u64 tod; member in struct:kvm_s390_vm_tod_clock 581 __u64 todpr; /* tod programmable register [ARCH0] */
|
/linux-master/include/linux/ |
H A D | ieee80211.h | 1448 u8 tod[6]; member in struct:ieee80211_mgmt::__anon1967::__anon1978::__anon1979::__anon1996 1462 u32 tod; member in struct:ieee80211_mgmt::__anon1967::__anon1978::__anon1979::__anon1998
|