/openbmc/qemu/linux-user/ |
H A D | linuxload.c | 92 TaskState *ts = get_task_state(thread_cpu); 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/linux/fs/ |
H A D | select.c | 278 if (!timespec64_valid(&ts)) in poll_select_set_timeout() 743 if (get_timespec64(&ts, tsp)) in do_pselect() 755 if (poll_select_set_timeout(to, ts.tv_sec, ts.tv_nsec)) in do_pselect() 1109 if (get_timespec64(&ts, tsp)) in SYSCALL_DEFINE5() 1113 if (poll_select_set_timeout(to, ts.tv_sec, ts.tv_nsec)) in SYSCALL_DEFINE5() 1139 if (poll_select_set_timeout(to, ts.tv_sec, ts.tv_nsec)) in SYSCALL_DEFINE5() 1328 if (get_timespec64(&ts, tsp)) in do_compat_pselect() 1336 if (poll_select_set_timeout(to, ts.tv_sec, ts.tv_nsec)) in do_compat_pselect() 1411 if (poll_select_set_timeout(to, ts.tv_sec, ts.tv_nsec)) in COMPAT_SYSCALL_DEFINE5() 1433 if (get_timespec64(&ts, tsp)) in COMPAT_SYSCALL_DEFINE5() [all …]
|
/openbmc/linux/drivers/iio/imu/inv_icm42600/ |
H A D | inv_icm42600_buffer.c | 279 struct inv_sensors_timestamp *ts = iio_priv(indio_dev); in inv_icm42600_buffer_preenable() local 284 inv_sensors_timestamp_reset(ts); in inv_icm42600_buffer_preenable() 508 struct inv_sensors_timestamp *ts; in inv_icm42600_buffer_fifo_parse() local 515 ts = iio_priv(st->indio_gyro); in inv_icm42600_buffer_fifo_parse() 516 inv_sensors_timestamp_interrupt(ts, st->fifo.period, st->fifo.nb.total, in inv_icm42600_buffer_fifo_parse() 525 ts = iio_priv(st->indio_accel); in inv_icm42600_buffer_fifo_parse() 540 struct inv_sensors_timestamp *ts; in inv_icm42600_buffer_hwfifo_flush() local 555 ts = iio_priv(st->indio_gyro); in inv_icm42600_buffer_hwfifo_flush() 556 inv_sensors_timestamp_interrupt(ts, st->fifo.period, in inv_icm42600_buffer_hwfifo_flush() 565 ts = iio_priv(st->indio_accel); in inv_icm42600_buffer_hwfifo_flush() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/hwmon/ |
H A D | moortec,mr75203.yaml | 52 - const: ts 94 moortec,ts-series: 103 moortec,ts-coeff-g: 112 moortec,ts-coeff-h: 121 moortec,ts-coeff-cal5: 129 moortec,ts-coeff-j: 155 reg-names = "common", "ts", "pd", "vm"; 161 moortec,ts-coeff-g = <61400>; 162 moortec,ts-coeff-h = <253700>;
|
/openbmc/qemu/linux-user/arm/ |
H A D | cpu_loop.c | 267 TaskState *ts = get_task_state(env_cpu(env)); in emulate_arm_fpa11() local 268 int rc = EmulateAll(opcode, &ts->fpa, env); in emulate_arm_fpa11() 303 enabled = ts->fpa.fpsr >> 16; in emulate_arm_fpa11() 304 ts->fpa.fpsr |= raise & ~enabled; in emulate_arm_fpa11() 518 TaskState *ts = get_task_state(cpu); in target_cpu_copy_regs() local 519 struct image_info *info = ts->info; in target_cpu_copy_regs() 539 ts->stack_base = info->start_stack; in target_cpu_copy_regs() 540 ts->heap_base = info->brk; in target_cpu_copy_regs() 542 ts->heap_limit = 0; in target_cpu_copy_regs()
|
/openbmc/linux/drivers/ptp/ |
H A D | ptp_clockmatrix.c | 106 struct timespec64 *ts) in char_array_to_timespec() argument 128 ts->tv_sec = sec; in char_array_to_timespec() 129 ts->tv_nsec = nsec; in char_array_to_timespec() 145 nsec = ts->tv_nsec; in timespec_to_char_array() 146 sec = ts->tv_sec; in timespec_to_char_array() 399 struct timespec64 *ts) in _idtcm_gettime_triggered() argument 461 struct timespec64 ts; in idtcm_extts_check_channel() local 485 struct timespec64 *ts) in _idtcm_gettime_immediate() argument 1036 struct timespec64 ts; in _idtcm_adjtime_deprecated() local 1055 ts = ns_to_timespec64(now); in _idtcm_adjtime_deprecated() [all …]
|
/openbmc/qemu/fsdev/ |
H A D | qemu-fsdev-throttle.c | 84 throttle_init(&fst->ts); in fsdev_throttle_init() 91 throttle_config(&fst->ts, QEMU_CLOCK_REALTIME, &fst->cfg); in fsdev_throttle_init() 103 if (throttle_schedule_timer(&fst->ts, &fst->tt, direction) || in fsdev_co_throttle_request() 108 throttle_account(&fst->ts, direction, iov_size(iov, iovcnt)); in fsdev_co_throttle_request() 111 !throttle_schedule_timer(&fst->ts, &fst->tt, direction)) { in fsdev_co_throttle_request()
|
/openbmc/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | nx_huge_pages_test.c | 100 struct timespec ts; in wait_for_reclaim() local 103 ts.tv_sec = reclaim_wait_ms / 1000; in wait_for_reclaim() 104 ts.tv_nsec = (reclaim_wait_ms - (ts.tv_sec * 1000)) * 1000000; in wait_for_reclaim() 105 nanosleep(&ts, NULL); in wait_for_reclaim()
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | cyttsp4_spi.c | 148 struct cyttsp4 *ts; in cyttsp4_spi_probe() local 161 ts = cyttsp4_probe(&cyttsp_spi_bus_ops, &spi->dev, spi->irq, in cyttsp4_spi_probe() 164 return PTR_ERR_OR_ZERO(ts); in cyttsp4_spi_probe() 169 struct cyttsp4 *ts = spi_get_drvdata(spi); in cyttsp4_spi_remove() local 170 cyttsp4_remove(ts); in cyttsp4_spi_remove()
|
H A D | cyttsp_spi.c | 142 struct cyttsp *ts; in cyttsp_spi_probe() local 155 ts = cyttsp_probe(&cyttsp_spi_bus_ops, &spi->dev, spi->irq, in cyttsp_spi_probe() 157 if (IS_ERR(ts)) in cyttsp_spi_probe() 158 return PTR_ERR(ts); in cyttsp_spi_probe() 160 spi_set_drvdata(spi, ts); in cyttsp_spi_probe()
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_ptp.c | 143 *ts = ns_to_timespec64(ns); in hclge_ptp_gettimex() 149 const struct timespec64 *ts) in hclge_ptp_settime() argument 156 writel(ts->tv_sec >> HCLGE_PTP_SEC_H_OFFSET, in hclge_ptp_settime() 158 writel(ts->tv_sec & HCLGE_PTP_SEC_L_MASK, in hclge_ptp_settime() 182 struct timespec64 ts; in hclge_ptp_adjtime() local 185 hclge_ptp_gettimex(ptp, &ts, NULL); in hclge_ptp_adjtime() 186 ns = timespec64_to_ns(&ts); in hclge_ptp_adjtime() 188 ts = ns_to_timespec64(ns); in hclge_ptp_adjtime() 189 return hclge_ptp_settime(ptp, &ts); in hclge_ptp_adjtime() 474 struct timespec64 ts; in hclge_ptp_init() local [all …]
|
/openbmc/linux/drivers/iio/imu/st_lsm6dsx/ |
H A D | st_lsm6dsx_buffer.c | 359 s64 ts = 0; in st_lsm6dsx_read_fifo() local 452 if (!reset_ts && ts >= 0xff0000) in st_lsm6dsx_read_fifo() 454 ts *= hw->ts_gain; in st_lsm6dsx_read_fifo() 470 gyro_sensor->ts_ref + ts); in st_lsm6dsx_read_fifo() 484 acc_sensor->ts_ref + ts); in st_lsm6dsx_read_fifo() 491 ext_sensor->ts_ref + ts); in st_lsm6dsx_read_fifo() 512 u8 *data, s64 ts) in st_lsm6dsx_push_tagged_data() argument 559 ts + sensor->ts_ref); in st_lsm6dsx_push_tagged_data() 587 s64 ts = 0; in st_lsm6dsx_read_tagged_fifo() local 638 ts *= hw->ts_gain; in st_lsm6dsx_read_tagged_fifo() [all …]
|
/openbmc/linux/drivers/pps/clients/ |
H A D | pps-ktimer.c | 30 struct pps_event_time ts; in pps_ktimer_event() local 33 pps_get_ts(&ts); in pps_ktimer_event() 35 pps_event(pps, &ts, PPS_CAPTUREASSERT, NULL); in pps_ktimer_event()
|
/openbmc/linux/Documentation/devicetree/bindings/input/touchscreen/ |
H A D | raspberrypi,firmware-ts.txt | 5 - compatible: "raspberrypi,firmware-ts" 21 ts: touchscreen { 22 compatible = "raspberrypi,firmware-ts";
|
/openbmc/linux/include/linux/ |
H A D | posix-clock.h | 43 int (*clock_gettime)(struct posix_clock *pc, struct timespec64 *ts); 45 int (*clock_getres) (struct posix_clock *pc, struct timespec64 *ts); 48 const struct timespec64 *ts);
|
H A D | ptp_clock_kernel.h | 180 int (*gettime64)(struct ptp_clock_info *ptp, struct timespec64 *ts); 181 int (*gettimex64)(struct ptp_clock_info *ptp, struct timespec64 *ts, 185 int (*settime64)(struct ptp_clock_info *p, const struct timespec64 *ts); 186 int (*getcycles64)(struct ptp_clock_info *ptp, struct timespec64 *ts); 187 int (*getcyclesx64)(struct ptp_clock_info *ptp, struct timespec64 *ts,
|
/openbmc/linux/drivers/net/ethernet/intel/igc/ |
H A D | igc_ptp.c | 33 ts->tv_sec = sec; in igc_ptp_read() 34 ts->tv_nsec = nsec; in igc_ptp_read() 42 wr32(IGC_SYSTIML, ts->tv_nsec); in igc_ptp_write_i225() 43 wr32(IGC_SYSTIMH, ts->tv_sec); in igc_ptp_write_i225() 91 struct timespec64 *ts, in igc_ptp_gettimex64_i225() argument 103 ts->tv_sec = rd32(IGC_SYSTIMH); in igc_ptp_gettimex64_i225() 112 const struct timespec64 *ts) in igc_ptp_settime_i225() argument 120 igc_ptp_write_i225(igc, ts); in igc_ptp_settime_i225() 252 struct timespec64 ts; in igc_ptp_feature_enable_i225() local 314 ns = timespec64_to_ns(&ts); in igc_ptp_feature_enable_i225() [all …]
|
/openbmc/qemu/hw/s390x/ |
H A D | tod.c | 44 static S390TODState *ts; in s390_get_todstate() local 46 if (!ts) { in s390_get_todstate() 47 ts = S390_TOD(object_resolve_path_type("", TYPE_S390_TOD, NULL)); in s390_get_todstate() 50 return ts; in s390_get_todstate()
|
/openbmc/linux/drivers/net/wireless/ath/ath12k/ |
H A D | dp_tx.c | 373 struct ath12k_dp_htt_wbm_tx_status *ts) in ath12k_dp_tx_htt_tx_complete_buf() argument 394 if (ts->acked) { in ath12k_dp_tx_htt_tx_complete_buf() 398 ts->ack_rssi; in ath12k_dp_tx_htt_tx_complete_buf() 449 struct hal_tx_status *ts) in ath12k_dp_tx_complete_msdu() argument 489 ts->ack_rssi; in ath12k_dp_tx_complete_msdu() 510 struct hal_tx_status *ts) in ath12k_dp_tx_status_parse() argument 512 ts->buf_rel_source = in ath12k_dp_tx_status_parse() 521 ts->status = le32_get_bits(desc->info0, in ath12k_dp_tx_status_parse() 524 ts->ppdu_id = le32_get_bits(desc->info1, in ath12k_dp_tx_status_parse() 529 ts->rate_stats = 0; in ath12k_dp_tx_status_parse() [all …]
|
/openbmc/linux/fs/fat/ |
H A D | namei_vfat.c | 581 struct timespec64 *ts, in vfat_build_slots() argument 765 struct timespec64 ts; in vfat_create() local 770 ts = current_time(dir); in vfat_create() 853 struct timespec64 ts; in vfat_mkdir() local 858 ts = current_time(dir); in vfat_mkdir() 859 cluster = fat_alloc_new_dir(dir, &ts); in vfat_mkdir() 938 struct timespec64 ts; in vfat_rename() local 958 ts = current_time(old_dir); in vfat_rename() 969 &ts, &sinfo); in vfat_rename() 996 vfat_update_dir_metadata(old_dir, &ts); in vfat_rename() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | xdp_hw_metadata.c | 191 struct scm_timestamping *ts; in verify_skb_metadata() local 216 ts = (struct scm_timestamping *)CMSG_DATA(cmsg); in verify_skb_metadata() 217 if (ts->ts[2].tv_sec || ts->ts[2].tv_nsec) { in verify_skb_metadata() 219 ts->ts[2].tv_sec, ts->ts[2].tv_nsec); in verify_skb_metadata()
|
/openbmc/linux/drivers/pps/ |
H A D | kc.c | 99 void pps_kc_event(struct pps_device *pps, struct pps_event_time *ts, in pps_kc_event() argument 107 hardpps(&ts->ts_real, &ts->ts_raw); in pps_kc_event()
|
/openbmc/linux/tools/testing/selftests/timers/ |
H A D | leapcrash.c | 61 struct timespec ts; in main() local 75 clock_gettime(CLOCK_REALTIME, &ts); in main() 78 next_leap = ts.tv_sec; in main()
|
/openbmc/linux/tools/thermal/tmon/ |
H A D | pid.c | 59 p_param.ts = ticktime; in init_thermal_controller() 101 i_term = p_param.kp * p_param.ki * p_param.ts * ek; in controller_handler() 102 d_term = -p_param.kp * p_param.kd * (xk - 2 * xk_1 + xk_2) / p_param.ts; in controller_handler()
|
/openbmc/linux/tools/laptop/dslm/ |
H A D | dslm.c | 60 char *ts = ctime(&time); in myctime() local 61 ts[strlen(ts) - 1] = 0; in myctime() 63 return ts; in myctime()
|