Home
last modified time | relevance | path

Searched refs:ts (Results 26 – 50 of 1190) sorted by relevance

12345678910>>...48

/openbmc/linux/drivers/input/touchscreen/
H A Dad7877.c378 struct ad7877 *ts = from_timer(ts, t, timer); in ad7877_timer() local
392 error = spi_sync(ts->spi, &ts->msg); in ad7877_irq()
543 ts->gpio3 = !!val; in ad7877_gpio3_store()
545 (ts->gpio4 << 4) | (ts->gpio3 << 5)); in ad7877_gpio3_store()
576 (ts->gpio4 << 4) | (ts->gpio3 << 5)); in ad7877_gpio4_store()
642 m = &ts->msg; in ad7877_setup_ts_def_msg()
646 m->context = ts; in ad7877_setup_ts_def_msg()
648 ts->xfer[0].tx_buf = &ts->cmd_crtl1; in ad7877_setup_ts_def_msg()
654 ts->xfer[1].tx_buf = &ts->cmd_dummy; /* Send ZERO */ in ad7877_setup_ts_def_msg()
701 if (!ts) in ad7877_probe()
[all …]
H A Dauo-pixcir-ts.c211 wait_event_timeout(ts->wait, ts->stopped, in auo_pixcir_interrupt()
254 wait_event_timeout(ts->wait, ts->stopped, in auo_pixcir_interrupt()
363 ts->stopped = false; in auo_pixcir_start()
392 ts->stopped = true; in auo_pixcir_stop()
394 wake_up(&ts->wait); in auo_pixcir_stop()
410 auo_pixcir_stop(ts); in auo_pixcir_input_close()
492 ts = devm_kzalloc(&client->dev, sizeof(*ts), GFP_KERNEL); in auo_pixcir_probe()
493 if (!ts) in auo_pixcir_probe()
505 ts->stopped = true; in auo_pixcir_probe()
508 snprintf(ts->phys, sizeof(ts->phys), in auo_pixcir_probe()
[all …]
H A Dts4800-ts.c53 ts->pendown = false; in ts4800_ts_open()
56 error = regmap_update_bits(ts->regmap, ts->reg, ts->bit, ts->bit); in ts4800_ts_open()
70 ret = regmap_update_bits(ts->regmap, ts->reg, ts->bit, 0); in ts4800_ts_close()
84 if (ts->debounce) { in ts4800_ts_poll()
85 ts->debounce--; in ts4800_ts_poll()
89 if (!ts->pendown) { in ts4800_ts_poll()
91 ts->pendown = true; in ts4800_ts_poll()
136 ts->reg = reg; in ts4800_parse_dt()
144 ts->bit = BIT(bit); in ts4800_parse_dt()
155 ts = devm_kzalloc(&pdev->dev, sizeof(*ts), GFP_KERNEL); in ts4800_ts_probe()
[all …]
H A Dstmpe-ts.c126 input_sync(ts->idev); in stmpe_work()
156 touchscreen_report_pos(ts->idev, &ts->prop, x, y, false); in stmpe_ts_handler()
159 input_sync(ts->idev); in stmpe_ts_handler()
275 ts->ave_ctrl = val; in stmpe_ts_get_platform_info()
279 ts->settling = val; in stmpe_ts_get_platform_info()
283 ts->i_drive = val; in stmpe_ts_get_platform_info()
299 ts = devm_kzalloc(&pdev->dev, sizeof(*ts), GFP_KERNEL); in stmpe_input_probe()
300 if (!ts) in stmpe_input_probe()
308 ts->stmpe = stmpe; in stmpe_input_probe()
309 ts->idev = idev; in stmpe_input_probe()
[all …]
H A Dst1232.c78 .buf = ts->read_buf, in st1232_ts_read_data()
122 buf = ts->read_buf; in st1232_ts_read_resolution()
179 error = st1232_ts_read_data(ts, REG_XY_COORDINATES, ts->read_buf_len); in st1232_ts_irq_handler()
202 if (ts->reset_gpio) in st1232_ts_power()
250 ts = devm_kzalloc(&client->dev, sizeof(*ts), GFP_KERNEL); in st1232_ts_probe()
251 if (!ts) in st1232_ts_probe()
254 ts->chip_info = match; in st1232_ts_probe()
257 ts->read_buf_len = ts->chip_info->max_fingers * 4; in st1232_ts_probe()
258 ts->read_buf = devm_kzalloc(&client->dev, ts->read_buf_len, GFP_KERNEL); in st1232_ts_probe()
259 if (!ts->read_buf) in st1232_ts_probe()
[all …]
H A Delants_i2c.c332 (int)sizeof(ts->cmd_resp), ts->cmd_resp); in elants_i2c_calibrate()
406 if (ts->fw_version != 0x0000 && ts->fw_version != 0xffff) in elants_i2c_query_fw_version()
578 ts->x_res = DIV_ROUND_CLOSEST(ts->x_max, phy_x); in elants_i2c_query_ts_info_ekth()
580 ts->y_res = DIV_ROUND_CLOSEST(ts->y_max, phy_y); in elants_i2c_query_ts_info_ekth()
1087 memcpy(ts->cmd_resp, ts->buf, sizeof(ts->cmd_resp)); in elants_i2c_irq()
1119 elants_i2c_event(ts, &ts->buf[HEADER_SIZE], in elants_i2c_irq()
1430 if (!ts) in elants_i2c_probe()
1510 touchscreen_parse_properties(ts->input, true, &ts->prop); in elants_i2c_probe()
1512 if (ts->chip_id == EKTF3624 && ts->phy_x && ts->phy_y) { in elants_i2c_probe()
1514 ts->x_res = DIV_ROUND_CLOSEST(ts->prop.max_x, ts->phy_x); in elants_i2c_probe()
[all …]
H A Dektf2127.c78 dev_err(&ts->client->dev, in ektf2127_report_event()
91 touchscreen_report_pos(ts->input, &ts->prop, in ektf2127_report_event()
96 input_sync(ts->input); in ektf2127_report_event()
109 touchscreen_report_pos(ts->input, &ts->prop, x, y, true); in ektf2127_report2_contact()
119 input_sync(ts->input); in ektf2127_report2_event()
250 struct ektf2127_ts *ts; in ektf2127_probe() local
261 ts = devm_kzalloc(dev, sizeof(*ts), GFP_KERNEL); in ektf2127_probe()
262 if (!ts) in ektf2127_probe()
279 ts->client = client; in ektf2127_probe()
305 ts->input = input; in ektf2127_probe()
[all …]
H A Draydium_i2c_ts.c352 if (ts->report_data && ts->pkg_size != data_info.pkg_size) { in raydium_i2c_query_ts_info()
358 ts->report_size = ts->pkg_size - RM_PACKET_CRC_SIZE; in raydium_i2c_query_ts_info()
366 ts->data_bank_addr, ts->report_size, ts->contact_size); in raydium_i2c_query_ts_info()
375 &ts->info, sizeof(ts->info)); in raydium_i2c_query_ts_info()
871 for (i = 0; i < ts->report_size / ts->contact_size; i++) { in raydium_mt_event()
872 u8 *contact = &ts->report_data[ts->contact_size * i]; in raydium_mt_event()
910 error = raydium_i2c_read(ts->client, ts->data_bank_addr, in raydium_i2c_irq()
911 ts->report_data, ts->pkg_size); in raydium_i2c_irq()
915 fw_crc = get_unaligned_le16(&ts->report_data[ts->report_size]); in raydium_i2c_irq()
1080 ts = devm_kzalloc(&client->dev, sizeof(*ts), GFP_KERNEL); in raydium_i2c_probe()
[all …]
H A Dcy8ctmg110_ts.c57 if (ts->reset_gpio) in cy8ctmg110_power()
165 struct cy8ctmg110 *ts = _ts; in cy8ctmg110_shut_off() local
168 cy8ctmg110_power(ts, false); in cy8ctmg110_shut_off()
173 struct cy8ctmg110 *ts; in cy8ctmg110_probe() local
181 ts = devm_kzalloc(&client->dev, sizeof(*ts), GFP_KERNEL); in cy8ctmg110_probe()
182 if (!ts) in cy8ctmg110_probe()
189 ts->client = client; in cy8ctmg110_probe()
190 ts->input = input_dev; in cy8ctmg110_probe()
192 snprintf(ts->phys, sizeof(ts->phys), in cy8ctmg110_probe()
196 input_dev->phys = ts->phys; in cy8ctmg110_probe()
[all …]
H A Dbu21013_ts.c409 struct bu21013_ts *ts; in bu21013_probe() local
427 ts = devm_kzalloc(dev, sizeof(*ts), GFP_KERNEL); in bu21013_probe()
428 if (!ts) in bu21013_probe()
431 ts->client = client; in bu21013_probe()
441 ts->in_dev = in_dev; in bu21013_probe()
457 if (!ts->props.invert_x && in bu21013_probe()
464 if (!ts->props.invert_y && in bu21013_probe()
499 if (IS_ERR(ts->cs_gpiod)) in bu21013_probe()
516 if (ts->int_gpiod) in bu21013_probe()
549 ts->touch_stopped = true; in bu21013_remove()
[all …]
H A Dpixcir_i2c_ts.c188 input_sync(ts->input); in pixcir_ts_report()
239 if (ts->gpio_wake) in pixcir_set_power_mode()
264 if (ts->gpio_wake) in pixcir_set_power_mode()
342 if (ts->gpio_enable) { in pixcir_start()
354 ts->running = true; in pixcir_start()
382 ts->running = false; in pixcir_stop()
388 if (ts->gpio_enable) in pixcir_stop()
398 return pixcir_start(ts); in pixcir_input_open()
405 pixcir_stop(ts); in pixcir_input_close()
426 ret = pixcir_stop(ts); in pixcir_i2c_ts_suspend()
[all …]
H A Dsis_i2c.c234 error = sis_read_packet(ts->client, ts->packet, in sis_ts_handle_packet()
273 input_sync(ts->input); in sis_ts_handle_packet()
281 sis_ts_handle_packet(ts); in sis_ts_irq_handler()
282 } while (ts->attn_gpio && gpiod_get_value_cansleep(ts->attn_gpio)); in sis_ts_irq_handler()
289 if (ts->reset_gpio) { in sis_ts_reset()
301 struct sis_ts_data *ts; in sis_ts_probe() local
305 ts = devm_kzalloc(&client->dev, sizeof(*ts), GFP_KERNEL); in sis_ts_probe()
306 if (!ts) in sis_ts_probe()
309 ts->client = client; in sis_ts_probe()
323 sis_ts_reset(ts); in sis_ts_probe()
[all …]
/openbmc/linux/drivers/net/wireless/quantenna/qtnfmac/pcie/
H A Dtopaz_pcie.c287 ts->rx_bd_vbase[ts->base.rx_bd_num - 1].info |= in topaz_alloc_rx_buffers()
583 disable_rx_irqs(ts); in qtnf_pcie_topaz_interrupt()
713 enable_rx_irqs(ts); in qtnf_topaz_rx_poll()
733 enable_rx_irqs(ts); in qtnf_pcie_data_rx_start()
740 disable_rx_irqs(ts); in qtnf_pcie_data_rx_stop()
863 writeb(ts->base.msi_enabled, &ts->bda->bda_rc_msi_enabled); in qtnf_pre_init_ep()
890 setup_rx_irqs(ts); in qtnf_post_init_ep()
891 disable_rx_irqs(ts); in qtnf_post_init_ep()
1131 ts->bda = ts->base.epmem_bar; in qtnf_pcie_topaz_probe()
1166 ipc_int.arg = ts; in qtnf_pcie_topaz_probe()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/opencv/opencv/
H A D0003-To-fix-errors-as-following.patch13 ts module.
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
60 diff --git a/modules/ts/include/opencv2/ts/ts_ext.hpp b/modules/ts/include/opencv2/ts/ts_ext.hpp
62 --- a/modules/ts/include/opencv2/ts/ts_ext.hpp
[all …]
/openbmc/qemu/tests/qtest/
H A Dtpm-crb-swtpm-test.c30 const TestState *ts = data; in tpm_crb_swtpm_test() local
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
51 ts.uri = g_strdup_printf("unix:%s/migsocket", ts.src_tpm_path); in main()
57 qtest_add_data_func("/tpm/crb-swtpm-migration/test", &ts, in main()
61 tpm_util_rmdir(ts.dst_tpm_path); in main()
62 g_free(ts.dst_tpm_path); in main()
63 tpm_util_rmdir(ts.src_tpm_path); in main()
64 g_free(ts.src_tpm_path); 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
54 ts.uri = g_strdup_printf("unix:%s/migsocket", ts.src_tpm_path); in main()
64 tpm_util_rmdir(ts.dst_tpm_path); in main()
65 g_free(ts.dst_tpm_path); in main()
66 tpm_util_rmdir(ts.src_tpm_path); in main()
67 g_free(ts.src_tpm_path); 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
59 ts.uri = g_strdup_printf("unix:%s/migsocket", ts.src_tpm_path); in main()
69 tpm_util_rmdir(ts.dst_tpm_path); in main()
70 g_free(ts.dst_tpm_path); in main()
71 tpm_util_rmdir(ts.src_tpm_path); in main()
72 g_free(ts.src_tpm_path); in main()
[all …]
/openbmc/linux/drivers/misc/
H A Dkgdbts.c410 fill_get_buf(ts.tst[ts.idx].get); in skip_back_repeat_test()
725 if (ts.tst[ts.idx].put_handler) in validate_simple_test()
727 ts.tst[ts.idx].put); in validate_simple_test()
729 chk_str = ts.tst[ts.idx].put; in validate_simple_test()
766 if (ts.tst[ts.idx].get_handler) in run_simple_test()
767 ts.tst[ts.idx].get_handler(ts.tst[ts.idx].get); in run_simple_test()
774 ts.name, ts.idx); in run_simple_test()
786 if (ts.tst[ts.idx].get[0] == '\0' && ts.tst[ts.idx].put[0] == '\0' && in run_simple_test()
787 !ts.tst[ts.idx].get_handler) { in run_simple_test()
820 ts.name, ts.idx, ts.tst[ts.idx].put, put_buf); in run_simple_test()
[all …]
/openbmc/linux/drivers/hid/
H A Dhid-nvidia-shield.c404 struct thunderstrike *ts; in thunderstrike_play_effect() local
431 return ts->led_state; in thunderstrike_led_get_brightness()
597 ts->led_state = 0; in thunderstrike_parse_led_payload()
600 ts->led_state = 1; in thunderstrike_parse_led_payload()
867 ts = devm_kzalloc(&hdev->dev, sizeof(*ts), GFP_KERNEL); in thunderstrike_create()
868 if (!ts) in thunderstrike_create()
876 shield_dev = &ts->base; in thunderstrike_create()
887 if (ts->id < 0) in thunderstrike_create()
917 if (ts->haptics_dev) in thunderstrike_create()
1084 if (ts->haptics_dev) in shield_probe()
[all …]
/openbmc/linux/drivers/gpu/drm/panel/
H A Dpanel-raspberrypi-touchscreen.c366 struct rpi_touchscreen *ts; in rpi_touchscreen_probe() local
376 ts = devm_kzalloc(dev, sizeof(*ts), GFP_KERNEL); in rpi_touchscreen_probe()
377 if (!ts) in rpi_touchscreen_probe()
380 i2c_set_clientdata(i2c, ts); in rpi_touchscreen_probe()
382 ts->i2c = i2c; in rpi_touchscreen_probe()
425 if (IS_ERR(ts->dsi)) { in rpi_touchscreen_probe()
427 PTR_ERR(ts->dsi)); in rpi_touchscreen_probe()
428 return PTR_ERR(ts->dsi); in rpi_touchscreen_probe()
437 drm_panel_add(&ts->base); in rpi_touchscreen_probe()
450 mipi_dsi_detach(ts->dsi); in rpi_touchscreen_remove()
[all …]
/openbmc/qemu/util/
H A Dqemu-timer.c255 QEMUTimer *ts; in qemu_clock_deadline_ns_all() local
270 while (ts && (ts->attributes & ~attr_mask)) { in qemu_clock_deadline_ns_all()
271 ts = ts->next; in qemu_clock_deadline_ns_all()
273 if (!ts) { in qemu_clock_deadline_ns_all()
368 ts->cb = cb; in timer_init_full()
414 ts->next = *pt; in timer_mod_ns_locked()
467 if (ts->expire_time == -1 || ts->expire_time > expire_time) { in timer_mod_anticipate_ns()
483 timer_mod_ns(ts, expire_time * ts->scale); in timer_mod()
488 timer_mod_anticipate_ns(ts, expire_time * ts->scale); in timer_mod_anticipate()
503 QEMUTimer *ts; in timerlist_run_timers() local
[all …]
/openbmc/qemu/linux-user/
H A Dvm86.c77 TaskState *ts = cs->opaque; in save_v86_state() local
99 set_flags(env->eflags, ts->v86flags, VIF_MASK | ts->v86mask); in save_v86_state()
137 TaskState *ts = cs->opaque; in set_IF() local
139 ts->v86flags |= VIF_MASK; in set_IF()
150 TaskState *ts = cs->opaque; in clear_IF() local
152 ts->v86flags &= ~VIF_MASK; in clear_IF()
168 TaskState *ts = cs->opaque; in set_vflags_long() local
170 set_flags(ts->v86flags, eflags, ts->v86mask); in set_vflags_long()
184 set_flags(ts->v86flags, flags, ts->v86mask & 0xffff); in set_vflags_short()
203 return flags | (ts->v86flags & ts->v86mask); in get_vflags()
[all …]
/openbmc/linux/arch/sparc/vdso/
H A Dvclock_gettime.c154 ts->tv_sec = vvar->wall_time_sec; in do_realtime()
161 ts->tv_nsec = ns; in do_realtime()
174 ts->tv_sec = vvar->wall_time_sec; in do_realtime_stick()
181 ts->tv_nsec = ns; in do_realtime_stick()
201 ts->tv_nsec = ns; in do_monotonic()
221 ts->tv_nsec = ns; in do_monotonic_stick()
262 return do_realtime(vvd, ts); in __vdso_clock_gettime()
266 return do_monotonic(vvd, ts); in __vdso_clock_gettime()
290 return do_realtime_stick(vvd, ts); in __vdso_clock_gettime_stick()
314 struct __kernel_old_timespec ts; in __vdso_gettimeofday() member
[all …]
/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/linux/sound/soc/meson/
H A Daxg-tdm-formatter.c160 mutex_lock(&ts->lock); in axg_tdm_formatter_attach()
163 if (ts->ready) { in axg_tdm_formatter_attach()
181 mutex_lock(&ts->lock); in axg_tdm_formatter_dettach()
199 if (WARN_ON(!ts)) in axg_tdm_formatter_power_up()
334 ts->ready = true; in axg_tdm_stream_start()
356 ts->ready = false; in axg_tdm_stream_stop()
371 ts = kzalloc(sizeof(*ts), GFP_KERNEL); in axg_tdm_stream_alloc()
372 if (ts) { in axg_tdm_stream_alloc()
375 ts->iface = iface; in axg_tdm_stream_alloc()
378 return ts; in axg_tdm_stream_alloc()
[all …]

12345678910>>...48