Home
last modified time | relevance | path

Searched refs:ts (Results 51 – 75 of 1190) sorted by relevance

12345678910>>...48

/openbmc/openbmc/meta-arm/meta-arm/recipes-security/optee/
H A Doptee-os-ts.inc7 require recipes-security/trusted-services/ts-uuid.inc
13 DEPENDS:append = "${@bb.utils.contains('MACHINE_FEATURES', 'ts-its', \
14 ' ts-sp-its', '' , d)}"
15 SP_PATHS:append = "${@bb.utils.contains('MACHINE_FEATURES', 'ts-its', \
20 ' ts-sp-storage', '' , d)}"
26 ' ts-sp-crypto', '' , d)}"
32 ' ts-sp-attestation', '' , d)}"
38 ' ts-sp-env-test', '' , d)}"
44 ' ts-sp-se-proxy', '' , d)}"
50 ' ts-sp-smm-gateway', '' , d)}"
[all …]
/openbmc/linux/drivers/input/keyboard/
H A Dqt1050.c274 changed &= ts->reg_keys; in qt1050_irq_threaded()
280 ts->last_keys = new_keys; in qt1050_irq_threaded()
430 struct qt1050_priv *ts; in qt1050_probe() local
450 ts = devm_kzalloc(dev, sizeof(*ts), GFP_KERNEL); in qt1050_probe()
451 if (!ts) in qt1050_probe()
462 ts->client = client; in qt1050_probe()
463 ts->input = input; in qt1050_probe()
464 ts->regmap = map; in qt1050_probe()
469 if (!qt1050_identify(ts)) in qt1050_probe()
490 ts->keycodes[i] = ts->keys[i].keycode; in qt1050_probe()
[all …]
/openbmc/qemu/tests/unit/
H A Dptimer-test-stubs.c46 ts->cb = cb; in timer_init_full()
47 ts->opaque = opaque; in timer_init_full()
48 ts->scale = scale; in timer_init_full()
50 ts->expire_time = -1; in timer_init_full()
59 if (t->next == ts) { in timer_mod()
66 ts->expire_time = MAX(expire_time * ts->scale, 0); in timer_mod()
67 ts->next = NULL; in timer_mod()
68 t->next = ts; in timer_mod()
71 void timer_del(QEMUTimer *ts) in timer_del() argument
77 if (t->next == ts) { in timer_del()
[all …]
H A Dtest-throttle.c30 static ThrottleState ts; variable
162 memset(&ts, 1, sizeof(ts)); in test_init()
166 throttle_init(&ts); in test_init()
194 memset(&ts, 1, sizeof(ts)); in test_init_readonly()
198 throttle_init(&ts); in test_init_readonly()
226 memset(&ts, 1, sizeof(ts)); in test_init_writeonly()
230 throttle_init(&ts); in test_init_writeonly()
254 throttle_init(&ts); in test_destroy()
295 throttle_init(&ts); in test_config_functions()
565 memset(&ts, 0, sizeof(ts)); in test_have_timer()
[all …]
/openbmc/linux/drivers/thermal/tegra/
H A Dsoctherm.c303 struct tegra_soctherm *ts; member
588 struct tegra_soctherm *ts = zone->ts; in tegra_thermctl_set_trip_temp() local
1071 if (!ts) in soctherm_edp_isr()
1435 if (ts->soc->use_ccroc) { in regs_show()
1623 if (ts->soc->use_ccroc && in soctherm_throt_cfg_parse()
1663 ts->throt_cfgs[i].id = i; in soctherm_init_hw_throt_cdev()
1703 (char *)name, ts, in soctherm_init_hw_throt_cdev()
1912 if (ts->soc->use_ccroc) in soctherm_throttle_program()
1941 if (ts->soc->use_ccroc) { in tegra_soctherm_throttle()
1952 if (ts->soc->use_ccroc) { in tegra_soctherm_throttle()
[all …]
/openbmc/linux/drivers/input/touchscreen/
H A Draspberrypi-ts.c106 ts->known_ids = modified_ids; in rpi_ts_poll()
114 struct rpi_ts *ts = data; in rpi_ts_dma_cleanup() local
117 dma_free_coherent(dev, PAGE_SIZE, ts->fw_regs_va, ts->fw_regs_phys); in rpi_ts_dma_cleanup()
127 struct rpi_ts *ts; in rpi_ts_probe() local
142 ts = devm_kzalloc(dev, sizeof(*ts), GFP_KERNEL); in rpi_ts_probe()
143 if (!ts) in rpi_ts_probe()
145 ts->pdev = pdev; in rpi_ts_probe()
147 ts->fw_regs_va = dma_alloc_coherent(dev, PAGE_SIZE, &ts->fw_regs_phys, in rpi_ts_probe()
149 if (!ts->fw_regs_va) { in rpi_ts_probe()
174 ts->input = input; in rpi_ts_probe()
[all …]
H A Drohm_bu21023.c604 memset(ts->contact_count, 0, sizeof(ts->contact_count)); in rohm_ts_soft_irq()
760 if (ts->initialized) in swap_xy_store()
762 ts->setup2); in swap_xy_store()
795 ts->setup2 |= INV_X; in inv_x_store()
799 if (ts->initialized) in inv_x_store()
801 ts->setup2); in inv_x_store()
838 if (ts->initialized) in inv_y_store()
840 ts->setup2); in inv_y_store()
1121 if (!ts) in rohm_bu21023_i2c_probe()
1124 ts->client = client; in rohm_bu21023_i2c_probe()
[all …]
/openbmc/telemetry/src/utils/
H A Dconversion_trigger.cpp10 namespace ts = utils::tstring;
50 labeledThresholdParam.at_label<ts::DwellTime>(), in operator ()()
63 labeledThresholdParam.at_label<ts::UserId>(), in operator ()()
65 labeledThresholdParam.at_label<ts::DwellTime>(), in operator ()()
75 val.at_label<ts::Metadata>()); in fromLabeledSensorsInfo()
82 namespace ts = utils::tstring; in fromLabeledThresholdParam()
104 paramUnpacked->at_label<ts::UserId>(), in fromLabeledThresholdParam()
106 paramUnpacked->at_label<ts::DwellTime>(), in fromLabeledThresholdParam()
107 paramUnpacked->at_label<ts::ThresholdValue>()); in fromLabeledThresholdParam()
123 paramUnpacked->at_label<ts::DwellTime>(), in fromLabeledThresholdParam()
[all …]
/openbmc/linux/lib/vdso/
H A Dgettimeofday.c92 ts->tv_nsec = ns; in do_hres_timens()
159 ts->tv_nsec = ns; in do_hres()
190 ts->tv_nsec = nsec; in do_coarse_timens()
220 ts->tv_sec = vdso_ts->sec; in do_coarse()
221 ts->tv_nsec = vdso_ts->nsec; in do_coarse()
276 struct __kernel_timespec ts; in __cvdso_clock_gettime32_data() local
285 res->tv_sec = ts.tv_sec; in __cvdso_clock_gettime32_data()
286 res->tv_nsec = ts.tv_nsec; in __cvdso_clock_gettime32_data()
309 tv->tv_sec = ts.tv_sec; in __cvdso_gettimeofday_data()
428 res->tv_sec = ts.tv_sec; in __cvdso_clock_getres_time32_data()
[all …]
/openbmc/linux/fs/ntfs/
H A Dtime.h34 static inline sle64 utc2ntfs(const struct timespec64 ts) in utc2ntfs() argument
40 return cpu_to_sle64((s64)ts.tv_sec * 10000000 + ts.tv_nsec / 100 + in utc2ntfs()
52 struct timespec64 ts; in get_current_ntfs_time() local
54 ktime_get_coarse_real_ts64(&ts); in get_current_ntfs_time()
55 return utc2ntfs(ts); in get_current_ntfs_time()
76 struct timespec64 ts; in ntfs2utc() local
84 ts.tv_nsec = do_div(t, 10000000) * 100; in ntfs2utc()
85 ts.tv_sec = t; in ntfs2utc()
86 return ts; in ntfs2utc()
/openbmc/linux/fs/fat/
H A Dfat_test.c25 struct timespec64 ts; member
35 .ts = {.tv_sec = 315532800LL, .tv_nsec = 0L},
43 .ts = {.tv_sec = 4354819198LL, .tv_nsec = 0L},
51 .ts = {.tv_sec = 315493200LL, .tv_nsec = 0L},
134 struct timespec64 ts; in fat_time_fat2unix_test() local
141 fat_time_fat2unix(&fake_sb, &ts, in fat_time_fat2unix_test()
146 testcase->ts.tv_sec, in fat_time_fat2unix_test()
147 ts.tv_sec, in fat_time_fat2unix_test()
150 testcase->ts.tv_nsec, in fat_time_fat2unix_test()
151 ts.tv_nsec, in fat_time_fat2unix_test()
[all …]
/openbmc/linux/include/linux/
H A Dtime64.h92 static inline bool timespec64_valid(const struct timespec64 *ts) in timespec64_valid() argument
95 if (ts->tv_sec < 0) in timespec64_valid()
98 if ((unsigned long)ts->tv_nsec >= NSEC_PER_SEC) in timespec64_valid()
105 if (!timespec64_valid(ts)) in timespec64_valid_strict()
108 if ((unsigned long long)ts->tv_sec >= KTIME_SEC_MAX) in timespec64_valid_strict()
115 if (!timespec64_valid(ts)) in timespec64_valid_settod()
118 if ((unsigned long long)ts->tv_sec >= TIME_SETTOD_SEC_MAX) in timespec64_valid_settod()
130 static inline s64 timespec64_to_ns(const struct timespec64 *ts) in timespec64_to_ns() argument
133 if (ts->tv_sec >= KTIME_SEC_MAX) in timespec64_to_ns()
136 if (ts->tv_sec <= KTIME_SEC_MIN) in timespec64_to_ns()
[all …]
H A Dtimekeeping.h19 extern int do_settimeofday64(const struct timespec64 *ts);
41 extern void ktime_get_raw_ts64(struct timespec64 *ts);
42 extern void ktime_get_ts64(struct timespec64 *ts);
44 extern void ktime_get_coarse_ts64(struct timespec64 *ts);
47 void getboottime64(struct timespec64 *ts);
118 struct timespec64 ts; in ktime_get_coarse() local
120 ktime_get_coarse_ts64(&ts); in ktime_get_coarse()
121 return timespec64_to_ktime(ts); in ktime_get_coarse()
190 *ts = ktime_to_timespec64(ktime_get_boottime()); in ktime_get_boottime_ts64()
195 *ts = ktime_to_timespec64(ktime_get_coarse_boottime()); in ktime_get_coarse_boottime_ts64()
[all …]
H A Dpps_kernel.h89 struct pps_event_time *ts, int event, void *data);
94 struct timespec64 ts) in timespec_to_pps_ktime() argument
96 kt->sec = ts.tv_sec; in timespec_to_pps_ktime()
97 kt->nsec = ts.tv_nsec; in timespec_to_pps_ktime()
100 static inline void pps_get_ts(struct pps_event_time *ts) in pps_get_ts() argument
105 ts->ts_real = ktime_to_timespec64(snap.real); in pps_get_ts()
107 ts->ts_raw = ktime_to_timespec64(snap.raw); in pps_get_ts()
112 static inline void pps_sub_ts(struct pps_event_time *ts, struct timespec64 delta) in pps_sub_ts() argument
114 ts->ts_real = timespec64_sub(ts->ts_real, delta); in pps_sub_ts()
116 ts->ts_raw = timespec64_sub(ts->ts_raw, delta); in pps_sub_ts()
/openbmc/qemu/include/qemu/
H A Dtimer.h419 void timer_init_full(QEMUTimer *ts,
523 QEMUTimer *ts = g_new0(QEMUTimer, 1); in timer_new_full() local
525 return ts; in timer_new_full()
610 void timer_deinit(QEMUTimer *ts);
621 void timer_del(QEMUTimer *ts);
632 if (ts) { in timer_free()
633 timer_del(ts); in timer_free()
634 g_free(ts); in timer_free()
698 bool timer_pending(QEMUTimer *ts);
835 struct timespec ts; in get_clock() local
[all …]
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_vmlinux.c21 struct __kernel_timespec *ts; in handle__tp() local
27 ts = (void *)args->args[0]; in handle__tp()
28 if (bpf_probe_read_user(&tv_nsec, sizeof(ts->tv_nsec), &ts->tv_nsec) || in handle__tp()
39 struct __kernel_timespec *ts; in BPF_PROG() local
45 ts = (void *)PT_REGS_PARM1_CORE_SYSCALL(regs); in BPF_PROG()
46 if (bpf_probe_read_user(&tv_nsec, sizeof(ts->tv_nsec), &ts->tv_nsec) || in BPF_PROG()
57 struct __kernel_timespec *ts; in BPF_PROG() local
63 ts = (void *)PT_REGS_PARM1_CORE_SYSCALL(regs); in BPF_PROG()
64 if (bpf_probe_read_user(&tv_nsec, sizeof(ts->tv_nsec), &ts->tv_nsec) || in BPF_PROG()
/openbmc/linux/drivers/scsi/pm8001/
H A Dpm8001_hwi.c1570 t, pw->handler, ts->resp, ts->stat); in pm8001_work_fn()
1800 ts = &t->task_status; in mpi_ssp_completion()
1990 t, status, ts->resp, ts->stat); in mpi_ssp_completion()
2022 ts = &t->task_status; in mpi_ssp_event()
2030 ts->residual = 0; in mpi_ssp_event()
2157 t, event, ts->resp, ts->stat); in mpi_ssp_event()
2212 ts = &t->task_status; in mpi_sata_completion()
2533 t, status, ts->resp, ts->stat); in mpi_sata_completion()
2594 ts->residual = 0; in mpi_sata_event()
2772 ts->residual = 0; in mpi_smp_completion()
[all …]
H A Dpm80xx_hwi.c1822 ts = &t->task_status; in mpi_ssp_completion()
2069 t, status, ts->resp, ts->stat); in mpi_ssp_completion()
2100 ts = &t->task_status; in mpi_ssp_event()
2108 ts->residual = 0; in mpi_ssp_event()
2250 t, event, ts->resp, ts->stat); in mpi_ssp_event()
2302 ts = &t->task_status; in mpi_sata_completion()
2655 t, status, ts->resp, ts->stat); in mpi_sata_completion()
2712 ts = &t->task_status; in mpi_sata_event()
2720 ts->residual = 0; in mpi_sata_event()
2939 ts->residual = 0; in mpi_smp_completion()
[all …]
/openbmc/linux/include/linux/iio/common/
H A Dinv_sensors_timestamp.h67 void inv_sensors_timestamp_init(struct inv_sensors_timestamp *ts,
70 int inv_sensors_timestamp_update_odr(struct inv_sensors_timestamp *ts,
73 void inv_sensors_timestamp_interrupt(struct inv_sensors_timestamp *ts,
77 static inline int64_t inv_sensors_timestamp_pop(struct inv_sensors_timestamp *ts) in inv_sensors_timestamp_pop() argument
79 ts->timestamp += ts->period; in inv_sensors_timestamp_pop()
80 return ts->timestamp; in inv_sensors_timestamp_pop()
83 void inv_sensors_timestamp_apply_odr(struct inv_sensors_timestamp *ts,
87 static inline void inv_sensors_timestamp_reset(struct inv_sensors_timestamp *ts) in inv_sensors_timestamp_reset() argument
91 ts->it = interval_init; in inv_sensors_timestamp_reset()
92 ts->timestamp = 0; in inv_sensors_timestamp_reset()
/openbmc/qemu/block/
H A Dthrottle-groups.c157 ThrottleGroup *tg = container_of(ts, ThrottleGroup, ts); in throttle_group_unref()
184 ThrottleGroup *tg = container_of(ts, ThrottleGroup, ts); in throttle_group_next_tgm()
223 ThrottleGroup *tg = container_of(ts, ThrottleGroup, ts); in next_throttle_token()
271 ThrottleGroup *tg = container_of(ts, ThrottleGroup, ts); in throttle_group_schedule_timer()
324 ThrottleGroup *tg = container_of(ts, ThrottleGroup, ts); in schedule_next_request()
409 ThrottleGroup *tg = container_of(ts, ThrottleGroup, ts); in throttle_group_restart_queue_entry()
478 ThrottleGroup *tg = container_of(ts, ThrottleGroup, ts); in throttle_group_config()
496 ThrottleGroup *tg = container_of(ts, ThrottleGroup, ts); in throttle_group_get_config()
511 ThrottleGroup *tg = container_of(ts, ThrottleGroup, ts); in timer_cb()
549 ThrottleGroup *tg = container_of(ts, ThrottleGroup, ts); in throttle_group_register_tgm()
[all …]
/openbmc/linux/drivers/net/wireless/ath/
H A Ddfs_pri_detector.c37 u64 ts; member
214 p->ts = ts; in pulse_queue_enqueue()
217 pde->last_ts = ts; in pulse_queue_enqueue()
233 u32 delta_ts = ts - p->ts; in pseq_handler_create_sequences()
246 ps.first_ts = p->ts; in pseq_handler_create_sequences()
247 ps.last_ts = ts; in pseq_handler_create_sequences()
249 pde->rs->pri_max, ts - p->ts); in pseq_handler_create_sequences()
323 ps->last_ts = ts; in pseq_handler_add_to_existing_seqs()
371 pde->last_ts = ts; in pri_detector_reset()
386 u64 ts = event->ts; in pri_detector_add_pulse() local
[all …]
/openbmc/linux/Documentation/devicetree/bindings/bus/
H A Dts-nbus.txt7 - compatible : "technologic,ts-nbus"
12 - ts,csn-gpios : The GPIO pin connected to the csn line on the FPGA
13 - ts,txrx-gpios : The GPIO pin connected to the txrx line on the FPGA
15 - ts,ale-gpios : The GPIO pin connected to the ale line on the FPGA
26 compatible = "technologic,ts-nbus";
31 ts,data-gpios = <&gpio0 0 GPIO_ACTIVE_HIGH
39 ts,csn-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
40 ts,txrx-gpios = <&gpio0 24 GPIO_ACTIVE_HIGH>;
41 ts,strobe-gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>;
42 ts,ale-gpios = <&gpio0 26 GPIO_ACTIVE_HIGH>;
[all …]
/openbmc/linux/tools/testing/selftests/net/
H A Dcmsg_time.sh52 ts=$(ip netns exec $NS ./cmsg_sender -p $p $i 1234)
53 check_result $? "$ts" "" "$prot - no options"
55 ts=$(ip netns exec $NS ./cmsg_sender -p $p $i 1234 -t | wc -l)
56 check_result $? "$ts" "2" "$prot - ts cnt"
57 ts=$(ip netns exec $NS ./cmsg_sender -p $p $i 1234 -t |
59 check_result $? "$ts" "OK" "$prot - ts0 SCHED"
60 ts=$(ip netns exec $NS ./cmsg_sender -p $p $i 1234 -t |
62 check_result $? "$ts" "OK" "$prot - ts0 SND"
64 ts=$(ip netns exec $NS ./cmsg_sender -p $p $i 1234 -t -d 1000 |
66 check_result $? "$ts" "OK" "$prot - TXTIME abs"
[all …]
/openbmc/qemu/tcg/
H A Dtcg.c1551 return ts; in tcg_global_alloc()
1569 return ts; in tcg_global_reg_new_internal()
1637 return ts; in tcg_global_mem_new_internal()
1719 return ts; in tcg_temp_new_internal()
4145 if (ts->base_type != ts->type) { in temp_allocate_frame()
4153 ts -= ts->temp_subindex; in temp_allocate_frame()
4235 if (!temp_readonly(ts) && !ts->mem_coherent) { in temp_sync()
4245 && tcg_out_sti(s, ts->type, ts->val, in temp_sync()
4254 tcg_out_st(s, ts->type, ts->reg, in temp_sync()
4413 tcg_out_movi(s, ts->type, reg, ts->val); in temp_load()
[all …]
/openbmc/linux/kernel/time/
H A Dtime.c144 struct timespec64 ts; in SYSCALL_DEFINE2() local
228 struct timespec64 ts; in COMPAT_SYSCALL_DEFINE2() local
475 tv.tv_sec = ts.tv_sec; in ns_to_kernel_old_timeval()
512 ts->tv_sec = sec; in set_normalized_timespec64()
513 ts->tv_nsec = nsec; in set_normalized_timespec64()
530 ts.tv_nsec = rem; in ns_to_timespec64()
541 return ts; in ns_to_timespec64()
920 ret = copy_from_user(&ts, cts, sizeof(ts)); in __get_old_timespec32()
937 return copy_to_user(cts, &ts, sizeof(ts)) ? -EFAULT : 0; in __put_old_timespec32()
952 return copy_from_user(ts, uts, sizeof(*ts)) ? -EFAULT : 0; in get_old_timespec32()
[all …]

12345678910>>...48