| /USBX-v6.2.1/common/usbx_host_classes/src/ |
| D | ux_host_class_hid_instance_clean.c | 75 UX_HOST_CLASS_HID_REPORT *hid_report; in _ux_host_class_hid_instance_clean() local 85 hid_report = hid_parser -> ux_host_class_hid_parser_input_report; in _ux_host_class_hid_instance_clean() 86 while (hid_report != UX_NULL) in _ux_host_class_hid_instance_clean() 90 hid_next_report = hid_report -> ux_host_class_hid_report_next_report; in _ux_host_class_hid_instance_clean() 93 hid_field = hid_report -> ux_host_class_hid_report_field; in _ux_host_class_hid_instance_clean() 118 _ux_utility_memory_free(hid_report); in _ux_host_class_hid_instance_clean() 121 hid_report = hid_next_report; in _ux_host_class_hid_instance_clean() 125 hid_report = hid_parser -> ux_host_class_hid_parser_output_report; in _ux_host_class_hid_instance_clean() 126 while (hid_report != UX_NULL) in _ux_host_class_hid_instance_clean() 130 hid_next_report = hid_report -> ux_host_class_hid_report_next_report; in _ux_host_class_hid_instance_clean() [all …]
|
| D | ux_host_class_hid_transfer_request_completed.c | 86 UX_HOST_CLASS_HID_REPORT *hid_report; in _ux_host_class_hid_transfer_request_completed() local 131 hid_report = hid -> ux_host_class_hid_parser.ux_host_class_hid_parser_input_report; in _ux_host_class_hid_transfer_request_completed() 134 if (hid_report -> ux_host_class_hid_report_next_report != UX_NULL) in _ux_host_class_hid_transfer_request_completed() 142 if (*(UCHAR*)report_buffer == hid_report -> ux_host_class_hid_report_id) in _ux_host_class_hid_transfer_request_completed() 146 if (hid_report -> ux_host_class_hid_report_next_report == UX_NULL) in _ux_host_class_hid_transfer_request_completed() 150 hid_report = hid_report -> ux_host_class_hid_report_next_report; in _ux_host_class_hid_transfer_request_completed() 154 if (*(UCHAR*)report_buffer != hid_report -> ux_host_class_hid_report_id) in _ux_host_class_hid_transfer_request_completed() 157 hid_report = UX_NULL; in _ux_host_class_hid_transfer_request_completed() 162 if ((hid_report != UX_NULL) && in _ux_host_class_hid_transfer_request_completed() 163 (hid_report -> ux_host_class_hid_report_callback_function != UX_NULL)) in _ux_host_class_hid_transfer_request_completed() [all …]
|
| D | ux_host_class_hid_report_callback_register.c | 89 UX_HOST_CLASS_HID_REPORT *hid_report; in _ux_host_class_hid_report_callback_register() local 109 hid_report = hid -> ux_host_class_hid_parser.ux_host_class_hid_parser_input_report; in _ux_host_class_hid_report_callback_register() 112 while (hid_report != UX_NULL) in _ux_host_class_hid_report_callback_register() 116 …if (hid_report -> ux_host_class_hid_report_id == call_back -> ux_host_class_hid_report_callback_id) in _ux_host_class_hid_report_callback_register() 120 …hid_report -> ux_host_class_hid_report_callback_function = call_back -> ux_host_class_hid_report… in _ux_host_class_hid_report_callback_register() 121 …hid_report -> ux_host_class_hid_report_callback_buffer = call_back -> ux_host_class_hid_report… in _ux_host_class_hid_report_callback_register() 122 …hid_report -> ux_host_class_hid_report_callback_flags = call_back -> ux_host_class_hid_report… in _ux_host_class_hid_report_callback_register() 123 …hid_report -> ux_host_class_hid_report_callback_length = call_back -> ux_host_class_hid_report… in _ux_host_class_hid_report_callback_register() 133 hid_report = hid_report -> ux_host_class_hid_report_next_report; in _ux_host_class_hid_report_callback_register()
|
| D | ux_host_class_hid_report_set.c | 48 UX_HOST_CLASS_HID_REPORT *hid_report; in ux_host_class_hid_report_set_buffer_allocate() local 53 hid_report = client_report -> ux_host_class_hid_client_report; in ux_host_class_hid_report_set_buffer_allocate() 56 if (hid_report -> ux_host_class_hid_report_type == UX_HOST_CLASS_HID_REPORT_TYPE_INPUT) in ux_host_class_hid_report_set_buffer_allocate() 64 if (hid_report -> ux_host_class_hid_report_id == 0) in ux_host_class_hid_report_set_buffer_allocate() 65 …er = _ux_utility_memory_allocate(UX_SAFE_ALIGN, UX_CACHE_SAFE_MEMORY, hid_report -> ux_host_class… in ux_host_class_hid_report_set_buffer_allocate() 67 …_utility_memory_allocate_add_safe(UX_SAFE_ALIGN, UX_CACHE_SAFE_MEMORY, hid_report -> ux_host_class… in ux_host_class_hid_report_set_buffer_allocate() 79 if (hid_report -> ux_host_class_hid_report_id != 0) in ux_host_class_hid_report_set_buffer_allocate() 80 *current_report_buffer++ = (UCHAR)(hid_report -> ux_host_class_hid_report_id); 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 …eport_buffer, client_report -> ux_host_class_hid_client_report_buffer, hid_report -> ux_host_class… in ux_host_class_hid_report_set_buffer_allocate() [all …]
|
| D | ux_host_class_hid_report_add.c | 93 UX_HOST_CLASS_HID_REPORT *hid_report; in _ux_host_class_hid_report_add() local 117 hid_report = hid_parser -> ux_host_class_hid_parser_input_report; in _ux_host_class_hid_report_add() 118 if (hid_report == UX_NULL) in _ux_host_class_hid_report_add() 127 hid_report = hid_parser -> ux_host_class_hid_parser_output_report; in _ux_host_class_hid_report_add() 128 if (hid_report == UX_NULL) in _ux_host_class_hid_report_add() 137 hid_report = hid_parser -> ux_host_class_hid_parser_feature_report; in _ux_host_class_hid_report_add() 138 if (hid_report == UX_NULL) in _ux_host_class_hid_report_add() 161 if (hid_report != UX_NULL) in _ux_host_class_hid_report_add() 164 while (hid_report -> ux_host_class_hid_report_next_report != UX_NULL) in _ux_host_class_hid_report_add() 165 hid_report = hid_report -> ux_host_class_hid_report_next_report; in _ux_host_class_hid_report_add() [all …]
|
| D | ux_host_class_hid_report_get.c | 95 UX_HOST_CLASS_HID_REPORT *hid_report; in _ux_host_class_hid_report_get() local 118 hid_report = client_report -> ux_host_class_hid_client_report; in _ux_host_class_hid_report_get() 121 if (hid_report -> ux_host_class_hid_report_type != UX_HOST_CLASS_HID_REPORT_TYPE_INPUT && in _ux_host_class_hid_report_get() 122 hid_report -> ux_host_class_hid_report_type != UX_HOST_CLASS_HID_REPORT_TYPE_FEATURE) in _ux_host_class_hid_report_get() 136 if (hid_report -> ux_host_class_hid_report_byte_length == 0) in _ux_host_class_hid_report_get() 153 …report_buffer = _ux_utility_memory_allocate(UX_SAFE_ALIGN, UX_CACHE_SAFE_MEMORY, hid_report -> ux… in _ux_host_class_hid_report_get() 204 …transfer_request -> ux_transfer_request_requested_length = hid_report -> ux_host_class_hid_report… in _ux_host_class_hid_report_get() 207 …_request_value = (UINT)((USHORT) hid_report -> ux_host_class_hid_report_id | (USHORT) … in _ux_host_class_hid_report_get() 214 …_SUCCESS) && (transfer_request -> ux_transfer_request_actual_length == hid_report -> ux_host_class… in _ux_host_class_hid_report_get()
|
| D | ux_host_class_hid_report_decompress.c | 78 UX_HOST_CLASS_HID_REPORT *hid_report; in _ux_host_class_hid_report_decompress() local 84 hid_report = client_report -> ux_host_class_hid_client_report; in _ux_host_class_hid_report_decompress() 88 if (hid_report -> ux_host_class_hid_report_id != 0) in _ux_host_class_hid_report_decompress() 98 hid_field = hid_report -> ux_host_class_hid_report_field; in _ux_host_class_hid_report_decompress()
|
| D | ux_host_class_hid_report_set_run.c | 97 UX_HOST_CLASS_HID_REPORT *hid_report; in _ux_host_class_hid_report_set_run() local 105 hid_report = client_report -> ux_host_class_hid_client_report; in _ux_host_class_hid_report_set_run() 221 …transfer_request -> ux_transfer_request_requested_length = hid_report -> ux_host_class_hid_report_… in _ux_host_class_hid_report_set_run() 224 …r_request_value = (UINT)((USHORT) hid_report -> ux_host_class_hid_report_id | (USHORT) … in _ux_host_class_hid_report_set_run()
|
| D | ux_host_class_hid_report_compress.c | 78 UX_HOST_CLASS_HID_REPORT *hid_report; in _ux_host_class_hid_report_compress() local 93 hid_report = client_report -> ux_host_class_hid_client_report; in _ux_host_class_hid_report_compress() 99 hid_field = hid_report -> ux_host_class_hid_report_field; in _ux_host_class_hid_report_compress()
|
| /USBX-v6.2.1/test/regression/ |
| D | usbx_ux_host_class_hid_report_get_test2.c | 357 UX_HOST_CLASS_HID_REPORT hid_report; in tx_demo_thread_host_simulation_entry() local 390 hid_report.ux_host_class_hid_report_type = UX_HOST_CLASS_HID_REPORT_TYPE_INPUT; in tx_demo_thread_host_simulation_entry() 392 client_report.ux_host_class_hid_client_report = &hid_report; in tx_demo_thread_host_simulation_entry() 422 hid_report.ux_host_class_hid_report_type = UX_HOST_CLASS_HID_REPORT_TYPE_INPUT; 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() 451 hid_report.ux_host_class_hid_report_byte_length = 1; in tx_demo_thread_host_simulation_entry() 452 hid_report.ux_host_class_hid_report_type = UX_HOST_CLASS_HID_REPORT_TYPE_INPUT; 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() 500 hid_report.ux_host_class_hid_report_byte_length = 1; in tx_demo_thread_host_simulation_entry() 501 hid_report.ux_host_class_hid_report_type = UX_HOST_CLASS_HID_REPORT_TYPE_INPUT; in tx_demo_thread_host_simulation_entry() [all …]
|
| D | usbx_ux_host_class_hid_logitech_pro_x_superlight_test.c | 353 UX_HOST_CLASS_HID_REPORT *hid_report; in tx_demo_thread_host_simulation_entry() local 357 hid_report = get_id.ux_host_class_hid_report_get_report; in tx_demo_thread_host_simulation_entry() 358 while(hid_report != UX_NULL) in tx_demo_thread_host_simulation_entry() 363 …printf("Input report %p, ID: %ld\n", (void*)hid_report, hid_report -> ux_host_class_hid_report_id); in tx_demo_thread_host_simulation_entry() 364 …ld, n_bits %ld\n", hid_report -> ux_host_class_hid_report_number_item, hid_report -> ux_host_class… in tx_demo_thread_host_simulation_entry() 365 hid_field = hid_report -> ux_host_class_hid_report_field; in tx_demo_thread_host_simulation_entry() 395 hid_report = hid_report -> ux_host_class_hid_report_next_report; in tx_demo_thread_host_simulation_entry()
|
| D | usbx_ux_host_class_hid_report_set_test.c | 362 UX_HOST_CLASS_HID_REPORT hid_report; in tx_demo_thread_host_simulation_entry() local 446 hid_report.ux_host_class_hid_report_type = UX_HOST_CLASS_HID_REPORT_TYPE_OUTPUT; in tx_demo_thread_host_simulation_entry() 447 client_report.ux_host_class_hid_client_report = &hid_report; in tx_demo_thread_host_simulation_entry() 496 hid_report.ux_host_class_hid_report_type = UX_HOST_CLASS_HID_REPORT_TYPE_INPUT; in tx_demo_thread_host_simulation_entry() 498 client_report.ux_host_class_hid_client_report = &hid_report; in tx_demo_thread_host_simulation_entry() 512 hid_report.ux_host_class_hid_report_type = UX_HOST_CLASS_HID_REPORT_TYPE_FEATURE; in tx_demo_thread_host_simulation_entry() 513 hid_report.ux_host_class_hid_report_byte_length = 1; in tx_demo_thread_host_simulation_entry() 514 …client_report.ux_host_class_hid_client_report_length = hid_report.ux_host_class_hid_report_byte_le… in tx_demo_thread_host_simulation_entry() 516 client_report.ux_host_class_hid_client_report = &hid_report; in tx_demo_thread_host_simulation_entry()
|
| D | usbx_hid_report_descriptor_decompress_test.c | 317 UX_HOST_CLASS_HID_REPORT *hid_report; in tx_demo_thread_host_simulation_entry() local 339 hid_report = report_get_id.ux_host_class_hid_report_get_report; in tx_demo_thread_host_simulation_entry() 340 if (hid_report -> ux_host_class_hid_report_id != 0) in tx_demo_thread_host_simulation_entry() 348 client_report.ux_host_class_hid_client_report = hid_report; 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()
|
| D | usbx_ux_host_class_hid_report_set_int_out_test.c | 358 UX_HOST_CLASS_HID_REPORT hid_report; in tx_demo_thread_host_simulation_entry() local
|