| /USBX-v6.2.1/test/regression/ |
| D | usbx_ux_host_class_hid_report_set_test.c | 361 UX_HOST_CLASS_HID_CLIENT_REPORT client_report; in tx_demo_thread_host_simulation_entry() local 392 …client_report.ux_host_class_hid_client_report = hid -> ux_host_class_hid_parser.ux_host_class_hid_… in tx_demo_thread_host_simulation_entry() 393 client_report.ux_host_class_hid_client_report_flags = UX_HOST_CLASS_HID_REPORT_RAW; in tx_demo_thread_host_simulation_entry() 394 client_report.ux_host_class_hid_client_report_length = 5; in tx_demo_thread_host_simulation_entry() 395 client_report.ux_host_class_hid_client_report_buffer = (ULONG *)buffer; in tx_demo_thread_host_simulation_entry() 400 status = _ux_host_class_hid_report_set(hid, &client_report); in tx_demo_thread_host_simulation_entry() 424 …client_report.ux_host_class_hid_client_report = hid -> ux_host_class_hid_parser.ux_host_class_hid_… in tx_demo_thread_host_simulation_entry() 425 client_report.ux_host_class_hid_client_report_flags = UX_HOST_CLASS_HID_REPORT_RAW; in tx_demo_thread_host_simulation_entry() 426 client_report.ux_host_class_hid_client_report_length = 5; in tx_demo_thread_host_simulation_entry() 431 status = _ux_host_class_hid_report_set(hid, &client_report); in tx_demo_thread_host_simulation_entry() [all …]
|
| D | usbx_ux_host_class_hid_report_get_test2.c | 356 UX_HOST_CLASS_HID_CLIENT_REPORT client_report; in tx_demo_thread_host_simulation_entry() local 392 client_report.ux_host_class_hid_client_report = &hid_report; in tx_demo_thread_host_simulation_entry() 393 …client_report.ux_host_class_hid_client_report = hid -> ux_host_class_hid_parser.ux_host_class_hid_… in tx_demo_thread_host_simulation_entry() 394 client_report.ux_host_class_hid_client_report_length = 32; in tx_demo_thread_host_simulation_entry() 401 status = _ux_host_class_hid_report_get(hid, &client_report); in tx_demo_thread_host_simulation_entry() 424 client_report.ux_host_class_hid_client_report = &hid_report; in tx_demo_thread_host_simulation_entry() 425 …client_report.ux_host_class_hid_client_report = hid -> ux_host_class_hid_parser.ux_host_class_hid_… in tx_demo_thread_host_simulation_entry() 426 client_report.ux_host_class_hid_client_report_length = 32; in tx_demo_thread_host_simulation_entry() 433 status = _ux_host_class_hid_report_get(hid, &client_report); in tx_demo_thread_host_simulation_entry() 453 client_report.ux_host_class_hid_client_report = &hid_report; in tx_demo_thread_host_simulation_entry() [all …]
|
| D | usbx_hid_report_descriptor_compress_array_test.c | 268 UX_HOST_CLASS_HID_CLIENT_REPORT client_report; in tx_demo_thread_host_simulation_entry() local 316 client_report.ux_host_class_hid_client_report = input_report_descriptor; in tx_demo_thread_host_simulation_entry() 317 client_report.ux_host_class_hid_client_report_buffer = report_buffer_decompressed; in tx_demo_thread_host_simulation_entry() 318 client_report.ux_host_class_hid_client_report_actual_length = 0; in tx_demo_thread_host_simulation_entry() 321 …UX_TEST_CHECK_SUCCESS(_ux_host_class_hid_report_compress(hid, &client_report, report_buffer_compre… in tx_demo_thread_host_simulation_entry() 344 client_report.ux_host_class_hid_client_report = input_report_descriptor; in tx_demo_thread_host_simulation_entry() 345 client_report.ux_host_class_hid_client_report_buffer = report_buffer_decompressed; in tx_demo_thread_host_simulation_entry() 346 client_report.ux_host_class_hid_client_report_actual_length = 0; in tx_demo_thread_host_simulation_entry() 351 …UX_TEST_CHECK_NOT_SUCCESS(_ux_host_class_hid_report_compress(hid, &client_report, report_buffer_co… in tx_demo_thread_host_simulation_entry() 368 client_report.ux_host_class_hid_client_report = input_report_descriptor; in tx_demo_thread_host_simulation_entry() [all …]
|
| D | usbx_hid_report_descriptor_compress_and_decompress_test.c | 312 UX_HOST_CLASS_HID_CLIENT_REPORT client_report; in tx_demo_thread_host_simulation_entry() local 403 client_report.ux_host_class_hid_client_report = input_report_descriptor; in tx_demo_thread_host_simulation_entry() 404 … client_report.ux_host_class_hid_client_report_buffer = input_report_buffer_decompressed_original; in tx_demo_thread_host_simulation_entry() 405 client_report.ux_host_class_hid_client_report_actual_length = 0; in tx_demo_thread_host_simulation_entry() 408 …status = _ux_host_class_hid_report_compress(hid, &client_report, input_report_buffer_compressed, 1… in tx_demo_thread_host_simulation_entry() 444 client_report.ux_host_class_hid_client_report_buffer = input_report_buffer_decompressed; in tx_demo_thread_host_simulation_entry() 445 …status = _ux_host_class_hid_report_decompress(hid, &client_report, input_report_buffer_compressed,… in tx_demo_thread_host_simulation_entry() 463 client_report.ux_host_class_hid_client_report_buffer = input_report_buffer_decompressed; in tx_demo_thread_host_simulation_entry() 464 client_report.ux_host_class_hid_client_report->ux_host_class_hid_report_id = 0x1; in tx_demo_thread_host_simulation_entry() 465 …status = _ux_host_class_hid_report_decompress(hid, &client_report, &input_report_buffer_compressed… in tx_demo_thread_host_simulation_entry()
|
| D | usbx_ux_device_class_hid_report_set_test.c | 310 UX_HOST_CLASS_HID_CLIENT_REPORT client_report; in tx_demo_thread_host_simulation_entry() local 330 …client_report.ux_host_class_hid_client_report = hid -> ux_host_class_hid_parser.ux_host_class_hid_… in tx_demo_thread_host_simulation_entry() 331 client_report.ux_host_class_hid_client_report_flags = UX_HOST_CLASS_HID_REPORT_RAW; in tx_demo_thread_host_simulation_entry() 332 client_report.ux_host_class_hid_client_report_length = 33; in tx_demo_thread_host_simulation_entry() 333 client_report.ux_host_class_hid_client_report_buffer = (ULONG *)test_buffer; in tx_demo_thread_host_simulation_entry() 335 status = ux_host_class_hid_report_set(hid, &client_report); in tx_demo_thread_host_simulation_entry()
|
| D | usbx_hid_report_descriptor_decompress_test.c | 316 UX_HOST_CLASS_HID_CLIENT_REPORT client_report; in tx_demo_thread_host_simulation_entry() local 348 client_report.ux_host_class_hid_client_report = hid_report; in tx_demo_thread_host_simulation_entry() 349 client_report.ux_host_class_hid_client_report_buffer = report_buffer_decompressed; in tx_demo_thread_host_simulation_entry() 350 …client_report.ux_host_class_hid_client_report_length = hid_report -> ux_host_class_hid_report_byte… in tx_demo_thread_host_simulation_entry() 351 client_report.ux_host_class_hid_client_report_actual_length = 0; in tx_demo_thread_host_simulation_entry() 373 …status = _ux_host_class_hid_report_decompress(hid, &client_report, report_buffer_compressed_origin… in tx_demo_thread_host_simulation_entry() 463 status = _ux_host_class_hid_report_compress(hid, &client_report, report_buffer_compressed, 28); in tx_demo_thread_host_simulation_entry()
|
| D | usbx_ux_host_class_hid_report_set_int_out_test.c | 357 UX_HOST_CLASS_HID_CLIENT_REPORT client_report; in tx_demo_thread_host_simulation_entry() local 391 client_report.ux_host_class_hid_client_report = report_id.ux_host_class_hid_report_get_report; in tx_demo_thread_host_simulation_entry() 392 client_report.ux_host_class_hid_client_report_flags = UX_HOST_CLASS_HID_REPORT_RAW; in tx_demo_thread_host_simulation_entry() 393 …client_report.ux_host_class_hid_client_report_length = report_id.ux_host_class_hid_report_get_repo… in tx_demo_thread_host_simulation_entry() 394 client_report.ux_host_class_hid_client_report_buffer = (ULONG *)buffer; in tx_demo_thread_host_simulation_entry() 396 status = _ux_host_class_hid_report_set(hid, &client_report); in tx_demo_thread_host_simulation_entry()
|
| D | usbx_hid_report_descriptor_compress_test.c | 313 UX_HOST_CLASS_HID_CLIENT_REPORT client_report; in tx_demo_thread_host_simulation_entry() local 404 client_report.ux_host_class_hid_client_report = input_report_descriptor; in tx_demo_thread_host_simulation_entry() 405 … client_report.ux_host_class_hid_client_report_buffer = input_report_buffer_decompressed_original; in tx_demo_thread_host_simulation_entry() 406 client_report.ux_host_class_hid_client_report_actual_length = 0; in tx_demo_thread_host_simulation_entry() 409 …status = _ux_host_class_hid_report_compress(hid, &client_report, input_report_buffer_compressed, 1… in tx_demo_thread_host_simulation_entry()
|
| D | usbx_class_hid_basic_test.c | 473 … client_report.ux_host_class_hid_client_report = hid_report_id.ux_host_class_hid_report_get_report; in test_hid_report_requests() 476 client_report.ux_host_class_hid_client_report_flags = UX_HOST_CLASS_HID_REPORT_RAW; in test_hid_report_requests() 479 client_report.ux_host_class_hid_client_report_length = 2; in test_hid_report_requests() 482 client_report.ux_host_class_hid_client_report_buffer = tmp_bytes; in test_hid_report_requests() 487 status = _ux_host_class_hid_report_set(hid, &client_report); in test_hid_report_requests() 491 status = _ux_host_class_hid_report_get(hid, &client_report); in test_hid_report_requests()
|
| D | usbx_test_common_hid.h | 50 static UX_HOST_CLASS_HID_CLIENT_REPORT client_report; variable
|
| /USBX-v6.2.1/common/usbx_host_classes/src/ |
| D | ux_host_class_hid_report_set.c | 40 UX_HOST_CLASS_HID *hid, UX_HOST_CLASS_HID_CLIENT_REPORT *client_report, 44 UX_HOST_CLASS_HID *hid, UX_HOST_CLASS_HID_CLIENT_REPORT *client_report, in ux_host_class_hid_report_set_buffer_allocate() argument 53 hid_report = client_report -> ux_host_class_hid_client_report; in ux_host_class_hid_report_set_buffer_allocate() 84 if (client_report -> ux_host_class_hid_client_report_flags & UX_HOST_CLASS_HID_REPORT_RAW) in ux_host_class_hid_report_set_buffer_allocate() 88 …if (hid_report -> ux_host_class_hid_report_byte_length >= client_report -> ux_host_class_hid_clien… in ux_host_class_hid_report_set_buffer_allocate() 92 …_ux_utility_memory_copy(current_report_buffer, client_report -> ux_host_class_hid_client_report_bu… in ux_host_class_hid_report_set_buffer_allocate() 108 …_ux_host_class_hid_report_compress(hid, client_report, current_report_buffer, client_report -> ux_… in ux_host_class_hid_report_set_buffer_allocate() 172 …x_host_class_hid_report_set(UX_HOST_CLASS_HID *hid, UX_HOST_CLASS_HID_CLIENT_REPORT *client_report) in _ux_host_class_hid_report_set() argument 178 status = _ux_host_class_hid_report_set_run(hid, client_report); in _ux_host_class_hid_report_set() 190 …UX_TRACE_IN_LINE_INSERT(UX_TRACE_HOST_CLASS_HID_REPORT_SET, hid, client_report, 0, 0, UX_TRACE_HOS… in _ux_host_class_hid_report_set() [all …]
|
| D | ux_host_class_hid_keyboard_thread.c | 84 UX_HOST_CLASS_HID_CLIENT_REPORT client_report; in _ux_host_class_hid_keyboard_thread() local 122 … client_report.ux_host_class_hid_client_report = report_id.ux_host_class_hid_report_get_report; in _ux_host_class_hid_keyboard_thread() 125 client_report.ux_host_class_hid_client_report_flags = UX_HOST_CLASS_HID_REPORT_RAW; in _ux_host_class_hid_keyboard_thread() 128 client_report.ux_host_class_hid_client_report_length = 1; in _ux_host_class_hid_keyboard_thread() 131 …client_report.ux_host_class_hid_client_report_buffer = &keyboard_instance -> ux_host_class_hid_key… in _ux_host_class_hid_keyboard_thread() 134 _ux_host_class_hid_report_set(hid, &client_report); in _ux_host_class_hid_keyboard_thread()
|
| D | ux_host_class_hid_transfer_request_completed.c | 90 UX_HOST_CLASS_HID_CLIENT_REPORT client_report; in _ux_host_class_hid_transfer_request_completed() local 199 …client_report.ux_host_class_hid_client_report_length = hid_report->ux_host_class_hid_report_number… in _ux_host_class_hid_transfer_request_completed() 202 …buffer = _ux_utility_memory_allocate(UX_NO_ALIGN, UX_REGULAR_MEMORY, client_report.ux_host_class_… in _ux_host_class_hid_transfer_request_completed() 215 client_report.ux_host_class_hid_client_report_buffer = client_buffer; in _ux_host_class_hid_transfer_request_completed() 216 client_report.ux_host_class_hid_client_report_actual_length = 0; in _ux_host_class_hid_transfer_request_completed() 217 client_report.ux_host_class_hid_client_report = hid_report; in _ux_host_class_hid_transfer_request_completed() 220 …_ux_host_class_hid_report_decompress(hid, &client_report, report_buffer, transfer_request -> ux_tr… in _ux_host_class_hid_transfer_request_completed() 244 …callback.ux_host_class_hid_report_callback_usage = *client_report.ux_host_class_hid_client_report… in _ux_host_class_hid_transfer_request_completed() 245 …callback.ux_host_class_hid_report_callback_value = *client_report.ux_host_class_hid_client_report… in _ux_host_class_hid_transfer_request_completed() 262 …callback.ux_host_class_hid_report_callback_actual_length = client_report.ux_host_class_hid_client… in _ux_host_class_hid_transfer_request_completed() [all …]
|
| D | ux_host_class_hid_field_decompress.c | 76 …T_CLASS_HID_FIELD *hid_field, UCHAR *report_buffer, UX_HOST_CLASS_HID_CLIENT_REPORT *client_report) in _ux_host_class_hid_field_decompress() argument 153 …*(client_report -> ux_host_class_hid_client_report_buffer + client_report -> ux_host_class_hid_cli… in _ux_host_class_hid_field_decompress() 154 client_report -> ux_host_class_hid_client_report_actual_length++; in _ux_host_class_hid_field_decompress() 155 …*(client_report -> ux_host_class_hid_client_report_buffer + client_report -> ux_host_class_hid_cli… in _ux_host_class_hid_field_decompress() 156 client_report -> ux_host_class_hid_client_report_actual_length++; in _ux_host_class_hid_field_decompress()
|
| D | ux_host_class_hid_keyboard_tasks_run.c | 84 UX_HOST_CLASS_HID_CLIENT_REPORT client_report; in _ux_host_class_hid_keyboard_tasks_run() local 129 … client_report.ux_host_class_hid_client_report = keyboard -> ux_host_class_hid_keyboard_out_report; in _ux_host_class_hid_keyboard_tasks_run() 130 client_report.ux_host_class_hid_client_report_flags = UX_HOST_CLASS_HID_REPORT_RAW; in _ux_host_class_hid_keyboard_tasks_run() 131 client_report.ux_host_class_hid_client_report_length = 1; in _ux_host_class_hid_keyboard_tasks_run() 132 …client_report.ux_host_class_hid_client_report_buffer = &keyboard -> ux_host_class_hid_keyboard_led… in _ux_host_class_hid_keyboard_tasks_run() 135 status = _ux_host_class_hid_report_set_run(hid, &client_report); in _ux_host_class_hid_keyboard_tasks_run()
|
| D | ux_host_class_hid_report_get.c | 87 …x_host_class_hid_report_get(UX_HOST_CLASS_HID *hid, UX_HOST_CLASS_HID_CLIENT_REPORT *client_report) in _ux_host_class_hid_report_get() argument 99 …UX_TRACE_IN_LINE_INSERT(UX_TRACE_HOST_CLASS_HID_REPORT_GET, hid, client_report, 0, 0, UX_TRACE_HOS… in _ux_host_class_hid_report_get() 118 hid_report = client_report -> ux_host_class_hid_client_report; in _ux_host_class_hid_report_get() 218 if (client_report -> ux_host_class_hid_client_report_flags & UX_HOST_CLASS_HID_REPORT_RAW) in _ux_host_class_hid_report_get() 222 …if (client_report -> ux_host_class_hid_client_report_length >= transfer_request -> ux_transfer_req… in _ux_host_class_hid_report_get() 226 …_ux_utility_memory_copy(client_report -> ux_host_class_hid_client_report_buffer, report_buffer, tr… in _ux_host_class_hid_report_get() 248 …status = _ux_host_class_hid_report_decompress(hid, client_report, report_buffer, transfer_request… in _ux_host_class_hid_report_get() 312 …e_host_class_hid_report_get(UX_HOST_CLASS_HID *hid, UX_HOST_CLASS_HID_CLIENT_REPORT *client_report) in _uxe_host_class_hid_report_get() argument 316 if ((hid == UX_NULL) || (client_report == UX_NULL)) in _uxe_host_class_hid_report_get() 320 return(_ux_host_class_hid_report_get(hid, client_report)); in _uxe_host_class_hid_report_get()
|
| D | ux_host_class_hid_report_set_run.c | 35 UX_HOST_CLASS_HID *hid, UX_HOST_CLASS_HID_CLIENT_REPORT *client_report, 89 …st_class_hid_report_set_run(UX_HOST_CLASS_HID *hid, UX_HOST_CLASS_HID_CLIENT_REPORT *client_report) in _ux_host_class_hid_report_set_run() argument 102 …UX_TRACE_IN_LINE_INSERT(UX_TRACE_HOST_CLASS_HID_REPORT_SET, hid, client_report, 0, 0, UX_TRACE_HOS… in _ux_host_class_hid_report_set_run() 105 hid_report = client_report -> ux_host_class_hid_client_report; in _ux_host_class_hid_report_set_run() 198 status = ux_host_class_hid_report_set_buffer_allocate(hid, client_report, &report_buffer); in _ux_host_class_hid_report_set_run() 204 hid, client_report, 0, UX_TRACE_ERRORS, 0, 0) in _ux_host_class_hid_report_set_run() 287 …st_class_hid_report_set_run(UX_HOST_CLASS_HID *hid, UX_HOST_CLASS_HID_CLIENT_REPORT *client_report) in _uxe_host_class_hid_report_set_run() argument 291 if ((hid == UX_NULL) || (client_report == UX_NULL)) in _uxe_host_class_hid_report_set_run() 295 return(_ux_host_class_hid_report_set(hid, client_report)); in _uxe_host_class_hid_report_set_run()
|
| D | ux_host_class_hid_report_decompress.c | 74 …class_hid_report_decompress(UX_HOST_CLASS_HID *hid, UX_HOST_CLASS_HID_CLIENT_REPORT *client_report, in _ux_host_class_hid_report_decompress() argument 84 hid_report = client_report -> ux_host_class_hid_client_report; in _ux_host_class_hid_report_decompress() 105 _ux_host_class_hid_field_decompress(hid_field, report_buffer, client_report); in _ux_host_class_hid_report_decompress()
|
| D | ux_host_class_hid_report_compress.c | 74 …t_class_hid_report_compress(UX_HOST_CLASS_HID *hid, UX_HOST_CLASS_HID_CLIENT_REPORT *client_report, in _ux_host_class_hid_report_compress() argument 93 hid_report = client_report -> ux_host_class_hid_client_report; in _ux_host_class_hid_report_compress() 96 client_buffer = client_report -> ux_host_class_hid_client_report_buffer; in _ux_host_class_hid_report_compress()
|
| D | ux_host_class_hid_keyboard_activate.c | 160 UX_HOST_CLASS_HID_CLIENT_REPORT client_report; in _ux_host_class_hid_keyboard_activate() local 381 … client_report.ux_host_class_hid_client_report = report_id.ux_host_class_hid_report_get_report; in _ux_host_class_hid_keyboard_activate() 384 client_report.ux_host_class_hid_client_report_flags = UX_HOST_CLASS_HID_REPORT_RAW; in _ux_host_class_hid_keyboard_activate() 387 client_report.ux_host_class_hid_client_report_length = 1; in _ux_host_class_hid_keyboard_activate() 390 …client_report.ux_host_class_hid_client_report_buffer = &keyboard_instance -> ux_host_class_hid_key… in _ux_host_class_hid_keyboard_activate() 394 status = _ux_host_class_hid_report_set(hid, &client_report); in _ux_host_class_hid_keyboard_activate()
|
| /USBX-v6.2.1/common/usbx_host_classes/inc/ |
| D | ux_host_class_hid.h | 1074 …_CLASS_HID_FIELD *hid_field, UCHAR *report_buffer, UX_HOST_CLASS_HID_CLIENT_REPORT *client_report); 1087 …t_class_hid_report_compress(UX_HOST_CLASS_HID *hid, UX_HOST_CLASS_HID_CLIENT_REPORT *client_report, 1089 …class_hid_report_decompress(UX_HOST_CLASS_HID *hid, UX_HOST_CLASS_HID_CLIENT_REPORT *client_report, 1092 …_host_class_hid_report_get(UX_HOST_CLASS_HID *hid, UX_HOST_CLASS_HID_CLIENT_REPORT *client_report); 1095 …_host_class_hid_report_set(UX_HOST_CLASS_HID *hid, UX_HOST_CLASS_HID_CLIENT_REPORT *client_report); 1101 …t_class_hid_report_set_run(UX_HOST_CLASS_HID *hid, UX_HOST_CLASS_HID_CLIENT_REPORT *client_report); 1114 …_host_class_hid_report_get(UX_HOST_CLASS_HID *hid, UX_HOST_CLASS_HID_CLIENT_REPORT *client_report); 1116 …_host_class_hid_report_set(UX_HOST_CLASS_HID *hid, UX_HOST_CLASS_HID_CLIENT_REPORT *client_report); 1119 …t_class_hid_report_set_run(UX_HOST_CLASS_HID *hid, UX_HOST_CLASS_HID_CLIENT_REPORT *client_report);
|