Home
last modified time | relevance | path

Searched refs:ts (Results 251 – 275 of 1191) sorted by relevance

1...<<11121314151617181920>>...48

/openbmc/linux/fs/
H A Dselect.c278 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 Dinv_icm42600_buffer.c279 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/drivers/ptp/
H A Dptp_clockmatrix.c106 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/linux-user/arm/
H A Dcpu_loop.c266 TaskState *ts = env_cpu(env)->opaque; in emulate_arm_fpa11() local
267 int rc = EmulateAll(opcode, &ts->fpa, env); in emulate_arm_fpa11()
302 enabled = ts->fpa.fpsr >> 16; in emulate_arm_fpa11()
303 ts->fpa.fpsr |= raise & ~enabled; in emulate_arm_fpa11()
517 TaskState *ts = cpu->opaque; in target_cpu_copy_regs() local
518 struct image_info *info = ts->info; in target_cpu_copy_regs()
538 ts->stack_base = info->start_stack; in target_cpu_copy_regs()
539 ts->heap_base = info->brk; in target_cpu_copy_regs()
541 ts->heap_limit = 0; in target_cpu_copy_regs()
/openbmc/linux/Documentation/devicetree/bindings/hwmon/
H A Dmoortec,mr75203.yaml52 - 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/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_ptp.c143 *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 Dst_lsm6dsx_buffer.c359 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/qemu/fsdev/
H A Dqemu-fsdev-throttle.c84 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 Dnx_huge_pages_test.c100 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 Dcyttsp4_spi.c148 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 Dcyttsp_spi.c142 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/pps/clients/
H A Dpps-ktimer.c30 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 Draspberrypi,firmware-ts.txt5 - compatible: "raspberrypi,firmware-ts"
21 ts: touchscreen {
22 compatible = "raspberrypi,firmware-ts";
/openbmc/linux/include/linux/
H A Dposix-clock.h43 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 Dptp_clock_kernel.h180 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 Digc_ptp.c33 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/linux/drivers/net/wireless/ath/ath12k/
H A Ddp_tx.c373 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/qemu/hw/s390x/
H A Dtod.c44 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/fs/fat/
H A Dnamei_vfat.c581 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 Dxdp_hw_metadata.c191 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/net/phy/
H A Dnxp-c45-tja11xx.c390 struct timespec64 *ts, in _nxp_c45_ptp_gettimex64() argument
410 struct timespec64 *ts, in nxp_c45_ptp_gettimex64() argument
429 ts->tv_nsec); in _nxp_c45_ptp_settime64()
431 ts->tv_nsec >> 16); in _nxp_c45_ptp_settime64()
433 ts->tv_sec); in _nxp_c45_ptp_settime64()
435 ts->tv_sec >> 16); in _nxp_c45_ptp_settime64()
502 ts->tv_nsec = hwts->nsec; in nxp_c45_reconstruct_ts()
505 ts->tv_sec &= ~TS_SEC_MASK; in nxp_c45_reconstruct_ts()
671 struct timespec64 ts; in nxp_c45_process_txts() local
710 struct timespec64 ts; in nxp_c45_do_aux_work() local
[all …]
/openbmc/linux/drivers/pps/
H A Dkc.c99 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 Dleapcrash.c61 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 Dpid.c59 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 Ddslm.c60 char *ts = ctime(&time); in myctime() local
61 ts[strlen(ts) - 1] = 0; in myctime()
63 return ts; in myctime()

1...<<11121314151617181920>>...48