/openbmc/linux/arch/arm64/include/asm/vdso/ |
H A D | gettimeofday.h | 38 register struct __kernel_timespec *ts asm("x1") = _ts; in clock_gettime_fallback() 46 : "r" (clkid), "r" (ts), "r" (nr) in clock_gettime_fallback() 55 register struct __kernel_timespec *ts asm("x1") = _ts; in clock_getres_fallback() 63 : "r" (clkid), "r" (ts), "r" (nr) in clock_getres_fallback()
|
/openbmc/linux/arch/loongarch/include/asm/vdso/ |
H A D | gettimeofday.h | 41 register struct __kernel_timespec *ts asm("a1") = _ts; in clock_gettime_fallback() 48 : "r" (nr), "r" (clkid), "r" (ts) in clock_gettime_fallback() 60 register struct __kernel_timespec *ts asm("a1") = _ts; in clock_getres_fallback() 67 : "r" (nr), "r" (clkid), "r" (ts) in clock_getres_fallback()
|
/openbmc/linux/drivers/ptp/ |
H A D | ptp_mock.c | 77 const struct timespec64 *ts) in mock_phc_settime64() argument 80 u64 ns = timespec64_to_ns(ts); in mock_phc_settime64() 89 static int mock_phc_gettime64(struct ptp_clock_info *info, struct timespec64 *ts) in mock_phc_gettime64() argument 98 *ts = ns_to_timespec64(ns); in mock_phc_gettime64() 105 struct timespec64 ts; in mock_phc_refresh() local 107 mock_phc_gettime64(info, &ts); in mock_phc_refresh()
|
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_ptp.c | 423 struct timespec64 *ts, in lan966x_get_hwtimestamp() argument 443 ts->tv_nsec = nsec; in lan966x_get_hwtimestamp() 447 ts->tv_sec--; in lan966x_get_hwtimestamp() 461 struct timespec64 ts; in lan966x_ptp_irq_handler() local 530 shhwtstamps.hwtstamp = ktime_set(ts.tv_sec, ts.tv_nsec); in lan966x_ptp_irq_handler() 753 struct timespec64 ts; in lan966x_ptp_adjtime() local 1088 struct timespec64 ts; in lan966x_ptp_rxtstamp() local 1100 if (ts.tv_nsec < timestamp) in lan966x_ptp_rxtstamp() 1101 ts.tv_sec--; in lan966x_ptp_rxtstamp() 1102 ts.tv_nsec = timestamp; in lan966x_ptp_rxtstamp() [all …]
|
/openbmc/linux/sound/soc/meson/ |
H A D | axg-tdmin.c | 113 struct axg_tdm_stream *ts) in axg_tdmin_prepare() argument 118 switch (ts->iface->fmt & SND_SOC_DAIFMT_FORMAT_MASK) { in axg_tdmin_prepare() 130 ts->iface->fmt & SND_SOC_DAIFMT_FORMAT_MASK); in axg_tdmin_prepare() 137 switch (ts->iface->fmt & SND_SOC_DAIFMT_FORMAT_MASK) { in axg_tdmin_prepare() 146 if (axg_tdm_lrclk_invert(ts->iface->fmt)) in axg_tdmin_prepare() 150 val |= TDMIN_CTRL_BITNUM(ts->iface->slot_width - 1); in axg_tdmin_prepare() 164 return axg_tdm_formatter_set_channel_masks(map, ts, TDMIN_MASK0); in axg_tdmin_prepare()
|
/openbmc/linux/drivers/rtc/ |
H A D | rtc-pcf2127.c | 646 *ts = rtc_tm_to_time64(&tm); in pcf2127_rtc_ts_read() 827 time64_t ts; in timestamp_show() local 835 ts = pcf2127->ts[ts_id]; in timestamp_show() 937 .ts[0] = { 965 .ts[0] = { 993 .ts[0] = { 1001 .ts[1] = { 1009 .ts[2] = { 1017 .ts[3] = { 1063 pcf2127->cfg->ts[ts_id].ie_bit, in pcf2127_enable_ts() [all …]
|
/openbmc/linux/tools/testing/selftests/timers/ |
H A D | alarmtimer-suspend.c | 100 struct timespec ts; in sigalarm() local 102 clock_gettime(alarm_clock_id, &ts); in sigalarm() 105 delta_ns = timespec_sub(start_time, ts); in sigalarm() 108 printf("ALARM(%i): %ld:%ld latency: %lld ns ", alarmcount, ts.tv_sec, in sigalarm() 109 ts.tv_nsec, delta_ns); in sigalarm()
|
/openbmc/linux/drivers/misc/sgi-gru/ |
H A D | gruprocfs.c | 164 struct gru_thread_state *ts; in cch_seq_show() local 171 ts = gru->gs_gts[i]; in cch_seq_show() 172 if (!ts) in cch_seq_show() 176 is_kernel_context(ts) ? 0 : ts->ts_gms->ms_asids[gid].mt_asid, in cch_seq_show() 177 is_kernel_context(ts) ? 0 : ts->ts_tgid_owner, in cch_seq_show() 178 ts->ts_cbr_au_count * GRU_CBR_AU_SIZE, in cch_seq_show() 179 ts->ts_cbr_au_count * GRU_DSR_AU_BYTES, in cch_seq_show() 180 mode[ts->ts_user_options & in cch_seq_show()
|
/openbmc/openbmc/meta-arm/meta-arm/recipes-security/trusted-services/ |
H A D | ts-demo_git.bb | 1 DESCRIPTION = "Trusted Services ts-demo deployment for arm-linux. \ 13 OECMAKE_SOURCEPATH="${S}/deployments/ts-demo/${TS_ENV}" 19 FILES:${PN} = "${bindir}/ts-demo" 23 mv ${D}${TS_INSTALL}/bin/ts-demo ${D}${bindir}
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | netcnt_prog.c | 30 __u64 ts, dt; in bpf_nextcnt() local 49 ts = bpf_ktime_get_ns(); in bpf_nextcnt() 50 dt = ts - percpu_cnt->prev_ts; in bpf_nextcnt() 61 percpu_cnt->prev_ts = ts; in bpf_nextcnt()
|
/openbmc/linux/kernel/trace/ |
H A D | ring_buffer.c | 300 u64 ts; in rb_event_time_stamp() local 424 u64 ts; member 801 u64 ts; in ring_buffer_event_time_stamp() local 1203 u64 ts; in rb_time_stamp() local 3428 ts = rb_fix_abs_ts(delta, ts); in dump_buffer_page() 3504 ts = rb_fix_abs_ts(delta, ts); in check_buffer() 3519 if ((full && ts > info->ts) || in check_buffer() 3531 ts + info->delta, info->ts, info->delta, in check_buffer() 3666 info->ts = ts; in __rb_reserve_next() 4820 if (ts && !(*ts)) { in rb_buffer_peek() [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/e1000e/ |
H A D | ptp.c | 162 struct timespec64 *ts, in e1000e_phc_gettimex() argument 178 *ts = ns_to_timespec64(ns); in e1000e_phc_gettimex() 192 const struct timespec64 *ts) in e1000e_phc_settime() argument 199 ns = timespec64_to_ns(ts); in e1000e_phc_settime() 230 struct timespec64 ts; in e1000e_systim_overflow_work() local 236 ts = ns_to_timespec64(ns); in e1000e_systim_overflow_work() 238 (long long) ts.tv_sec, ts.tv_nsec); in e1000e_systim_overflow_work()
|
/openbmc/qemu/qapi/ |
H A D | qmp-event.c | 23 QDict *ts; in timestamp_put() local 26 ts = qdict_from_jsonf_nofail("{ 'seconds': %lld, 'microseconds': %lld }", in timestamp_put() 29 qdict_put(qdict, "timestamp", ts); in timestamp_put()
|
/openbmc/linux/drivers/net/wireless/ath/ath5k/ |
H A D | trace.h | 67 struct ath5k_txq *q, struct ath5k_tx_status *ts), 69 TP_ARGS(priv, skb, q, ts), 84 __entry->ts_status = ts->ts_status; 85 __entry->ts_rssi = ts->ts_rssi; 86 __entry->ts_antenna = ts->ts_antenna;
|
/openbmc/linux/Documentation/devicetree/bindings/ata/ |
H A D | baikal,bt1-ahci.yaml | 57 snps,tx-ts-max: 64 snps,rx-ts-max: 104 snps,tx-ts-max = <4>; 105 snps,rx-ts-max = <4>; 111 snps,tx-ts-max = <4>; 112 snps,rx-ts-max = <4>;
|
/openbmc/telemetry/src/ |
H A D | trigger_factory.cpp | 13 namespace ts = utils::tstring; 162 const std::string& thresholdName = thresholdParam.at_label<ts::UserId>(); in makeDiscreteThreshold() 163 discrete::Severity severity = thresholdParam.at_label<ts::Severity>(); in makeDiscreteThreshold() 164 auto dwellTime = Milliseconds(thresholdParam.at_label<ts::DwellTime>()); in makeDiscreteThreshold() 166 thresholdParam.at_label<ts::ThresholdValue>(); in makeDiscreteThreshold() 187 auto type = thresholdParam.at_label<ts::Type>(); in makeNumericThreshold() 188 auto dwellTime = Milliseconds(thresholdParam.at_label<ts::DwellTime>()); in makeNumericThreshold() 189 auto direction = thresholdParam.at_label<ts::Direction>(); in makeNumericThreshold() 273 const auto& service = labeledSensorInfo.at_label<ts::Service>(); in updateSensors() 274 const auto& sensorPath = labeledSensorInfo.at_label<ts::Path>(); in updateSensors() [all …]
|
/openbmc/linux/samples/bpf/ |
H A D | tracex4_user.c | 22 struct timespec ts; in time_get_ns() local 24 clock_gettime(CLOCK_MONOTONIC, &ts); in time_get_ns() 25 return ts.tv_sec * 1000000000ull + ts.tv_nsec; in time_get_ns()
|
/openbmc/qemu/tcg/ |
H A D | optimize.c | 44 TCGTemp *ts; member 134 return ts_info(ts)->next_copy != ts; in ts_is_copy() 153 ti = ts->state_ptr; in init_ts_info() 188 TCGTemp *ts = mc->ts; in remove_mem_copy() local 219 return ts; in find_better_copy() 222 ret = ts; in find_better_copy() 223 for (i = ts_info(ts)->next_copy; i != ts; i = ts_info(i)->next_copy) { in find_better_copy() 297 ts = find_better_copy(ts); in record_mem_copy() 298 ti = ts_info(ts); in record_mem_copy() 299 mc->ts = ts; in record_mem_copy() [all …]
|
/openbmc/linux/net/ipv4/ |
H A D | ip_options.c | 59 ip_rt_get_source(iph + opt->ts + iph[opt->ts + 2] - 9, skb, rt); in ip_options_build() 64 memcpy(iph + opt->ts + iph[opt->ts + 2] - 5, &midtime, 4); in ip_options_build() 106 if (sopt->ts) { in __ip_options_echo() 107 optlen = sptr[sopt->ts+1]; in __ip_options_echo() 108 soffset = sptr[sopt->ts+2]; in __ip_options_echo() 110 memcpy(dptr, sptr+sopt->ts, optlen); in __ip_options_echo() 219 opt->ts = 0; in ip_options_fragment() 340 if (opt->ts) { in __ip_options_compile() 420 opt->ts = optptr - iph; in __ip_options_compile() 496 if (opt->ts) { in ip_options_undo() [all …]
|
/openbmc/linux/drivers/media/dvb-core/ |
H A D | dvb_net.c | 335 if ((h->ts[0] != TS_SYNC) || (h->ts[1] & TS_TEI) || in dvb_net_ule_new_ts_cell() 353 h->ts += TS_SZ; in dvb_net_ule_new_ts_cell() 366 if (h->ts[1] & TS_PUSI) { in dvb_net_ule_ts_pusi() 374 h->ts += TS_SZ; in dvb_net_ule_ts_pusi() 379 h->from_where = &h->ts[5] + h->ts[4]; in dvb_net_ule_ts_pusi() 384 h->ts += TS_SZ; in dvb_net_ule_ts_pusi() 501 h->ts += TS_SZ; in dvb_net_ule_new_payload() 525 h->ts += TS_SZ; in dvb_net_ule_new_payload() 553 h->ts += TS_SZ; in dvb_net_ule_new_payload() 769 .ts = NULL, in dvb_net_ule() [all …]
|
/openbmc/telemetry/src/types/ |
H A D | readings.cpp | 8 namespace ts = utils::tstring; 21 return Readings{labeledReadings.at_label<ts::Timestamp>(), in toReadings() 22 utils::transform(labeledReadings.at_label<ts::Readings>(), in toReadings()
|
/openbmc/linux/arch/riscv/kernel/vdso/ |
H A D | vgettimeofday.c | 13 int __vdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts); 14 int __vdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts) in __vdso_clock_gettime() argument 16 return __cvdso_clock_gettime(clock, ts); in __vdso_clock_gettime()
|
/openbmc/linux/arch/loongarch/vdso/ |
H A D | vgettimeofday.c | 10 int __vdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts); 11 int __vdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts) in __vdso_clock_gettime() argument 13 return __cvdso_clock_gettime(clock, ts); in __vdso_clock_gettime()
|
/openbmc/linux/arch/arm64/kernel/vdso/ |
H A D | vgettimeofday.c | 9 int __kernel_clock_gettime(clockid_t clock, struct __kernel_timespec *ts); 14 struct __kernel_timespec *ts) in __kernel_clock_gettime() argument 16 return __cvdso_clock_gettime(clock, ts); in __kernel_clock_gettime()
|
/openbmc/linux/tools/perf/trace/beauty/ |
H A D | timespec.c | 10 struct timespec *ts = (struct timespec *)arg->augmented.args; in syscall_arg__scnprintf_augmented_timespec() local 12 …return scnprintf(bf, size, "{ .tv_sec: %" PRIu64 ", .tv_nsec: %" PRIu64 " }", ts->tv_sec, ts->tv_n… in syscall_arg__scnprintf_augmented_timespec()
|