Home
last modified time | relevance | path

Searched refs:ts (Results 1 – 25 of 283) sorted by relevance

12345678910>>...12

/openbmc/qemu/tests/qtest/
H A Dtpm-crb-swtpm-test.c30 const TestState *ts = data; in tpm_crb_swtpm_test() local
32 tpm_test_swtpm_test(ts->src_tpm_path, tpm_util_crb_transfer, in tpm_crb_swtpm_test()
38 const TestState *ts = data; in tpm_crb_swtpm_migration_test() local
40 tpm_test_swtpm_migration_test(ts->src_tpm_path, ts->dst_tpm_path, ts->uri, in tpm_crb_swtpm_migration_test()
47 TestState ts = { 0 }; in main() local
49 ts.src_tpm_path = g_dir_make_tmp("qemu-tpm-crb-swtpm-test.XXXXXX", NULL); in main()
50 ts.dst_tpm_path = g_dir_make_tmp("qemu-tpm-crb-swtpm-test.XXXXXX", NULL); in main()
51 ts.uri = g_strdup_printf("unix:%s/migsocket", ts.src_tpm_path); in main()
56 qtest_add_data_func("/tpm/crb-swtpm/test", &ts, tpm_crb_swtpm_test); in main()
57 qtest_add_data_func("/tpm/crb-swtpm-migration/test", &ts, in main()
[all …]
H A Dtpm-tis-device-swtpm-test.c35 const TestState *ts = data; in tpm_tis_swtpm_test() local
37 tpm_test_swtpm_test(ts->src_tpm_path, tpm_tis_transfer, in tpm_tis_swtpm_test()
43 const TestState *ts = data; in tpm_tis_swtpm_migration_test() local
45 tpm_test_swtpm_migration_test(ts->src_tpm_path, ts->dst_tpm_path, ts->uri, in tpm_tis_swtpm_migration_test()
53 TestState ts = { 0 }; in main() local
55 ts.src_tpm_path = g_dir_make_tmp("qemu-tpm-tis-device-swtpm-test.XXXXXX", in main()
57 ts.dst_tpm_path = g_dir_make_tmp("qemu-tpm-tis-device-swtpm-test.XXXXXX", in main()
59 ts.uri = g_strdup_printf("unix:%s/migsocket", ts.src_tpm_path); in main()
64 qtest_add_data_func("/tpm/tis-swtpm/test", &ts, tpm_tis_swtpm_test); in main()
65 qtest_add_data_func("/tpm/tis-swtpm-migration/test", &ts, in main()
[all …]
H A Dtpm-tis-swtpm-test.c33 const TestState *ts = data; in tpm_tis_swtpm_test() local
35 tpm_test_swtpm_test(ts->src_tpm_path, tpm_tis_transfer, in tpm_tis_swtpm_test()
41 const TestState *ts = data; in tpm_tis_swtpm_migration_test() local
43 tpm_test_swtpm_migration_test(ts->src_tpm_path, ts->dst_tpm_path, ts->uri, in tpm_tis_swtpm_migration_test()
50 TestState ts = { 0 }; in main() local
52 ts.src_tpm_path = g_dir_make_tmp("qemu-tpm-tis-swtpm-test.XXXXXX", NULL); in main()
53 ts.dst_tpm_path = g_dir_make_tmp("qemu-tpm-tis-swtpm-test.XXXXXX", NULL); in main()
54 ts.uri = g_strdup_printf("unix:%s/migsocket", ts.src_tpm_path); in main()
59 qtest_add_data_func("/tpm/tis-swtpm/test", &ts, tpm_tis_swtpm_test); in main()
60 qtest_add_data_func("/tpm/tis-swtpm-migration/test", &ts, in main()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/opencv/opencv/
H A D0003-To-fix-errors-as-following.patch13 ts module.
20 modules/ts/include/opencv2/ts.hpp | 4 ++--
21 modules/ts/include/opencv2/ts/ocl_test.hpp | 2 +-
22 modules/ts/include/opencv2/ts/ts_ext.hpp | 2 +-
25 diff --git a/modules/ts/include/opencv2/ts.hpp b/modules/ts/include/opencv2/ts.hpp
27 --- a/modules/ts/include/opencv2/ts.hpp
28 +++ b/modules/ts/include/opencv2/ts.hpp
47 diff --git a/modules/ts/include/opencv2/ts/ocl_test.hpp b/modules/ts/include/opencv2/ts/ocl_test.hpp
49 --- a/modules/ts/include/opencv2/ts/ocl_test.hpp
50 +++ b/modules/ts/include/opencv2/ts/ocl_test.hpp
[all …]
H A D0001-Make-ts-module-external.patch4 Subject: [PATCH] Make ts module external
6 Make ts module external
14 modules/ts/CMakeLists.txt | 5 +----
17 diff --git a/modules/ts/CMakeLists.txt b/modules/ts/CMakeLists.txt
19 --- a/modules/ts/CMakeLists.txt
20 +++ b/modules/ts/CMakeLists.txt
22 ocv_module_disable(ts)
35 -ocv_add_module(ts INTERNAL opencv_core opencv_imgproc opencv_imgcodecs opencv_videoio opencv_highg…
36 +ocv_add_module(ts opencv_core opencv_imgproc opencv_imgcodecs opencv_videoio opencv_highgui)
/openbmc/openbmc/meta-arm/meta-arm/recipes-security/packagegroups/
H A Dpackagegroup-ts-tests.bb14 ts-demo \
15 ts-service-test \
16 ${@bb.utils.contains('MACHINE_FEATURES', 'ts-env-test', 'ts-remote-test', '' , d)} \
17 ${@bb.utils.contains('MACHINE_FEATURES', 'ts-smm-gateway', 'ts-uefi-test', '' , d)} \
22 ${@bb.utils.contains('MACHINE_FEATURES', 'ts-crypto', 'ts-psa-crypto-api-test', '' , d)} \
23 ${@bb.utils.contains('MACHINE_FEATURES', 'ts-its', 'ts-psa-its-api-test', '' , d)} \
24 ${@bb.utils.contains('MACHINE_FEATURES', 'ts-storage', 'ts-psa-ps-api-test', '' , d)} \
25 ${@bb.utils.contains('MACHINE_FEATURES', 'ts-attestation', 'ts-psa-iat-api-test', '' , d)} \
26 ${@bb.utils.contains('MACHINE_FEATURES', 'ts-se-proxy', \
27 … 'ts-psa-crypto-api-test ts-psa-its-api-test ts-psa-ps-api-test ts-psa-iat-api-test', '' , d)} \
/openbmc/openbmc/meta-arm/meta-arm/recipes-security/optee/
H A Doptee-os-ts.inc7 require recipes-security/trusted-services/ts-uuid.inc
16 DEPENDS:append = "${@bb.utils.contains('MACHINE_FEATURES', 'ts-its', \
17 ' ts-sp-its', '' , d)}"
18 SP_PATHS:append = "${@bb.utils.contains('MACHINE_FEATURES', 'ts-its', \
22 DEPENDS:append = "${@bb.utils.contains('MACHINE_FEATURES', 'ts-storage', \
23 ' ts-sp-storage', '' , d)}"
24 SP_PATHS:append = "${@bb.utils.contains('MACHINE_FEATURES', 'ts-storage', \
28 DEPENDS:append = "${@bb.utils.contains('MACHINE_FEATURES', 'ts-crypto', \
29 ' ts-sp-crypto', '' , d)}"
30 SP_PATHS:append = "${@bb.utils.contains('MACHINE_FEATURES', 'ts-crypto', \
[all …]
/openbmc/qemu/linux-user/
H A Dvm86.c53 TaskState *ts = get_task_state(cs); in save_v86_state() local
56 if (!lock_user_struct(VERIFY_WRITE, target_v86, ts->target_v86, 0)) in save_v86_state()
75 set_flags(env->eflags, ts->v86flags, VIF_MASK | ts->v86mask); in save_v86_state()
77 unlock_user_struct(target_v86, ts->target_v86, 1); in save_v86_state()
82 env->regs[R_EAX] = ts->vm86_saved_regs.eax; in save_v86_state()
83 env->regs[R_EBX] = ts->vm86_saved_regs.ebx; in save_v86_state()
84 env->regs[R_ECX] = ts->vm86_saved_regs.ecx; in save_v86_state()
85 env->regs[R_EDX] = ts->vm86_saved_regs.edx; in save_v86_state()
86 env->regs[R_ESI] = ts->vm86_saved_regs.esi; in save_v86_state()
87 env->regs[R_EDI] = ts->vm86_saved_regs.edi; in save_v86_state()
[all …]
H A Dsignal.c183 TaskState *ts = get_task_state(thread_cpu); in block_signals() local
193 return qatomic_xchg(&ts->signal_pending, 1); in block_signals()
205 TaskState *ts = get_task_state(thread_cpu); in do_sigprocmask() local
208 *oldset = ts->signal_mask; in do_sigprocmask()
220 sigorset(&ts->signal_mask, &ts->signal_mask, set); in do_sigprocmask()
225 sigdelset(&ts->signal_mask, i); in do_sigprocmask()
230 ts->signal_mask = *set; in do_sigprocmask()
237 sigdelset(&ts->signal_mask, SIGKILL); in do_sigprocmask()
238 sigdelset(&ts->signal_mask, SIGSTOP); in do_sigprocmask()
248 TaskState *ts = get_task_state(thread_cpu); in set_sigmask() local
[all …]
/openbmc/qemu/util/
H A Dqemu-timer.c256 QEMUTimer *ts; in qemu_clock_deadline_ns_all() local
269 ts = timer_list->active_timers; in qemu_clock_deadline_ns_all()
271 while (ts && (ts->attributes & ~attr_mask)) { in qemu_clock_deadline_ns_all()
272 ts = ts->next; in qemu_clock_deadline_ns_all()
274 if (!ts) { in qemu_clock_deadline_ns_all()
278 expire_time = ts->expire_time; in qemu_clock_deadline_ns_all()
332 struct timespec ts; in qemu_poll_ns() local
340 ts.tv_sec = tvsec; in qemu_poll_ns()
341 ts.tv_nsec = timeout % 1000000000LL; in qemu_poll_ns()
342 return ppoll((struct pollfd *)fds, nfds, &ts, NULL); in qemu_poll_ns()
[all …]
H A Dthrottle.c59 static void throttle_do_leak(ThrottleState *ts, int64_t now) in throttle_do_leak() argument
62 int64_t delta_ns = now - ts->previous_leak; in throttle_do_leak()
65 ts->previous_leak = now; in throttle_do_leak()
73 throttle_leak_bucket(&ts->cfg.buckets[i], delta_ns); in throttle_do_leak()
142 static int64_t throttle_compute_wait_for(ThrottleState *ts, in throttle_compute_wait_for() argument
159 wait = throttle_compute_wait(&ts->cfg.buckets[index]); in throttle_compute_wait_for()
175 static bool throttle_compute_timer(ThrottleState *ts, in throttle_compute_timer() argument
183 throttle_do_leak(ts, now); in throttle_compute_timer()
186 wait = throttle_compute_wait_for(ts, direction); in throttle_compute_timer()
228 void throttle_init(ThrottleState *ts) in throttle_init() argument
[all …]
/openbmc/qemu/tests/unit/
H A Dptimer-test-stubs.c37 void timer_init_full(QEMUTimer *ts, in timer_init_full() argument
45 ts->timer_list = timer_list_group->tl[type]; in timer_init_full()
46 ts->cb = cb; in timer_init_full()
47 ts->opaque = opaque; in timer_init_full()
48 ts->scale = scale; in timer_init_full()
49 ts->attributes = attributes; in timer_init_full()
50 ts->expire_time = -1; in timer_init_full()
53 void timer_mod(QEMUTimer *ts, int64_t expire_time) in timer_mod() argument
55 QEMUTimerList *timer_list = ts->timer_list; in timer_mod()
59 if (t->next == ts) { in timer_mod()
[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()
168 read_timer_cb, write_timer_cb, &ts); in test_init()
176 g_assert(!ts.previous_leak); in test_init()
177 g_assert(!ts.cfg.op_size); in test_init()
179 g_assert(!ts.cfg.buckets[i].avg); in test_init()
180 g_assert(!ts.cfg.buckets[i].max); in test_init()
181 g_assert(!ts.cfg.buckets[i].level); in test_init()
194 memset(&ts, 1, sizeof(ts)); in test_init_readonly()
[all …]
/openbmc/telemetry/src/utils/
H A Dconversion_trigger.cpp10 namespace ts = utils::tstring;
50 labeledThresholdParam.at_label<ts::Type>()), in operator ()()
51 labeledThresholdParam.at_label<ts::DwellTime>(), in operator ()()
53 labeledThresholdParam.at_label<ts::Direction>()), in operator ()()
54 labeledThresholdParam.at_label<ts::ThresholdValue>()); in operator ()()
64 labeledThresholdParam.at_label<ts::UserId>(), in operator ()()
66 labeledThresholdParam.at_label<ts::Severity>()), in operator ()()
67 labeledThresholdParam.at_label<ts::DwellTime>(), in operator ()()
68 labeledThresholdParam.at_label<ts::ThresholdValue>()); in operator ()()
76 sdbusplus::message::object_path(val.at_label<ts::Path>()), in fromLabeledSensorsInfo()
[all …]
/openbmc/qemu/include/qemu/
H A Dtimer.h413 void timer_init_full(QEMUTimer *ts,
430 static inline void timer_init(QEMUTimer *ts, QEMUClockType type, int scale, in timer_init() argument
433 timer_init_full(ts, NULL, type, scale, 0, cb, opaque); in timer_init()
447 static inline void timer_init_ns(QEMUTimer *ts, QEMUClockType type, in timer_init_ns() argument
450 timer_init(ts, type, SCALE_NS, cb, opaque); in timer_init_ns()
464 static inline void timer_init_us(QEMUTimer *ts, QEMUClockType type, in timer_init_us() argument
467 timer_init(ts, type, SCALE_US, cb, opaque); in timer_init_us()
481 static inline void timer_init_ms(QEMUTimer *ts, QEMUClockType type, in timer_init_ms() argument
484 timer_init(ts, type, SCALE_MS, cb, opaque); in timer_init_ms()
519 QEMUTimer *ts = g_new0(QEMUTimer, 1); in timer_new_full() local
[all …]
/openbmc/qemu/block/
H A Dthrottle-groups.c74 ThrottleState ts; member
142 return &tg->ts; in throttle_group_incref()
155 void throttle_group_unref(ThrottleState *ts) in throttle_group_unref() argument
157 ThrottleGroup *tg = container_of(ts, ThrottleGroup, ts); in throttle_group_unref()
169 ThrottleGroup *tg = container_of(tgm->throttle_state, ThrottleGroup, ts); in throttle_group_get_name()
183 ThrottleState *ts = tgm->throttle_state; in throttle_group_next_tgm() local
184 ThrottleGroup *tg = container_of(ts, ThrottleGroup, ts); in throttle_group_next_tgm()
222 ThrottleState *ts = tgm->throttle_state; in next_throttle_token() local
223 ThrottleGroup *tg = container_of(ts, ThrottleGroup, ts); in next_throttle_token()
270 ThrottleState *ts = tgm->throttle_state; in throttle_group_schedule_timer() local
[all …]
/openbmc/telemetry/src/types/
H A Dreport_types.cpp8 namespace ts = utils::tstring; in toReadingParameters()
14 metricParams.at_label<ts::SensorPath>(), in toReadingParameters()
18 sensorParameters.at_label<ts::Path>(), in toReadingParameters()
19 sensorParameters.at_label<ts::Metadata>()); in toReadingParameters()
21 utils::enumToString(metricParams.at_label<ts::OperationType>()), in toReadingParameters()
23 metricParams.at_label<ts::CollectionTimeScope>()), in toReadingParameters()
24 metricParams.at_label<ts::CollectionDuration>().t.count()); in toReadingParameters()
/openbmc/u-boot/drivers/power/
H A Dexynos-tmu.c67 struct temperature_params ts; member
156 if ((cur_temp >= data->ts.start_tripping) && in tmu_monitor()
157 (cur_temp <= data->ts.max_val)) in tmu_monitor()
160 if (cur_temp >= data->ts.start_warning) in tmu_monitor()
163 if ((cur_temp < data->ts.start_warning) && in tmu_monitor()
164 (cur_temp >= data->ts.min_val)) in tmu_monitor()
216 info->data.ts.min_val = fdtdec_get_int(blob, in get_tmu_fdt_values()
218 error |= (info->data.ts.min_val == -1); in get_tmu_fdt_values()
219 info->data.ts.max_val = fdtdec_get_int(blob, in get_tmu_fdt_values()
221 error |= (info->data.ts.max_val == -1); in get_tmu_fdt_values()
[all …]
/openbmc/qemu/bsd-user/
H A Dsignal.c43 static inline int on_sig_stack(TaskState *ts, unsigned long sp) in on_sig_stack() argument
45 return sp - ts->sigaltstack_used.ss_sp < ts->sigaltstack_used.ss_size; in on_sig_stack()
48 static inline int sas_ss_flags(TaskState *ts, unsigned long sp) in sas_ss_flags() argument
50 return ts->sigaltstack_used.ss_size == 0 ? SS_DISABLE : in sas_ss_flags()
51 on_sig_stack(ts, sp) ? SS_ONSTACK : 0; in sas_ss_flags()
332 TaskState *ts = get_task_state(thread_cpu); in block_signals() local
346 return qatomic_xchg(&ts->signal_pending, 1); in block_signals()
372 TaskState *ts = get_task_state(cpu); in dump_core_and_abort() local
381 if (core_dump_signal(target_sig) && (ts->bprm->core_dump != NULL)) { in dump_core_and_abort()
384 ((*ts->bprm->core_dump)(target_sig, env) == 0); in dump_core_and_abort()
[all …]
/openbmc/qemu/tcg/
H A Dtcg.c1807 TCGTemp *ts; in tcg_context_init() local
1854 ts = tcg_global_reg_new_internal(s, TCG_TYPE_PTR, TCG_AREG0, "env"); in tcg_context_init()
1855 tcg_env = temp_tcgv_ptr(ts); in tcg_context_init()
2008 TCGTemp *ts; in tcg_global_alloc() local
2013 ts = tcg_temp_alloc(s); in tcg_global_alloc()
2014 ts->kind = TEMP_GLOBAL; in tcg_global_alloc()
2016 return ts; in tcg_global_alloc()
2022 TCGTemp *ts; in tcg_global_reg_new_internal() local
2026 ts = tcg_global_alloc(s); in tcg_global_reg_new_internal()
2027 ts->base_type = type; in tcg_global_reg_new_internal()
[all …]
/openbmc/qemu/common-user/
H A Dplugin-api.c.inc24 TaskState *ts = get_task_state(current_cpu);
25 return g_strdup(ts->bprm->filename);
30 TaskState *ts = get_task_state(current_cpu);
31 return ts->info->start_code;
36 TaskState *ts = get_task_state(current_cpu);
37 return ts->info->end_code;
42 TaskState *ts = get_task_state(current_cpu);
43 return ts->info->entry;
/openbmc/phosphor-fan-presence/presence/test/
H A Dfallbacktest.cpp74 TestSensor ts; in TEST() local
75 ts._present = true; in TEST()
76 std::vector<std::reference_wrapper<PresenceSensor>> sensors{ts}; in TEST()
81 ASSERT_EQ(ts.failed, 0); in TEST()
82 ASSERT_EQ(ts.stopped, 0); in TEST()
83 ASSERT_EQ(ts.started, 1); in TEST()
85 f.stateChanged(false, ts); in TEST()
87 ASSERT_EQ(ts.failed, 0); in TEST()
88 ASSERT_EQ(ts.stopped, 0); in TEST()
89 ASSERT_EQ(ts.started, 1); in TEST()
[all …]
/openbmc/qemu/gdbstub/
H A Duser-target.c208 TaskState *ts = get_task_state(cpu); in gdb_get_cpu_index() local
209 return ts ? ts->ts_tid : -1; in gdb_get_cpu_index()
218 TaskState *ts; in gdb_handle_query_offsets() local
220 ts = get_task_state(gdbserver_state.c_cpu); in gdb_handle_query_offsets()
225 ts->info->code_offset, in gdb_handle_query_offsets()
226 ts->info->data_offset, in gdb_handle_query_offsets()
227 ts->info->data_offset); in gdb_handle_query_offsets()
244 TaskState *ts; in gdb_handle_query_xfer_auxv() local
254 ts = get_task_state(gdbserver_state.c_cpu); in gdb_handle_query_xfer_auxv()
255 saved_auxv = ts->info->saved_auxv; in gdb_handle_query_xfer_auxv()
[all …]
/openbmc/qemu/hw/display/
H A Dtcx.c214 TCXState *ts = opaque; in tcx_update_display() local
215 DisplaySurface *surface = qemu_console_surface(ts->con); in tcx_update_display()
226 s = ts->vram; in tcx_update_display()
230 snap = memory_region_snapshot_and_clear_dirty(&ts->vram_mem, 0x0, in tcx_update_display()
231 memory_region_size(&ts->vram_mem), in tcx_update_display()
234 for (y = 0; y < ts->height; y++, page += ds) { in tcx_update_display()
235 if (tcx_check_dirty(ts, snap, page, ds)) { 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()
[all …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/ptpd/ptpd/
H A DFixed-100-CPU-using-issue-by-adding-minimum-POSIX-ti.patch55 ts.tv_sec = interval;
56 ts.tv_nsec = (interval - ts.tv_sec) * 1E9;
58 + if(!ts.tv_sec && ts.tv_nsec < EVENTTIMER_MIN_INTERVAL_US * 1000) {
59 + ts.tv_nsec = EVENTTIMER_MIN_INTERVAL_US * 1000;
62 DBGV("Timer %s start requested at %d.%4d sec interval\n", timer->id, ts.tv_sec, ts.tv_nsec);
64 its.it_interval = ts;

12345678910>>...12