Home
last modified time | relevance | path

Searched refs:hid_parser (Results 1 – 7 of 7) sorted by relevance

/USBX-v6.2.1/common/usbx_host_classes/src/
Dux_host_class_hid_main_item_parse.c80 UX_HOST_CLASS_HID_PARSER *hid_parser; in _ux_host_class_hid_main_item_parse() local
86 hid_parser = &hid -> ux_host_class_hid_parser; in _ux_host_class_hid_main_item_parse()
103 …if ((hid_parser -> ux_host_class_hid_parser_main_page == 0) && (hid_parser -> ux_host_class_hid_pa… in _ux_host_class_hid_main_item_parse()
108hid_parser -> ux_host_class_hid_parser_main_page = hid_parser -> ux_host_class_hid_parser_global… in _ux_host_class_hid_main_item_parse()
109hid_parser -> ux_host_class_hid_parser_main_usage = hid_parser -> ux_host_class_hid_parser_local.… in _ux_host_class_hid_main_item_parse()
113 hid_parser -> ux_host_class_hid_parser_application = collection_type; in _ux_host_class_hid_main_item_parse()
116 hid_parser -> ux_host_class_hid_parser_number_collection++; in _ux_host_class_hid_main_item_parse()
124 … if (hid_parser -> ux_host_class_hid_parser_number_collection >= UX_HOST_CLASS_HID_MAX_COLLECTION) in _ux_host_class_hid_main_item_parse()
138hid_parser -> ux_host_class_hid_parser_collection[hid_parser -> ux_host_class_hid_parser_number_co… in _ux_host_class_hid_main_item_parse()
141 hid_parser -> ux_host_class_hid_parser_number_collection++; in _ux_host_class_hid_main_item_parse()
[all …]
Dux_host_class_hid_global_item_parse.c79 UX_HOST_CLASS_HID_PARSER *hid_parser; in _ux_host_class_hid_global_item_parse() local
83 hid_parser = &hid -> ux_host_class_hid_parser; in _ux_host_class_hid_global_item_parse()
92 hid_parser -> ux_host_class_hid_parser_global.ux_host_class_hid_global_item_usage_page = in _ux_host_class_hid_global_item_parse()
100 hid_parser -> ux_host_class_hid_parser_global.ux_host_class_hid_global_item_logical_min = in _ux_host_class_hid_global_item_parse()
108 hid_parser -> ux_host_class_hid_parser_global.ux_host_class_hid_global_item_logical_max = in _ux_host_class_hid_global_item_parse()
116 hid_parser -> ux_host_class_hid_parser_global.ux_host_class_hid_global_item_physical_min = in _ux_host_class_hid_global_item_parse()
124 hid_parser -> ux_host_class_hid_parser_global.ux_host_class_hid_global_item_physical_max = in _ux_host_class_hid_global_item_parse()
132 hid_parser -> ux_host_class_hid_parser_global.ux_host_class_hid_global_item_unit_expo = in _ux_host_class_hid_global_item_parse()
140 hid_parser -> ux_host_class_hid_parser_global.ux_host_class_hid_global_item_unit = in _ux_host_class_hid_global_item_parse()
148 hid_parser -> ux_host_class_hid_parser_global.ux_host_class_hid_global_item_report_size = in _ux_host_class_hid_global_item_parse()
[all …]
Dux_host_class_hid_local_item_parse.c76 UX_HOST_CLASS_HID_PARSER *hid_parser; in _ux_host_class_hid_local_item_parse() local
83 hid_parser = &hid -> ux_host_class_hid_parser; in _ux_host_class_hid_local_item_parse()
92 …if (hid_parser -> ux_host_class_hid_parser_local.ux_host_class_hid_local_item_number_usage == UX_H… in _ux_host_class_hid_local_item_parse()
108 …usage |= (hid_parser -> ux_host_class_hid_parser_global.ux_host_class_hid_global_item_usage_page <… in _ux_host_class_hid_local_item_parse()
111hid_parser -> ux_host_class_hid_parser_local.ux_host_class_hid_local_item_usages[hid_parser -> ux_… in _ux_host_class_hid_local_item_parse()
114 hid_parser -> ux_host_class_hid_parser_local.ux_host_class_hid_local_item_number_usage++; in _ux_host_class_hid_local_item_parse()
122 hid_parser -> ux_host_class_hid_parser_local.ux_host_class_hid_local_item_usage_min = in _ux_host_class_hid_local_item_parse()
131 hid_parser -> ux_host_class_hid_parser_local.ux_host_class_hid_local_item_usage_max = in _ux_host_class_hid_local_item_parse()
135 …if (hid_parser -> ux_host_class_hid_parser_local.ux_host_class_hid_local_item_usage_max < hid_pars… in _ux_host_class_hid_local_item_parse()
148 …usage_min = (ULONG)(hid_parser -> ux_host_class_hid_parser_local.ux_host_class_hid_local_item_usa… in _ux_host_class_hid_local_item_parse()
[all …]
Dux_host_class_hid_report_add.c89 UX_HOST_CLASS_HID_PARSER *hid_parser; in _ux_host_class_hid_report_add() local
100 hid_parser = &hid -> ux_host_class_hid_parser; in _ux_host_class_hid_report_add()
117 hid_report = hid_parser -> ux_host_class_hid_parser_input_report; in _ux_host_class_hid_report_add()
119 hid_parser -> ux_host_class_hid_parser_input_report = new_hid_report; 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()
129 hid_parser -> ux_host_class_hid_parser_output_report = new_hid_report; 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()
139 hid_parser -> ux_host_class_hid_parser_feature_report = new_hid_report; in _ux_host_class_hid_report_add()
170 …if ((hid_report != UX_NULL) && (hid_report -> ux_host_class_hid_report_id == hid_parser -> ux_host… in _ux_host_class_hid_report_add()
185 …new_hid_report -> ux_host_class_hid_report_id = hid_parser -> ux_host_class_hid_parser_global.ux_… in _ux_host_class_hid_report_add()
[all …]
Dux_host_class_hid_instance_clean.c74 UX_HOST_CLASS_HID_PARSER *hid_parser; in _ux_host_class_hid_instance_clean() local
82 hid_parser = &hid -> ux_host_class_hid_parser; in _ux_host_class_hid_instance_clean()
85 hid_report = hid_parser -> ux_host_class_hid_parser_input_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()
165 hid_report = hid_parser -> ux_host_class_hid_parser_feature_report; in _ux_host_class_hid_instance_clean()
/USBX-v6.2.1/test/regression/
Dusbx_ux_host_class_hid_report_add_test.c301 UX_HOST_CLASS_HID_PARSER *hid_parser; in tx_demo_thread_host_simulation_entry() local
313 hid_parser = &hid -> ux_host_class_hid_parser; in tx_demo_thread_host_simulation_entry()
319 tmp2 = hid_parser->ux_host_class_hid_parser_global.ux_host_class_hid_global_item_report_count; in tx_demo_thread_host_simulation_entry()
320 hid_parser->ux_host_class_hid_parser_global.ux_host_class_hid_global_item_report_count = 1; in tx_demo_thread_host_simulation_entry()
322 tmp3 = hid_parser->ux_host_class_hid_parser_local.ux_host_class_hid_local_item_number_usage; in tx_demo_thread_host_simulation_entry()
323 hid_parser->ux_host_class_hid_parser_local.ux_host_class_hid_local_item_number_usage = 1; in tx_demo_thread_host_simulation_entry()
365 tmp2 = hid_parser->ux_host_class_hid_parser_global.ux_host_class_hid_global_item_report_count; in tx_demo_thread_host_simulation_entry()
366 hid_parser->ux_host_class_hid_parser_global.ux_host_class_hid_global_item_report_count = 1; in tx_demo_thread_host_simulation_entry()
368 tmp3 = hid_parser->ux_host_class_hid_parser_local.ux_host_class_hid_local_item_number_usage; in tx_demo_thread_host_simulation_entry()
369 hid_parser->ux_host_class_hid_parser_local.ux_host_class_hid_local_item_number_usage = 1; in tx_demo_thread_host_simulation_entry()
Dusbx_msrc_81251_host_hid_report_add_fail_mem_test.c302 UX_HOST_CLASS_HID_PARSER *hid_parser; in tx_demo_thread_host_simulation_entry() local
317 hid_parser = &hid -> ux_host_class_hid_parser; in tx_demo_thread_host_simulation_entry()
323 tmp2 = hid_parser->ux_host_class_hid_parser_global.ux_host_class_hid_global_item_report_count; in tx_demo_thread_host_simulation_entry()
324 hid_parser->ux_host_class_hid_parser_global.ux_host_class_hid_global_item_report_count = 1; in tx_demo_thread_host_simulation_entry()
326 tmp3 = hid_parser->ux_host_class_hid_parser_local.ux_host_class_hid_local_item_number_usage; in tx_demo_thread_host_simulation_entry()
327 hid_parser->ux_host_class_hid_parser_local.ux_host_class_hid_local_item_number_usage = 1; in tx_demo_thread_host_simulation_entry()