| /USBX-v6.2.1/common/usbx_host_classes/src/ |
| D | ux_host_class_hid_report_item_analyse.c | 72 UINT _ux_host_class_hid_report_item_analyse(UCHAR *descriptor, UX_HOST_CLASS_HID_ITEM *item) in _ux_host_class_hid_report_item_analyse() argument 87 item -> ux_host_class_hid_item_report_format = UX_HOST_CLASS_HID_ITEM_TAG_LONG; in _ux_host_class_hid_report_item_analyse() 90 item -> ux_host_class_hid_item_report_type = (item_byte >> 2) & 3; in _ux_host_class_hid_report_item_analyse() 93 item -> ux_host_class_hid_item_report_length = (USHORT) *(descriptor + 1); in _ux_host_class_hid_report_item_analyse() 96 item -> ux_host_class_hid_item_report_tag = *(descriptor + 2); in _ux_host_class_hid_report_item_analyse() 102 item -> ux_host_class_hid_item_report_format = UX_HOST_CLASS_HID_ITEM_TAG_SHORT; in _ux_host_class_hid_report_item_analyse() 110 item -> ux_host_class_hid_item_report_length = 4; in _ux_host_class_hid_report_item_analyse() 115 … item -> ux_host_class_hid_item_report_length = item_byte & UX_HOST_CLASS_HID_ITEM_LENGTH_MASK; in _ux_host_class_hid_report_item_analyse() 120 item -> ux_host_class_hid_item_report_type = (item_byte >> 2) & 3; in _ux_host_class_hid_report_item_analyse() 123 item -> ux_host_class_hid_item_report_tag = item_byte >> 4; in _ux_host_class_hid_report_item_analyse()
|
| D | ux_host_class_hid_report_descriptor_get.c | 85 UX_HOST_CLASS_HID_ITEM item; in _ux_host_class_hid_report_descriptor_get() local 121 _ux_host_class_hid_report_item_analyse(descriptor, &item); in _ux_host_class_hid_report_descriptor_get() 124 descriptor += item.ux_host_class_hid_item_report_format; in _ux_host_class_hid_report_descriptor_get() 127 switch (item.ux_host_class_hid_item_report_type) in _ux_host_class_hid_report_descriptor_get() 133 status = _ux_host_class_hid_global_item_parse(hid, &item, descriptor); in _ux_host_class_hid_report_descriptor_get() 140 status = _ux_host_class_hid_main_item_parse(hid, &item, descriptor); in _ux_host_class_hid_report_descriptor_get() 147 status = _ux_host_class_hid_local_item_parse(hid, &item, descriptor); in _ux_host_class_hid_report_descriptor_get() 167 descriptor += item.ux_host_class_hid_item_report_length; in _ux_host_class_hid_report_descriptor_get() 170 if (length < item.ux_host_class_hid_item_report_length) in _ux_host_class_hid_report_descriptor_get() 179 …length -= (ULONG)(item.ux_host_class_hid_item_report_length + item.ux_host_class_hid_item_report_… in _ux_host_class_hid_report_descriptor_get()
|
| D | ux_host_class_hid_global_item_parse.c | 76 UINT _ux_host_class_hid_global_item_parse(UX_HOST_CLASS_HID *hid, UX_HOST_CLASS_HID_ITEM *item, UC… in _ux_host_class_hid_global_item_parse() argument 86 switch(item -> ux_host_class_hid_item_report_tag) in _ux_host_class_hid_global_item_parse() 93 _ux_host_class_hid_item_data_get(descriptor, item); in _ux_host_class_hid_global_item_parse() 101 … (SLONG) _ux_host_class_hid_item_data_get(descriptor, item); in _ux_host_class_hid_global_item_parse() 109 … (SLONG) _ux_host_class_hid_item_data_get(descriptor, item); in _ux_host_class_hid_global_item_parse() 117 … (SLONG) _ux_host_class_hid_item_data_get(descriptor, item); in _ux_host_class_hid_global_item_parse() 125 … (SLONG) _ux_host_class_hid_item_data_get(descriptor, item); in _ux_host_class_hid_global_item_parse() 133 _ux_host_class_hid_item_data_get(descriptor, item); in _ux_host_class_hid_global_item_parse() 141 _ux_host_class_hid_item_data_get(descriptor, item); in _ux_host_class_hid_global_item_parse() 149 _ux_host_class_hid_item_data_get(descriptor, item); in _ux_host_class_hid_global_item_parse() [all …]
|
| D | ux_host_class_hid_local_item_parse.c | 73 UINT _ux_host_class_hid_local_item_parse(UX_HOST_CLASS_HID *hid, UX_HOST_CLASS_HID_ITEM *item, UCH… in _ux_host_class_hid_local_item_parse() argument 86 switch (item -> ux_host_class_hid_item_report_tag) in _ux_host_class_hid_local_item_parse() 105 usage = _ux_host_class_hid_item_data_get(descriptor, item); in _ux_host_class_hid_local_item_parse() 123 … (ULONG) _ux_host_class_hid_item_data_get(descriptor, item); in _ux_host_class_hid_local_item_parse() 132 … (ULONG) _ux_host_class_hid_item_data_get(descriptor, item); in _ux_host_class_hid_local_item_parse() 186 delimiter_set = _ux_host_class_hid_item_data_get(descriptor, item); in _ux_host_class_hid_local_item_parse()
|
| D | ux_host_class_hid_main_item_parse.c | 77 UINT _ux_host_class_hid_main_item_parse(UX_HOST_CLASS_HID *hid, UX_HOST_CLASS_HID_ITEM *item, UCHA… in _ux_host_class_hid_main_item_parse() argument 89 switch (item -> ux_host_class_hid_item_report_tag) in _ux_host_class_hid_main_item_parse() 96 collection_type = _ux_host_class_hid_item_data_get(descriptor, item); in _ux_host_class_hid_main_item_parse() 176 status = _ux_host_class_hid_report_add(hid, descriptor, item); in _ux_host_class_hid_main_item_parse()
|
| D | ux_host_class_hid_item_data_get.c | 73 ULONG _ux_host_class_hid_item_data_get(UCHAR *descriptor, UX_HOST_CLASS_HID_ITEM *item) in _ux_host_class_hid_item_data_get() argument 80 switch (item -> ux_host_class_hid_item_report_length) in _ux_host_class_hid_item_data_get()
|
| D | ux_host_class_hid_entry.c | 361 UX_HOST_CLASS_HID_ITEM item; in _ux_host_class_hid_report_descriptor_parse() local 377 _ux_host_class_hid_report_item_analyse(descriptor, &item); in _ux_host_class_hid_report_descriptor_parse() 380 descriptor += item.ux_host_class_hid_item_report_format; in _ux_host_class_hid_report_descriptor_parse() 383 switch (item.ux_host_class_hid_item_report_type) in _ux_host_class_hid_report_descriptor_parse() 389 status = _ux_host_class_hid_global_item_parse(hid, &item, descriptor); in _ux_host_class_hid_report_descriptor_parse() 396 status = _ux_host_class_hid_main_item_parse(hid, &item, descriptor); in _ux_host_class_hid_report_descriptor_parse() 403 status = _ux_host_class_hid_local_item_parse(hid, &item, descriptor); in _ux_host_class_hid_report_descriptor_parse() 423 descriptor += item.ux_host_class_hid_item_report_length; in _ux_host_class_hid_report_descriptor_parse() 426 if (length < item.ux_host_class_hid_item_report_length) in _ux_host_class_hid_report_descriptor_parse() 435 …length -= (ULONG)(item.ux_host_class_hid_item_report_length + item.ux_host_class_hid_item_report_… in _ux_host_class_hid_report_descriptor_parse()
|
| D | ux_host_class_hid_report_add.c | 86 …_host_class_hid_report_add(UX_HOST_CLASS_HID *hid, UCHAR *descriptor, UX_HOST_CLASS_HID_ITEM *item) in _ux_host_class_hid_report_add() argument 103 hid_field_value = _ux_host_class_hid_item_data_get(descriptor, item); in _ux_host_class_hid_report_add() 112 switch (item -> ux_host_class_hid_item_report_tag) in _ux_host_class_hid_report_add() 230 …new_hid_field -> ux_host_class_hid_field_report_type = item -> ux_host_class_hid_item_report_tag; in _ux_host_class_hid_report_add()
|
| /USBX-v6.2.1/test/regression/ |
| D | usbx_ux_host_class_hid_report_add_test.c | 297 UX_HOST_CLASS_HID_ITEM item; in tx_demo_thread_host_simulation_entry() local 329 item.ux_host_class_hid_item_report_tag = UX_HOST_CLASS_HID_MAIN_TAG_INPUT; in tx_demo_thread_host_simulation_entry() 343 item.ux_host_class_hid_item_report_length = 1; in tx_demo_thread_host_simulation_entry() 345 status = _ux_host_class_hid_report_add(hid, &descriptor, &item); in tx_demo_thread_host_simulation_entry() 375 item.ux_host_class_hid_item_report_tag = UX_HOST_CLASS_HID_MAIN_TAG_INPUT; in tx_demo_thread_host_simulation_entry() 376 item.ux_host_class_hid_item_report_length = 1; in tx_demo_thread_host_simulation_entry() 387 status = _ux_host_class_hid_report_add(hid, "doesn't matter what this is", &item); in tx_demo_thread_host_simulation_entry()
|
| D | ux_test.c | 137 UX_TEST_ACTION *item; in ux_test_remove_hook() local 140 item = ux_test_hook_action_list; in ux_test_remove_hook() 141 while(item) in ux_test_remove_hook() 143 if (ux_test_list_action_compare(item, action) != UX_SUCCESS) in ux_test_remove_hook() 145 previous = item; in ux_test_remove_hook() 146 item = item->next; in ux_test_remove_hook() 151 if (item == ux_test_hook_action_list) in ux_test_remove_hook() 153 ux_test_hook_action_list = item->next; in ux_test_remove_hook()
|
| D | usbx_msrc_81251_host_hid_report_add_fail_mem_test.c | 298 UX_HOST_CLASS_HID_ITEM item; in tx_demo_thread_host_simulation_entry() local
|
| /USBX-v6.2.1/common/usbx_host_classes/inc/ |
| D | ux_host_class_hid.h | 1075 UINT _ux_host_class_hid_global_item_parse(UX_HOST_CLASS_HID *hid, UX_HOST_CLASS_HID_ITEM *item, … 1080 ULONG _ux_host_class_hid_item_data_get(UCHAR *descriptor, UX_HOST_CLASS_HID_ITEM *item); 1081 UINT _ux_host_class_hid_local_item_parse(UX_HOST_CLASS_HID *hid, UX_HOST_CLASS_HID_ITEM *item, U… 1082 UINT _ux_host_class_hid_main_item_parse(UX_HOST_CLASS_HID *hid, UX_HOST_CLASS_HID_ITEM *item, UC… 1085 …host_class_hid_report_add(UX_HOST_CLASS_HID *hid, UCHAR *descriptor, UX_HOST_CLASS_HID_ITEM *item); 1094 UINT _ux_host_class_hid_report_item_analyse(UCHAR *descriptor, UX_HOST_CLASS_HID_ITEM *item);
|