| /linux/drivers/rtc/ |
| H A 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 …]
|
| H A D | rtc-mxc.c | 118 u32 tod, day, hr, min, sec, temp; in set_alarm_or_time() local 122 day = div_s64_rem(time, 86400, &tod); in set_alarm_or_time() 125 hr = tod / 3600; in set_alarm_or_time() 126 tod -= hr * 3600; in set_alarm_or_time() 129 min = tod / 60; in set_alarm_or_time() 130 sec = tod - min * 60; in set_alarm_or_time()
|
| H A 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/arch/s390/include/asm/ |
| H A D | timex.h | 52 static __always_inline void store_tod_clock_ext(union tod_clock *tod) in set_tod_clock() 54 asm volatile("stcke %0" : "=Q" (*tod) : : "cc"); in set_tod_clock() 80 #define PTFF_QTO 0x01 /* query tod offset */ in set_tod_programmable_field() 84 #define PTFF_ATO 0x40 /* adjust tod offset */ in set_tod_programmable_field() 85 #define PTFF_STO 0x41 /* set tod offset */ in set_tod_programmable_field() 171 return clk.tod; in local_tick_disable() 188 return get_tod_clock() - tod_clock_base.tod; in get_tod_clock() 200 unsigned long tod; 203 tod = __get_tod_clock_monotonic(); 205 return tod; in __get_tod_clock_monotonic() 28 __uint128_t tod : 64; /* bits 0-63 of tod clock */ global() member 70 store_tod_clock_ext(union tod_clock * tod) store_tod_clock_ext() argument 218 unsigned long tod; get_tod_clock_monotonic() local [all...] |
| /linux/tools/perf/util/ |
| H A D | debug.c | 75 struct timeval tod; in fprintf_time() local 82 if (gettimeofday(&tod, NULL) != 0) in fprintf_time() 85 if (localtime_r(&tod.tv_sec, <ime) == NULL) in fprintf_time() 89 return fprintf(file, "[%s.%06lu] ", date, (long)tod.tv_usec); in fprintf_time()
|
| H A D | data-convert.h | 10 bool tod; member
|
| H A D | data-convert-bt.c | 1503 bool tod) in create_int_type() 1509 if (tod) { in create_int_type() 1513 pr_err("Can't provide --tod time, missing clock data. " in create_int_type() 1617 struct perf_session *session, bool tod) in ctf_writer__init() 1641 if (ctf_writer__setup_clock(cw, session, tod)) { 1766 if (ctf_writer__init(cw, path, session, opts->tod)) in bt_convert__perf2ctf() 1456 ctf_writer__setup_clock(struct ctf_writer * cw,struct perf_session * session,bool tod) ctf_writer__setup_clock() argument 1570 ctf_writer__init(struct ctf_writer * cw,const char * path,struct perf_session * session,bool tod) ctf_writer__init() argument
|
| H A D | data-convert-json.c | 377 if (opts->tod) { in bt_convert__perf2json() 378 pr_err("--tod is currently unsupported for JSON output.\n"); in bt_convert__perf2json()
|
| /linux/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 | 211 {.str = "tod", .field = PERF_OUTPUT_TOD}, 641 bool tod = false; in perf_session__check_output_opt() 672 tod |= output[j].fields & PERF_OUTPUT_TOD; in perf_session__check_output_opt() 713 if (tod && !perf_session__env(session)->clock.enabled) { in perf_session__check_output_opt() 714 pr_err("Can't provide 'tod' time, missing clock data. " in perf_session__check_output_opt() 4101 "phys_addr,metric,misc,srccode,ipc,tod,data_page_size," in cmd_script() 637 bool tod = false; perf_session__check_output_opt() local
|
| /linux/drivers/ptp/ |
| H A D | ptp_clockmatrix.h | 109 u8 tod; member
|
| /linux/arch/parisc/include/asm/ |
| H A D | pdc.h | 66 int pdc_tod_read(struct pdc_tod *tod);
|
| /linux/tools/perf/Documentation/ |
| H A D | perf-data.txt | 33 --tod::
|
| /linux/arch/s390/boot/ |
| H A D | startup.c | 113 tod_clock_base.tod = TOD_UNIX_EPOCH; in reset_tod_clock() 132 if (test_facility(139) && (tod_clock_base.tod >> 63)) { in detect_facilities()
|
| /linux/Documentation/virt/kvm/s390/ |
| H A D | s390-pv-dump.rst | 42 point, vector, control and tod/timers of a vcpu. The vcpu dump can
|
| /linux/arch/s390/kvm/ |
| H A D | kvm-s390.c | 1316 gtod.epoch_idx, gtod.tod); 1340 if (copy_from_user(>od.tod, (void __user *)attr->addr, in kvm_s390_set_tod() 1341 sizeof(gtod.tod))) in kvm_s390_set_tod() 1345 VM_EVENT(kvm, 3, "SET: TOD base: 0x%llx", gtod.tod); in kvm_s390_set_tod() 1395 gtod->tod = clk.tod + kvm->arch.epoch; in kvm_s390_get_tod_high() 1399 if (gtod->tod < clk.tod) 1416 gtod.epoch_idx, gtod.tod); in kvm_s390_get_tod() 4414 kvm->arch.epoch = gtod->tod in __kvm_inject_pfault_token() [all...] |
| H A D | priv.c | 99 rc = read_guest(vcpu, op2, ar, >od.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/arch/s390/kernel/ |
| H A D | perf_cpum_cf.c | 404 te->tod_base = tod_clock_base.tod; in cfdiag_trailer()
|
| H A D | perf_cpum_sf.c | 1575 te->progusage2 = tod_clock_base.tod; in aux_sdb_init()
|
| /linux/Documentation/admin-guide/ |
| H A D | kernel-parameters.txt | 820 [S390] tod
|