Home
last modified time | relevance | path

Searched refs:ts (Results 226 – 250 of 1191) sorted by relevance

12345678910>>...48

/openbmc/linux/drivers/rtc/
H A Dlib.c189 struct timespec64 ts; in rtc_ktime_to_tm() local
192 ts = ktime_to_timespec64(kt); in rtc_ktime_to_tm()
194 if (ts.tv_nsec) in rtc_ktime_to_tm()
195 ts.tv_sec++; in rtc_ktime_to_tm()
196 rtc_time64_to_tm(ts.tv_sec, &ret); in rtc_ktime_to_tm()
/openbmc/qemu/linux-user/m68k/
H A Dcpu_loop.c98 TaskState *ts = cpu->opaque; in target_cpu_copy_regs() local
99 struct image_info *info = ts->info; in target_cpu_copy_regs()
120 ts->stack_base = info->start_stack; in target_cpu_copy_regs()
121 ts->heap_base = info->brk; in target_cpu_copy_regs()
123 ts->heap_limit = 0; in target_cpu_copy_regs()
/openbmc/openbmc/meta-arm/documentation/
H A Dtrusted-services.md19 | Attestation | ts-attesation |
20 | Crypto | ts-crypto |
21 | Internal Storage | ts-its |
22 | Protected Storage | ts-storage |
23 | se-proxy | ts-se-proxy |
24 | smm-gateway | ts-smm-gateway |
34 enabled if the `ts-smm-gateway` and/or the `optee-spmc-test` machine features are enabled.
49 Optionally for testing purposes you can add `packagegroup-ts-tests` into your image. It includes
/openbmc/qemu/plugins/
H A Dapi.c395 TaskState *ts = (TaskState *) current_cpu->opaque; in qemu_plugin_path_to_binary() local
396 path = g_strdup(ts->bprm->filename); in qemu_plugin_path_to_binary()
405 TaskState *ts = (TaskState *) current_cpu->opaque; in qemu_plugin_start_code() local
406 start = ts->info->start_code; in qemu_plugin_start_code()
415 TaskState *ts = (TaskState *) current_cpu->opaque; in qemu_plugin_end_code() local
416 end = ts->info->end_code; in qemu_plugin_end_code()
425 TaskState *ts = (TaskState *) current_cpu->opaque; in qemu_plugin_entry_code() local
426 entry = ts->info->entry; in qemu_plugin_entry_code()
/openbmc/linux/arch/arm/boot/dts/st/
H A Dspear1310-evb.dts369 compatible = "st,stmpe-ts";
370 ts,sample-time = <4>;
371 ts,mod-12b = <1>;
372 ts,ref-sel = <0>;
373 ts,adc-freq = <1>;
374 ts,ave-ctrl = <1>;
375 ts,touch-det-delay = <2>;
376 ts,settling = <2>;
377 ts,fraction-z = <7>;
378 ts,i-drive = <1>;
/openbmc/linux/net/core/
H A Dscm.c279 for (i = 0; i < ARRAY_SIZE(tss.ts); i++) { in put_cmsg_scm_timestamping64()
280 tss.ts[i].tv_sec = tss_internal->ts[i].tv_sec; in put_cmsg_scm_timestamping64()
281 tss.ts[i].tv_nsec = tss_internal->ts[i].tv_nsec; in put_cmsg_scm_timestamping64()
293 for (i = 0; i < ARRAY_SIZE(tss.ts); i++) { in put_cmsg_scm_timestamping()
294 tss.ts[i].tv_sec = tss_internal->ts[i].tv_sec; in put_cmsg_scm_timestamping()
295 tss.ts[i].tv_nsec = tss_internal->ts[i].tv_nsec; in put_cmsg_scm_timestamping()
/openbmc/linux/fs/fat/
H A Dnamei_msdos.c241 fat_time_unix2fat(sbi, ts, &time, &date, NULL); in msdos_add_entry()
254 fat_truncate_time(dir, ts, S_CTIME|S_MTIME); in msdos_add_entry()
270 struct timespec64 ts; in msdos_create() local
288 ts = current_time(dir); in msdos_create()
349 struct timespec64 ts; in msdos_mkdir() local
366 ts = current_time(dir); in msdos_mkdir()
367 cluster = fat_alloc_new_dir(dir, &ts); in msdos_mkdir()
437 struct timespec64 ts; in do_msdos_rename() local
492 ts = current_time(old_inode); in do_msdos_rename()
505 &ts, &sinfo); in do_msdos_rename()
[all …]
/openbmc/linux/samples/bpf/
H A Dtrace_output_user.c11 struct timespec ts; in time_get_ns() local
13 clock_gettime(CLOCK_MONOTONIC, &ts); in time_get_ns()
14 return ts.tv_sec * 1000000000ull + ts.tv_nsec; in time_get_ns()
/openbmc/linux/tools/testing/selftests/futex/functional/
H A Dfutex_requeue_pi.c284 struct timespec ts, *tsp = NULL; in unit_test() local
293 ret = clock_gettime(CLOCK_MONOTONIC, &ts); in unit_test()
294 secs = (ts.tv_nsec + timeout_ns) / 1000000000; in unit_test()
295 ts.tv_nsec = ((int64_t)ts.tv_nsec + timeout_ns) % 1000000000; in unit_test()
296 ts.tv_sec += secs; in unit_test()
297 info("ts.tv_sec = %ld\n", ts.tv_sec); in unit_test()
298 info("ts.tv_nsec = %ld\n", ts.tv_nsec); in unit_test()
299 tsp = &ts; in unit_test()
/openbmc/linux/drivers/input/touchscreen/
H A Dcyttsp4_core.h427 static inline int cyttsp4_adap_read(struct cyttsp4 *ts, u16 addr, int size, in cyttsp4_adap_read() argument
430 return ts->bus_ops->read(ts->dev, ts->xfer_buf, addr, size, buf); in cyttsp4_adap_read()
433 static inline int cyttsp4_adap_write(struct cyttsp4 *ts, u16 addr, int size, in cyttsp4_adap_write() argument
436 return ts->bus_ops->write(ts->dev, ts->xfer_buf, addr, size, buf); in cyttsp4_adap_write()
441 extern int cyttsp4_remove(struct cyttsp4 *ts);
/openbmc/linux/drivers/net/ethernet/mscc/
H A Docelot_ptp.c46 set_normalized_timespec64(ts, s, ns); in ocelot_ptp_gettime64()
52 const struct timespec64 *ts) in ocelot_ptp_settime64() argument
121 struct timespec64 ts; in ocelot_ptp_adjtime() local
124 ocelot_ptp_gettime64(ptp, &ts); in ocelot_ptp_adjtime()
127 ts = ns_to_timespec64(now + delta); in ocelot_ptp_adjtime()
129 ocelot_ptp_settime64(ptp, &ts); in ocelot_ptp_adjtime()
707 struct timespec64 *ts) in ocelot_get_hwtimestamp() argument
728 ts->tv_sec--; in ocelot_get_hwtimestamp()
753 struct timespec64 ts; in ocelot_get_txtstamp() local
802 ocelot_get_hwtimestamp(ocelot, &ts); in ocelot_get_txtstamp()
[all …]
/openbmc/linux/tools/testing/selftests/timers/
H A Dfreq-step.c205 struct timespec ts; in init_test() local
208 if (clock_gettime(CLOCK_MONOTONIC_RAW, &ts)) { in init_test()
213 mono_raw_base = ts.tv_sec; in init_test()
215 if (clock_gettime(CLOCK_MONOTONIC, &ts)) { in init_test()
220 mono_base = ts.tv_sec; in init_test()
233 srand(ts.tv_sec ^ ts.tv_nsec); in init_test()
/openbmc/qemu/net/
H A Ddump.c59 } ts; member
68 int64_t ts; in dump_receive_iov() local
78 ts = qemu_clock_get_us(QEMU_CLOCK_VIRTUAL); in dump_receive_iov()
81 hdr.ts.tv_sec = ts / 1000000 + s->start_ts; in dump_receive_iov()
82 hdr.ts.tv_usec = ts % 1000000; in dump_receive_iov()
/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A Dxmit.c285 struct ath_tx_status ts; in ath_tx_flush_tid() local
291 memset(&ts, 0, sizeof(ts)); in ath_tx_flush_tid()
370 struct ath_tx_status ts; in ath_tid_drain() local
374 memset(&ts, 0, sizeof(ts)); in ath_tid_drain()
472 seq_st = ts->ts_seqnum; in ath_tx_count_frames()
555 seq_st = ts->ts_seqnum; in ath_tx_complete_aggr()
634 ts, sta); in ath_tx_complete_aggr()
721 airtime += ts->duration * (ts->ts_longretry + 1); in ath_tx_count_airtime()
1876 struct ath_tx_status ts; in ath_drain_txq_list() local
1878 memset(&ts, 0, sizeof(ts)); in ath_drain_txq_list()
[all …]
/openbmc/linux/arch/parisc/kernel/
H A Dtime.c214 void read_persistent_clock64(struct timespec64 *ts) in read_persistent_clock64() argument
218 ts->tv_sec = tod_data.tod_sec; in read_persistent_clock64()
219 ts->tv_nsec = tod_data.tod_usec * 1000; in read_persistent_clock64()
222 ts->tv_sec = 0; in read_persistent_clock64()
223 ts->tv_nsec = 0; in read_persistent_clock64()
/openbmc/qemu/linux-user/
H A Dmain.c187 void task_settid(TaskState *ts) in task_settid() argument
189 if (ts->ts_tid == 0) { in task_settid()
204 void init_task_state(TaskState *ts) in init_task_state() argument
209 ts->used = 1; in init_task_state()
675 TaskState *ts; in main() local
936 ts = g_new0(TaskState, 1); in main()
937 init_task_state(ts); in main()
939 ts->info = info; in main()
940 ts->bprm = &bprm; in main()
941 cpu->opaque = ts; in main()
[all …]
H A Dlinuxload.c92 TaskState *ts = (TaskState *)thread_cpu->opaque; in loader_build_argptr() local
101 ts->info->envp = envp; in loader_build_argptr()
102 ts->info->envc = envc; in loader_build_argptr()
103 ts->info->argv = argv; in loader_build_argptr()
104 ts->info->argc = argc; in loader_build_argptr()
118 ts->info->arg_strings = stringp; in loader_build_argptr()
128 ts->info->env_strings = stringp; in loader_build_argptr()
/openbmc/phosphor-logging/lib/include/phosphor-logging/
H A Dlg2.hpp28 details::header_str_conversion_t<Ts&&>... ts) in log()
32 std::forward<details::header_str_conversion_t<Ts&&>>(ts)...); in log()
42 const char* msg, details::header_str_conversion_t<Ts&&>... ts, in log()
44 log(s, msg, std::forward<details::header_str_conversion_t<Ts&&>>(ts)...) in log()
/openbmc/u-boot/drivers/serial/
H A Dserial_mxc.c138 u32 ts; member
158 writel(0, &base->ts); in _mxc_serial_init()
201 while (readl(&mxc_base->ts) & UTS_RXEMPTY) in mxc_serial_getc()
215 while (!(readl(&mxc_base->ts) & UTS_TXEMPTY)) in mxc_serial_putc()
223 if (readl(&mxc_base->ts) & UTS_RXEMPTY) in mxc_serial_tstc()
289 if (readl(&uart->ts) & UTS_RXEMPTY) in mxc_serial_getc()
300 if (!(readl(&uart->ts) & UTS_TXEMPTY)) in mxc_serial_putc()
384 while (!(readl(&base->ts) & UTS_TXEMPTY)) in _debug_uart_putc()
/openbmc/linux/tools/testing/selftests/kvm/lib/
H A Dtest_util.c81 int64_t timespec_to_ns(struct timespec ts) in timespec_to_ns() argument
83 return (int64_t)ts.tv_nsec + 1000000000LL * (int64_t)ts.tv_sec; in timespec_to_ns()
86 struct timespec timespec_add_ns(struct timespec ts, int64_t ns) in timespec_add_ns() argument
90 res.tv_nsec = ts.tv_nsec + ns; in timespec_add_ns()
91 res.tv_sec = ts.tv_sec + res.tv_nsec / 1000000000LL; in timespec_add_ns()
119 struct timespec timespec_div(struct timespec ts, int divisor) in timespec_div() argument
121 int64_t ns = timespec_to_ns(ts) / divisor; in timespec_div()
/openbmc/linux/include/uapi/linux/
H A Derrqueue.h58 struct __kernel_old_timespec ts[3]; member
60 struct timespec ts[3];
65 struct __kernel_timespec ts[3]; member
/openbmc/linux/arch/m68k/kernel/
H A Dtime.c76 void read_persistent_clock64(struct timespec64 *ts) in read_persistent_clock64() argument
80 ts->tv_sec = 0; in read_persistent_clock64()
81 ts->tv_nsec = 0; in read_persistent_clock64()
88 ts->tv_sec = mktime64(time.tm_year + 1900, time.tm_mon + 1, time.tm_mday, in read_persistent_clock64()
/openbmc/linux/drivers/spi/
H A Dspi-slave-time.c67 u64 ts; in spi_slave_time_submit() local
69 ts = local_clock(); in spi_slave_time_submit()
70 rem_us = do_div(ts, 1000000000) / 1000; in spi_slave_time_submit()
72 priv->buf[0] = cpu_to_be32(ts); in spi_slave_time_submit()
/openbmc/linux/drivers/net/dsa/sja1105/
H A Dsja1105_ptp.c284 *ts = 0; in sja1105_ptpegr_ts_poll()
347 u64 ticks, ts; in sja1105_rxtstamp_work() local
359 ts = SJA1105_SKB_CB(skb)->tstamp; in sja1105_rxtstamp_work()
360 ts = sja1105_tstamp_reconstruct(ds, ticks, ts); in sja1105_rxtstamp_work()
394 u64 ts = SJA1105_SKB_CB(skb)->tstamp; in sja1110_rxtstamp() local
535 struct timespec64 *ts, in sja1105_ptp_gettimex() argument
546 *ts = ns_to_timespec64(now); in sja1105_ptp_gettimex()
589 const struct timespec64 *ts) in sja1105_ptp_settime() argument
593 u64 ns = timespec64_to_ns(ts); in sja1105_ptp_settime()
946 u64 ticks, ts; in sja1105_ptp_txtstamp_skb() local
[all …]
/openbmc/linux/include/linux/
H A Dktime.h71 static inline ktime_t timespec64_to_ktime(struct timespec64 ts) in timespec64_to_ktime() argument
73 return ktime_set(ts.tv_sec, ts.tv_nsec); in timespec64_to_ktime()
210 struct timespec64 *ts) in ktime_to_timespec64_cond() argument
213 *ts = ktime_to_timespec64(kt); in ktime_to_timespec64_cond()

12345678910>>...48