Home
last modified time | relevance | path

Searched refs:device_hid (Results 1 – 12 of 12) sorted by relevance

/USBX-v6.2.1/test/regression/
Dusbx_ux_device_class_hid_event_get_AND_set_test.c286 UX_SLAVE_CLASS_HID *device_hid; in tx_demo_thread_host_simulation_entry() local
317 device_hid = interface -> ux_slave_interface_class_instance; in tx_demo_thread_host_simulation_entry()
323 device_hid -> ux_device_class_hid_report_id = report_id; in tx_demo_thread_host_simulation_entry()
367 status = _ux_device_class_hid_event_get(device_hid, &hid_event); in tx_demo_thread_host_simulation_entry()
379 status = _ux_device_class_hid_event_set(device_hid, &hid_events[0]); in tx_demo_thread_host_simulation_entry()
383device_hid->ux_device_class_hid_event_array_tail->ux_device_class_hid_event_length = UX_DEVICE_CLA… in tx_demo_thread_host_simulation_entry()
392 status = _ux_device_class_hid_event_get(device_hid, &hid_event); in tx_demo_thread_host_simulation_entry()
417 status = _ux_device_class_hid_event_set(device_hid, &hid_events[i]); in tx_demo_thread_host_simulation_entry()
429 status = _ux_device_class_hid_event_get(device_hid, &hid_event); in tx_demo_thread_host_simulation_entry()
457 status = _ux_device_class_hid_event_set(device_hid, &hid_events[i]); in tx_demo_thread_host_simulation_entry()
[all …]
Dusbx_ux_device_class_hid_interrupt_thread_test2.c315 UX_SLAVE_CLASS_HID *device_hid; in tx_demo_thread_host_simulation_entry() local
344 device_hid = interface -> ux_slave_interface_class_instance; in tx_demo_thread_host_simulation_entry()
353 tmp_timeout = device_hid->ux_device_class_hid_event_wait_timeout; in tx_demo_thread_host_simulation_entry()
355 device_hid->ux_device_class_hid_event_wait_timeout = 2; in tx_demo_thread_host_simulation_entry()
357 ux_device_class_hid_event_set(device_hid, &hid_event); in tx_demo_thread_host_simulation_entry()
361 device_hid->ux_device_class_hid_event_wait_timeout = tmp_timeout; in tx_demo_thread_host_simulation_entry()
369 status = ux_utility_event_flags_delete(&device_hid -> ux_device_class_hid_event_flags_group); in tx_demo_thread_host_simulation_entry()
Dusbx_class_hid_mouse_basic_test.c421 _ux_device_class_hid_event_set(device_hid, &device_hid_event); in test_hid_mouse_events()
431 _ux_device_class_hid_event_set(device_hid, &device_hid_event); in test_hid_mouse_events()
441 _ux_device_class_hid_event_set(device_hid, &device_hid_event); in test_hid_mouse_events()
451 _ux_device_class_hid_event_set(device_hid, &device_hid_event); in test_hid_mouse_events()
461 _ux_device_class_hid_event_set(device_hid, &device_hid_event); in test_hid_mouse_events()
473 _ux_device_class_hid_event_set(device_hid, &device_hid_event); in test_hid_mouse_events()
523 if (device_hid == UX_NULL) in demo_device_hid_instance_activate()
524 device_hid = (UX_SLAVE_CLASS_HID *)inst; in demo_device_hid_instance_activate()
528 if (inst == (VOID *)device_hid) in demo_device_hid_instance_deactivate()
529 device_hid = UX_NULL; in demo_device_hid_instance_deactivate()
Dusbx_class_hid_keyboard_basic_test.c417 _ux_device_class_hid_event_set(device_hid, &device_hid_event); in test_hid_keyboard_keys()
426 _ux_device_class_hid_event_set(device_hid, &device_hid_event); in test_hid_keyboard_keys()
435 _ux_device_class_hid_event_set(device_hid, &device_hid_event); in test_hid_keyboard_keys()
438 _ux_device_class_hid_event_set(device_hid, &device_hid_event); in test_hid_keyboard_keys()
486 if (device_hid == UX_NULL) in demo_device_hid_instance_activate()
487 device_hid = (UX_SLAVE_CLASS_HID *)inst; in demo_device_hid_instance_activate()
491 if (inst == (VOID *)device_hid) in demo_device_hid_instance_deactivate()
492 device_hid = UX_NULL; in demo_device_hid_instance_deactivate()
Dusbx_msrc_81574_standalone_host_hid_allocated_enum_free_test.c78 static UX_SLAVE_CLASS_HID *device_hid = UX_NULL; variable
314 if (device_hid == UX_NULL) in test_hid_instance_activate()
315 device_hid = (UX_SLAVE_CLASS_HID *)dummy_instance; in test_hid_instance_activate()
319 if ((VOID*)device_hid == dummy_instance) in test_hid_instance_deactivate()
320 device_hid = UX_NULL; in test_hid_instance_deactivate()
443 if (device_hid && host_hid) in _test_check_host_connection_error()
452 if (device_hid && host_hid) in _test_check_host_connection_success()
459 if (device_hid == UX_NULL && host_hid == UX_NULL) in _test_check_host_disconnection_success()
Dusbx_ux_host_class_hid_logitech_pro_x_superlight_test.c434 if (device_hid) in tx_demo_thread_device_simulation_entry()
449 ux_device_class_hid_event_set(device_hid, &hid_event); in tx_demo_thread_device_simulation_entry()
456 if (device_hid == UX_NULL) in demo_device_hid_instance_activate()
457 device_hid = (UX_SLAVE_CLASS_HID *)inst; in demo_device_hid_instance_activate()
461 if (inst == (VOID *)device_hid) in demo_device_hid_instance_deactivate()
462 device_hid = UX_NULL; in demo_device_hid_instance_deactivate()
Dusbx_class_hid_remote_control_basic_test.c425 _ux_device_class_hid_event_set(device_hid, &device_hid_event); in test_hid_remote_control_events()
440 _ux_device_class_hid_event_set(device_hid, &device_hid_event); in test_hid_remote_control_events()
496 if (device_hid == UX_NULL) in demo_device_hid_instance_activate()
497 device_hid = (UX_SLAVE_CLASS_HID *)inst; in demo_device_hid_instance_activate()
501 if (inst == (VOID *)device_hid) in demo_device_hid_instance_deactivate()
502 device_hid = UX_NULL; in demo_device_hid_instance_deactivate()
Dusbx_class_hid_basic_test.c545 _ux_device_class_hid_event_set(device_hid, &device_hid_event); in test_hid_periodic_reports()
551 _ux_device_class_hid_event_set(device_hid, &device_hid_event); in test_hid_periodic_reports()
552 _ux_device_class_hid_event_set(device_hid, &device_hid_event); in test_hid_periodic_reports()
603 if (device_hid == UX_NULL) in demo_device_hid_instance_activate()
604 device_hid = (UX_SLAVE_CLASS_HID *)inst; in demo_device_hid_instance_activate()
608 if (inst == (VOID *)device_hid) in demo_device_hid_instance_deactivate()
609 device_hid = UX_NULL; in demo_device_hid_instance_deactivate()
Dusbx_ux_device_class_hid_interrupt_thread_test.c311 UX_SLAVE_CLASS_HID *device_hid; in tx_demo_thread_host_simulation_entry() local
338 device_hid = interface -> ux_slave_interface_class_instance; in tx_demo_thread_host_simulation_entry()
351 ux_device_class_hid_event_set(device_hid, &hid_event); in tx_demo_thread_host_simulation_entry()
371 ux_device_class_hid_event_set(device_hid, &hid_event); in tx_demo_thread_host_simulation_entry()
Dusbx_ux_host_class_hid_report_set_int_out_test.c12 static UX_SLAVE_CLASS_HID * device_hid; variable
192 device_hid = (UX_SLAVE_CLASS_HID *)parameter; in instance_activate_callback()
340 …transfer_request = &device_hid->ux_device_class_hid_interrupt_endpoint->ux_slave_endpoint_next_end… in tx_demo_thread_slave_simulation_entry()
Dusbx_ux_device_class_hid_entry_test.c295 UX_SLAVE_CLASS_HID *device_hid; in tx_demo_thread_host_simulation_entry() local
310 device_hid = interface -> ux_slave_interface_class_instance; in tx_demo_thread_host_simulation_entry()
Dusbx_test_common_hid.h52 static UX_SLAVE_CLASS_HID *device_hid; variable