/openbmc/linux/arch/csky/include/asm/vdso/ |
H A D | gettimeofday.h | 36 register struct __kernel_timespec *ts asm("a1") = _ts; in clock_gettime_fallback() 42 : "r"(clkid), "r"(ts), "r"(nr) in clock_gettime_fallback() 52 register struct old_timespec32 *ts asm("a1") = _ts; in clock_gettime32_fallback() 58 : "r"(clkid), "r"(ts), "r"(nr) in clock_gettime32_fallback() 68 register struct __kernel_timespec *ts asm("a1") = _ts; in clock_getres_fallback() 74 : "r"(clkid), "r"(ts), "r"(nr) in clock_getres_fallback() 84 register struct old_timespec32 *ts asm("a1") = _ts; in clock_getres32_fallback() 90 : "r"(clkid), "r"(ts), "r"(nr) in clock_getres32_fallback()
|
/openbmc/linux/net/9p/ |
H A D | trans_fd.c | 231 if (!ts) { in p9_fd_poll() 238 if (ts->rd != ts->wr) in p9_fd_poll() 260 if (!ts) in p9_fd_read() 427 if (!ts) in p9_fd_write() 433 ret = kernel_write(ts->wr, v, len, &ts->wr->f_pos); in p9_fd_write() 827 if (!ts) in p9_fd_open() 861 kfree(ts); in p9_fd_open() 939 if (!ts) in p9_fd_close() 946 if (ts->rd) in p9_fd_close() 948 if (ts->wr) in p9_fd_close() [all …]
|
/openbmc/qemu/gdbstub/ |
H A D | user-target.c | 208 return ts ? ts->ts_tid : -1; in gdb_get_cpu_index() 217 TaskState *ts; in gdb_handle_query_offsets() local 219 ts = gdbserver_state.c_cpu->opaque; in gdb_handle_query_offsets() 224 ts->info->code_offset, in gdb_handle_query_offsets() 225 ts->info->data_offset, in gdb_handle_query_offsets() 245 TaskState *ts; in gdb_handle_query_xfer_auxv() local 255 ts = gdbserver_state.c_cpu->opaque; in gdb_handle_query_xfer_auxv() 256 saved_auxv = ts->info->saved_auxv; in gdb_handle_query_xfer_auxv() 257 auxv_len = ts->info->auxv_len; in gdb_handle_query_xfer_auxv() 402 TaskState *ts = cpu->opaque; in gdb_handle_query_xfer_exec_file() local [all …]
|
/openbmc/linux/arch/x86/entry/vdso/ |
H A D | vclock_gettime.c | 38 extern int __vdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts); 41 int __vdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts) in __vdso_clock_gettime() argument 43 return __cvdso_clock_gettime(clock, ts); in __vdso_clock_gettime() 59 extern int __vdso_clock_gettime(clockid_t clock, struct old_timespec32 *ts); 62 int __vdso_clock_gettime(clockid_t clock, struct old_timespec32 *ts) in __vdso_clock_gettime() argument 64 return __cvdso_clock_gettime32(clock, ts); in __vdso_clock_gettime() 70 int __vdso_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts) in __vdso_clock_gettime64() argument 72 return __cvdso_clock_gettime(clock, ts); in __vdso_clock_gettime64()
|
/openbmc/linux/arch/arm/include/asm/vdso/ |
H A D | gettimeofday.h | 42 register struct __kernel_timespec *ts asm("r1") = _ts; in clock_gettime_fallback() 50 : "r" (clkid), "r" (ts), "r" (nr) in clock_gettime_fallback() 60 register struct old_timespec32 *ts asm("r1") = _ts; in clock_gettime32_fallback() 68 : "r" (clkid), "r" (ts), "r" (nr) in clock_gettime32_fallback() 78 register struct __kernel_timespec *ts asm("r1") = _ts; in clock_getres_fallback() 86 : "r" (clkid), "r" (ts), "r" (nr) in clock_getres_fallback() 96 register struct old_timespec32 *ts asm("r1") = _ts; in clock_getres32_fallback() 104 : "r" (clkid), "r" (ts), "r" (nr) in clock_getres32_fallback()
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-max7300.c | 33 struct max7301 *ts; in max7300_probe() local 39 ts = devm_kzalloc(&client->dev, sizeof(struct max7301), GFP_KERNEL); in max7300_probe() 40 if (!ts) in max7300_probe() 43 ts->read = max7300_i2c_read; in max7300_probe() 44 ts->write = max7300_i2c_write; in max7300_probe() 45 ts->dev = &client->dev; in max7300_probe() 47 return __max730x_probe(ts); in max7300_probe()
|
H A D | gpio-max7301.c | 46 struct max7301 *ts; in max7301_probe() local 55 ts = devm_kzalloc(&spi->dev, sizeof(struct max7301), GFP_KERNEL); in max7301_probe() 56 if (!ts) in max7301_probe() 59 ts->read = max7301_spi_read; in max7301_probe() 60 ts->write = max7301_spi_write; in max7301_probe() 61 ts->dev = &spi->dev; in max7301_probe() 63 ret = __max730x_probe(ts); in max7301_probe()
|
/openbmc/linux/drivers/net/wireless/ath/ath5k/ |
H A D | desc.c | 444 struct ath5k_tx_status *ts) in ath5k_hw_proc_2word_tx_status() argument 468 ts->ts_antenna = 1; in ath5k_hw_proc_2word_tx_status() 469 ts->ts_status = 0; in ath5k_hw_proc_2word_tx_status() 470 ts->ts_final_idx = 0; in ath5k_hw_proc_2word_tx_status() 478 ts->ts_status |= AR5K_TXERR_FIFO; in ath5k_hw_proc_2word_tx_status() 481 ts->ts_status |= AR5K_TXERR_FILT; in ath5k_hw_proc_2word_tx_status() 496 struct ath5k_tx_status *ts) in ath5k_hw_proc_4word_tx_status() argument 522 ts->ts_rssi = AR5K_REG_MS(txstat1, in ath5k_hw_proc_4word_tx_status() 524 ts->ts_antenna = (txstat1 & in ath5k_hw_proc_4word_tx_status() 526 ts->ts_status = 0; in ath5k_hw_proc_4word_tx_status() [all …]
|
/openbmc/qemu/util/ |
H A D | throttle.c | 65 ts->previous_leak = now; in throttle_do_leak() 183 throttle_do_leak(ts, now); in throttle_compute_timer() 228 void throttle_init(ThrottleState *ts) in throttle_init() argument 230 memset(ts, 0, sizeof(ThrottleState)); in throttle_init() 231 throttle_config_init(&ts->cfg); in throttle_init() 396 void throttle_config(ThrottleState *ts, in throttle_config() argument 402 ts->cfg = *cfg; in throttle_config() 406 ts->cfg.buckets[i].level = 0; in throttle_config() 420 *cfg = ts->cfg; in throttle_get_config() 445 must_wait = throttle_compute_timer(ts, in throttle_schedule_timer() [all …]
|
/openbmc/linux/drivers/net/phy/ |
H A D | bcm-phy-ptp.c | 219 struct timespec64 *ts, in bcm_ptp_framesync_ts() argument 249 struct timespec64 *ts, in bcm_ptp_gettimex() argument 279 ns = timespec64_to_ns(ts); in bcm_ptp_settime_locked() 311 struct timespec64 ts; in bcm_ptp_adjtime_locked() local 318 ts = ns_to_timespec64(ns); in bcm_ptp_adjtime_locked() 422 u16 ts[4], reg; in bcm_ptp_get_tstamp() local 452 sec = (ts[3] << 16) | ts[2]; in bcm_ptp_get_tstamp() 453 nsec = (ts[1] << 16) | ts[0]; in bcm_ptp_get_tstamp() 541 struct timespec64 ts; in bcm_ptp_perout_work() local 558 ts.tv_nsec = 0; in bcm_ptp_perout_work() [all …]
|
/openbmc/linux/arch/csky/kernel/vdso/ |
H A D | vgettimeofday.c | 8 struct old_timespec32 *ts); 10 struct old_timespec32 *ts) in __vdso_clock_gettime() argument 12 return __cvdso_clock_gettime32(clock, ts); in __vdso_clock_gettime() 16 struct __kernel_timespec *ts); 18 struct __kernel_timespec *ts) in __vdso_clock_gettime64() argument 20 return __cvdso_clock_gettime(clock, ts); in __vdso_clock_gettime64()
|
/openbmc/linux/drivers/net/wireless/ath/ath11k/ |
H A D | dp_tx.c | 332 ts->msdu_id); in ath11k_dp_tx_htt_tx_complete_buf() 353 if (ts->acked) { in ath11k_dp_tx_htt_tx_complete_buf() 357 ts->ack_rssi; in ath11k_dp_tx_htt_tx_complete_buf() 370 ts->peer_id); in ath11k_dp_tx_htt_tx_complete_buf() 402 ts.msdu_id = msdu_id; in ath11k_dp_tx_process_htt_tx_complete() 476 ts->rate_stats); in ath11k_dp_tx_update_txcompl() 478 ts->rate_stats); in ath11k_dp_tx_update_txcompl() 588 ts->ack_rssi; in ath11k_dp_tx_complete_msdu() 625 ts->peer_id); in ath11k_dp_tx_complete_msdu() 651 ts->buf_rel_source = in ath11k_dp_tx_status_parse() [all …]
|
/openbmc/linux/scripts/ |
H A D | generate_rust_target.rs | 148 let mut ts = TargetSpec::new(); in main() localVariable 152 ts.push("arch", "x86_64"); in main() 153 ts.push( in main() 161 ts.push("features", features); in main() 162 ts.push("llvm-target", "x86_64-linux-gnu"); in main() 163 ts.push("target-pointer-width", "64"); in main() 168 ts.push("emit-debug-gdb-scripts", false); in main() 169 ts.push("frame-pointer", "may-omit"); in main() 170 ts.push( in main() 178 ts.push("target-endian", "big"); in main() [all …]
|
/openbmc/linux/arch/arm64/include/asm/vdso/ |
H A D | compat_gettimeofday.h | 41 register struct __kernel_timespec *ts asm("r1") = _ts; in clock_gettime_fallback() 49 : "r" (clkid), "r" (ts), "r" (nr) in clock_gettime_fallback() 58 register struct old_timespec32 *ts asm("r1") = _ts; in clock_gettime32_fallback() 66 : "r" (clkid), "r" (ts), "r" (nr) in clock_gettime32_fallback() 75 register struct __kernel_timespec *ts asm("r1") = _ts; in clock_getres_fallback() 83 : "r" (clkid), "r" (ts), "r" (nr) in clock_getres_fallback() 92 register struct old_timespec32 *ts asm("r1") = _ts; in clock_getres32_fallback() 100 : "r" (clkid), "r" (ts), "r" (nr) in clock_getres32_fallback()
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | goodix.h | 72 int (*check_config)(struct goodix_ts_data *ts, const u8 *cfg, int len); 73 void (*calc_config_checksum)(struct goodix_ts_data *ts); 112 int goodix_send_cfg(struct goodix_ts_data *ts, const u8 *cfg, int len); 113 int goodix_int_sync(struct goodix_ts_data *ts); 114 int goodix_reset_no_int_sync(struct goodix_ts_data *ts); 116 int goodix_firmware_check(struct goodix_ts_data *ts); 117 bool goodix_handle_fw_request(struct goodix_ts_data *ts); 118 void goodix_save_bak_ref(struct goodix_ts_data *ts);
|
H A D | tsc2007_iio.c | 12 struct tsc2007 *ts; member 42 struct tsc2007 *tsc = iio->ts; in tsc2007_read_raw() 106 int tsc2007_iio_configure(struct tsc2007 *ts) in tsc2007_iio_configure() argument 112 indio_dev = devm_iio_device_alloc(&ts->client->dev, sizeof(*iio)); in tsc2007_iio_configure() 114 dev_err(&ts->client->dev, "iio_device_alloc failed\n"); in tsc2007_iio_configure() 119 iio->ts = ts; in tsc2007_iio_configure() 127 error = devm_iio_device_register(&ts->client->dev, indio_dev); in tsc2007_iio_configure() 129 dev_err(&ts->client->dev, in tsc2007_iio_configure()
|
/openbmc/linux/arch/mips/vdso/ |
H A D | vgettimeofday.c | 15 struct old_timespec32 *ts) in __vdso_clock_gettime() argument 17 return __cvdso_clock_gettime32(clock, ts); in __vdso_clock_gettime() 43 struct __kernel_timespec *ts) in __vdso_clock_gettime64() argument 45 return __cvdso_clock_gettime(clock, ts); in __vdso_clock_gettime64() 51 struct __kernel_timespec *ts) in __vdso_clock_gettime() argument 53 return __cvdso_clock_gettime(clock, ts); in __vdso_clock_gettime()
|
/openbmc/qemu/hw/display/ |
H A D | tcx.c | 214 TCXState *ts = opaque; in tcx_update_display() local 226 s = ts->vram; in tcx_update_display() 239 tcx_draw_line32(ts, d, s, ts->width); in tcx_update_display() 240 if (y >= ts->cursy && y < ts->cursy + 32 && ts->cursx < ts->width) { in tcx_update_display() 241 tcx_draw_cursor32(ts, d, y, ts->width); in tcx_update_display() 277 s = ts->vram; in tcx24_update_display() 278 s24 = ts->vram24; in tcx24_update_display() 279 cptr = ts->cplane; in tcx24_update_display() 292 tcx24_draw_line32(ts, d, s, ts->width, cptr, s24); in tcx24_update_display() 293 if (y >= ts->cursy && y < ts->cursy+32 && ts->cursx < ts->width) { in tcx24_update_display() [all …]
|
/openbmc/linux/tools/testing/selftests/ptp/ |
H A D | testptp.c | 159 struct timespec ts; in main() local 368 if (clock_gettime(clkid, &ts)) { in main() 372 ts.tv_sec, ts.tv_nsec, ctime(&ts.tv_sec)); in main() 378 if (clock_settime(clkid, &ts)) { in main() 386 clock_gettime(clkid, &ts); in main() 395 ts.tv_sec = seconds; in main() 396 ts.tv_nsec = 0; in main() 534 pct = &sysoff->ts[0]; in main() 573 i, soe->ts[i][0].sec, soe->ts[i][0].nsec); in main() 575 soe->ts[i][1].sec, soe->ts[i][1].nsec); in main() [all …]
|
/openbmc/openbmc/meta-arm/ci/ |
H A D | qemuarm64-secureboot-ts.yml | 10 MACHINE_FEATURES:append = " arm-ffa ts-crypto ts-storage ts-its ts-smm-gateway" 12 IMAGE_INSTALL:append = " packagegroup-ts-tests" 14 IMAGE_INSTALL:append = " packagegroup-ts-tests-psa"
|
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_ptp.c | 273 struct timespec64 *ts, in sparx5_get_hwtimestamp() argument 293 ts->tv_nsec = nsec; in sparx5_get_hwtimestamp() 297 ts->tv_sec--; in sparx5_get_hwtimestamp() 311 struct timespec64 ts; in sparx5_ptp_irq_handler() local 382 shhwtstamps.hwtstamp = ktime_set(ts.tv_sec, ts.tv_nsec); in sparx5_ptp_irq_handler() 548 struct timespec64 ts; in sparx5_ptp_adjtime() local 666 struct timespec64 ts; in sparx5_ptp_rxtstamp() local 675 if (ts.tv_nsec < timestamp) in sparx5_ptp_rxtstamp() 676 ts.tv_sec--; in sparx5_ptp_rxtstamp() 677 ts.tv_nsec = timestamp; in sparx5_ptp_rxtstamp() [all …]
|
/openbmc/linux/samples/bpf/ |
H A D | lathist_kern.c | 32 u64 *ts = bpf_map_lookup_elem(&my_map, &cpu); in bpf_prog1() local 34 if (ts) in bpf_prog1() 35 *ts = bpf_ktime_get_ns(); in bpf_prog1() 74 u64 *ts, cur_ts, delta; in bpf_prog2() local 79 ts = bpf_map_lookup_elem(&my_map, &cpu); in bpf_prog2() 80 if (!ts) in bpf_prog2() 84 delta = log2l(cur_ts - *ts); in bpf_prog2()
|
/openbmc/linux/arch/powerpc/kernel/vdso/ |
H A D | vgettimeofday.c | 9 int __c_kernel_clock_gettime(clockid_t clock, struct __kernel_timespec *ts, in __c_kernel_clock_gettime() argument 12 return __cvdso_clock_gettime_data(vd, clock, ts); in __c_kernel_clock_gettime() 21 int __c_kernel_clock_gettime(clockid_t clock, struct old_timespec32 *ts, in __c_kernel_clock_gettime() argument 24 return __cvdso_clock_gettime32_data(vd, clock, ts); in __c_kernel_clock_gettime() 27 int __c_kernel_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts, in __c_kernel_clock_gettime64() argument 30 return __cvdso_clock_gettime_data(vd, clock, ts); in __c_kernel_clock_gettime64()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | clock.c | 272 if (ts->tv_sec < 0 || ts->tv_sec > U32_MAX || in mlx5_ptp_settime_real_time() 273 ts->tv_nsec < 0 || ts->tv_nsec > NSEC_PER_SEC) in mlx5_ptp_settime_real_time() 308 struct timespec64 ts; in mlx5_ptp_gettimex_real_time() local 313 return ts; in mlx5_ptp_gettimex_real_time() 530 ts.tv_sec = sec; in perout_conf_internal_timer() 544 struct timespec64 ts; in perout_conf_1pps() local 567 struct timespec64 ts; in mlx5_perout_conf_out_pulse_duration() local 600 struct timespec64 ts; in perout_conf_npps_real_time() local 868 ts->tv_sec += 1; in ts_next_sec() 869 ts->tv_nsec = 0; in ts_next_sec() [all …]
|
/openbmc/linux/sound/soc/meson/ |
H A D | axg-tdm.h | 64 void axg_tdm_stream_free(struct axg_tdm_stream *ts); 65 int axg_tdm_stream_start(struct axg_tdm_stream *ts); 66 void axg_tdm_stream_stop(struct axg_tdm_stream *ts); 68 static inline int axg_tdm_stream_reset(struct axg_tdm_stream *ts) in axg_tdm_stream_reset() argument 70 axg_tdm_stream_stop(ts); in axg_tdm_stream_reset() 71 return axg_tdm_stream_start(ts); in axg_tdm_stream_reset()
|