| /linux/drivers/ptp/ |
| H A D | ptp_s390.c | 28 static struct timespec64 tod_to_timespec64(unsigned long tod) in tod_to_timespec64() argument 30 return ns_to_timespec64(tod_to_ns(tod - TOD_UNIX_EPOCH)); in tod_to_timespec64() 36 union tod_clock tod; in ptp_s390_stcke_gettime() local 41 store_tod_clock_ext(&tod); in ptp_s390_stcke_gettime() 42 *ts = eitod_to_timespec64(&tod); in ptp_s390_stcke_gettime() 49 unsigned long tod; in ptp_s390_qpt_gettime() local 51 ptff(&tod, sizeof(tod), PTFF_QPT); in ptp_s390_qpt_gettime() 52 *ts = tod_to_timespec64(tod); in ptp_s390_qpt_gettime() 69 *device_time = ns_to_ktime(tod_to_ns(clk.tod - TOD_UNIX_EPOCH)); in s390_arch_ptp_get_crosststamp() 70 system_counter->cycles = clk.tod; in s390_arch_ptp_get_crosststamp()
|
| H A D | ptp_clockmatrix.h | 109 u8 tod; member
|
| H A D | ptp_ocp.c | 364 struct tod_reg __iomem *tod; member 646 OCP_MEM_RESOURCE(tod), 978 OCP_MEM_RESOURCE(tod), 1179 OCP_MEM_RESOURCE(tod), 1814 if (bp->tod) { in ptp_ocp_watchdog() 1815 status = ioread32(&bp->tod->utc_status); in ptp_ocp_watchdog() 1895 ctrl = ioread32(&bp->tod->ctrl); in ptp_ocp_tod_init() 1898 iowrite32(ctrl, &bp->tod->ctrl); in ptp_ocp_tod_init() 1900 reg = ioread32(&bp->tod->utc_status); in ptp_ocp_tod_init() 3958 val = ioread32(&bp->tod->adj_sec); in tod_correction_show() [all …]
|
| /linux/drivers/rtc/ |
| 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 | 52 unsigned long int tod; in cpcap2rtc_time() local 55 tod = (cpcap->tod1 & TOD1_MASK) | ((cpcap->tod2 & TOD2_MASK) << 8); in cpcap2rtc_time() 56 time = tod + ((cpcap->day & DAY_MASK) * SECS_PER_DAY); in cpcap2rtc_time()
|
| /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 | 378 if (opts->tod) { in bt_convert__perf2json() 379 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() 4103 "phys_addr,metric,misc,srccode,ipc,tod,data_page_size," in cmd_script() 637 bool tod = false; perf_session__check_output_opt() local
|
| /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/kernel/ |
| H A D | time.c | 81 vdso_k_time_data->arch_data.tod_delta = tod_clock_base.tod; in time_early_init() 358 vdso_k_time_data->arch_data.tod_delta = tod_clock_base.tod; in clock_sync_global()
|
| H A D | perf_cpum_sf.c | 1575 te->progusage2 = tod_clock_base.tod; in aux_sdb_init()
|
| /linux/tools/arch/s390/include/uapi/asm/ |
| H A D | kvm.h | 406 __u64 tod; member
|
| /linux/include/linux/ |
| H A D | ieee80211.h | 1139 u8 tod[6]; member 1152 u32 tod; member
|
| /linux/Documentation/admin-guide/ |
| H A D | kernel-parameters.txt | 826 [S390] tod
|