/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/linux/drivers/rtc/ |
H A D | lib.c | 189 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 D | cpu_loop.c | 98 TaskState *ts = get_task_state(cpu); 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 D | trusted-services.md | 19 | 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/linux/arch/arm/boot/dts/st/ |
H A D | spear1310-evb.dts | 369 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 D | scm.c | 279 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/qemu/tcg/ |
H A D | optimize.c | 44 TCGTemp *ts; member 145 return ts_info(ts)->next_copy != ts; in ts_is_copy() 164 ti = ts->state_ptr; in init_ts_info() 199 TCGTemp *ts = mc->ts; in remove_mem_copy() local 230 return ts; in find_better_copy() 233 ret = ts; in find_better_copy() 234 for (i = ts_info(ts)->next_copy; i != ts; i = ts_info(i)->next_copy) { in find_better_copy() 308 ts = find_better_copy(ts); in record_mem_copy() 309 ti = ts_info(ts); in record_mem_copy() 310 mc->ts = ts; in record_mem_copy() [all …]
|
/openbmc/linux/fs/fat/ |
H A D | namei_msdos.c | 241 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 D | trace_output_user.c | 11 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 D | futex_requeue_pi.c | 284 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 D | cyttsp4_core.h | 427 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 D | ocelot_ptp.c | 46 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 D | freq-step.c | 205 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 D | dump.c | 59 } 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/arch/parisc/kernel/ |
H A D | time.c | 214 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/linux/drivers/net/wireless/ath/ath9k/ |
H A D | xmit.c | 285 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/qemu/linux-user/ |
H A D | main.c | 193 void task_settid(TaskState *ts) in task_settid() argument 195 if (ts->ts_tid == 0) { in task_settid() 210 void init_task_state(TaskState *ts) in init_task_state() argument 215 ts->used = 1; in init_task_state() 679 TaskState *ts; in main() local 949 ts = g_new0(TaskState, 1); in main() 950 init_task_state(ts); in main() 952 ts->info = info; in main() 953 ts->bprm = &bprm; in main() 954 cpu->opaque = ts; in main() [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | errqueue.h | 58 struct __kernel_old_timespec ts[3]; member 60 struct timespec ts[3]; 65 struct __kernel_timespec ts[3]; member
|
/openbmc/u-boot/drivers/serial/ |
H A D | serial_mxc.c | 138 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 D | test_util.c | 81 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/qemu/tests/tcg/plugins/ |
H A D | insn.c | 65 g_autoptr(GString) ts = g_string_new(str_hash); in get_insn_record() 74 g_string_prepend(ts, "Created record for: "); in get_insn_record() 75 g_string_append(ts, "\n"); in get_insn_record() 76 qemu_plugin_outs(ts->str); in get_insn_record() 125 g_autoptr(GString) ts = g_string_new(""); in vcpu_insn_matched_exec_before() 126 g_string_append_printf(ts, "0x%" PRIx64 ", '%s', %"PRId64 " hits", in vcpu_insn_matched_exec_before() 128 g_string_append_printf(ts, in vcpu_insn_matched_exec_before() 137 qemu_plugin_outs(ts->str); in vcpu_insn_matched_exec_before()
|
/openbmc/linux/arch/m68k/kernel/ |
H A D | time.c | 76 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 D | spi-slave-time.c | 67 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/include/linux/ |
H A D | ktime.h | 71 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()
|
/openbmc/linux/drivers/net/dsa/sja1105/ |
H A D | sja1105_ptp.c | 284 *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 …]
|