Home
last modified time | relevance | path

Searched refs:call_back (Results 1 – 8 of 8) sorted by relevance

/USBX-v6.2.1/common/usbx_host_classes/src/
Dux_host_class_hid_report_callback_register.c83 …_hid_report_callback_register(UX_HOST_CLASS_HID *hid, UX_HOST_CLASS_HID_REPORT_CALLBACK *call_back) in _ux_host_class_hid_report_callback_register() argument
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()
190 …_hid_report_callback_register(UX_HOST_CLASS_HID *hid, UX_HOST_CLASS_HID_REPORT_CALLBACK *call_back) in _uxe_host_class_hid_report_callback_register() argument
194 if ((hid == UX_NULL) || (call_back == UX_NULL)) in _uxe_host_class_hid_report_callback_register()
198 return(_ux_host_class_hid_report_callback_register(hid, call_back)); in _uxe_host_class_hid_report_callback_register()
Dux_host_class_hid_remote_control_activate.c81 UX_HOST_CLASS_HID_REPORT_CALLBACK call_back; in _ux_host_class_hid_remote_control_activate() local
135 call_back.ux_host_class_hid_report_callback_id = 0; in _ux_host_class_hid_remote_control_activate()
136call_back.ux_host_class_hid_report_callback_function = _ux_host_class_hid_remote_control_callbac… in _ux_host_class_hid_remote_control_activate()
137 call_back.ux_host_class_hid_report_callback_buffer = UX_NULL; in _ux_host_class_hid_remote_control_activate()
138call_back.ux_host_class_hid_report_callback_flags = UX_HOST_CLASS_HID_REPORT_INDIVIDUAL_USAGE; in _ux_host_class_hid_remote_control_activate()
139 call_back.ux_host_class_hid_report_callback_length = 0; in _ux_host_class_hid_remote_control_activate()
142 status = _ux_host_class_hid_report_callback_register(hid, &call_back); in _ux_host_class_hid_remote_control_activate()
Dux_host_class_hid_mouse_activate.c89 UX_HOST_CLASS_HID_REPORT_CALLBACK call_back; in _ux_host_class_hid_mouse_activate() local
178call_back.ux_host_class_hid_report_callback_id = mouse_instance -> ux_host_class_hid_mouse… in _ux_host_class_hid_mouse_activate()
179 call_back.ux_host_class_hid_report_callback_function = _ux_host_class_hid_mouse_callback; in _ux_host_class_hid_mouse_activate()
180 call_back.ux_host_class_hid_report_callback_buffer = UX_NULL; in _ux_host_class_hid_mouse_activate()
181call_back.ux_host_class_hid_report_callback_flags = UX_HOST_CLASS_HID_REPORT_INDIVIDUAL_USAGE; in _ux_host_class_hid_mouse_activate()
182 call_back.ux_host_class_hid_report_callback_length = 0; in _ux_host_class_hid_mouse_activate()
185 status = _ux_host_class_hid_report_callback_register(hid, &call_back); in _ux_host_class_hid_mouse_activate()
Dux_host_class_hid_mouse_entry.c149 UX_HOST_CLASS_HID_REPORT_CALLBACK call_back; in _ux_host_class_hid_mouse_activate_wait() local
192call_back.ux_host_class_hid_report_callback_id = mouse -> ux_host_class_hid_mouse_id; in _ux_host_class_hid_mouse_activate_wait()
193 call_back.ux_host_class_hid_report_callback_function = _ux_host_class_hid_mouse_callback; in _ux_host_class_hid_mouse_activate_wait()
194 call_back.ux_host_class_hid_report_callback_buffer = UX_NULL; in _ux_host_class_hid_mouse_activate_wait()
195call_back.ux_host_class_hid_report_callback_flags = UX_HOST_CLASS_HID_REPORT_INDIVIDUAL_USAGE; in _ux_host_class_hid_mouse_activate_wait()
196 call_back.ux_host_class_hid_report_callback_length = 0; in _ux_host_class_hid_mouse_activate_wait()
197 status = _ux_host_class_hid_report_callback_register(hid, &call_back); in _ux_host_class_hid_mouse_activate_wait()
Dux_host_class_hid_keyboard_activate.c158 UX_HOST_CLASS_HID_REPORT_CALLBACK call_back; in _ux_host_class_hid_keyboard_activate() local
292call_back.ux_host_class_hid_report_callback_id = keyboard_instance -> ux_host_class_hid_ke… in _ux_host_class_hid_keyboard_activate()
293call_back.ux_host_class_hid_report_callback_function = _ux_host_class_hid_keyboard_callback; in _ux_host_class_hid_keyboard_activate()
294 call_back.ux_host_class_hid_report_callback_buffer = UX_NULL; in _ux_host_class_hid_keyboard_activate()
295call_back.ux_host_class_hid_report_callback_flags = UX_HOST_CLASS_HID_REPORT_DECOMPRESSED; in _ux_host_class_hid_keyboard_activate()
296 call_back.ux_host_class_hid_report_callback_length = 0; in _ux_host_class_hid_keyboard_activate()
299 status = _ux_host_class_hid_report_callback_register(hid, &call_back); in _ux_host_class_hid_keyboard_activate()
/USBX-v6.2.1/test/regression/
Dusbx_hid_report_multiple_reports_ids_test.c346 UX_HOST_CLASS_HID_REPORT_CALLBACK call_back; in tx_demo_thread_host_simulation_entry() local
396call_back.ux_host_class_hid_report_callback_id = input_report_descriptor -> ux_host_class_… in tx_demo_thread_host_simulation_entry()
397 call_back.ux_host_class_hid_report_callback_function = demo_host_class_hid_report0_callback; in tx_demo_thread_host_simulation_entry()
398 call_back.ux_host_class_hid_report_callback_flags = UX_HOST_CLASS_HID_REPORT_RAW; in tx_demo_thread_host_simulation_entry()
399 call_back.ux_host_class_hid_report_callback_buffer = UX_NULL; in tx_demo_thread_host_simulation_entry()
400 call_back.ux_host_class_hid_report_callback_length = 0; in tx_demo_thread_host_simulation_entry()
401 status = _ux_host_class_hid_report_callback_register(hid, &call_back); in tx_demo_thread_host_simulation_entry()
443call_back.ux_host_class_hid_report_callback_id = input_report_descriptor -> ux_host_class_… in tx_demo_thread_host_simulation_entry()
444 call_back.ux_host_class_hid_report_callback_function = demo_host_class_hid_report2_callback; in tx_demo_thread_host_simulation_entry()
445 call_back.ux_host_class_hid_report_callback_flags = UX_HOST_CLASS_HID_REPORT_RAW; in tx_demo_thread_host_simulation_entry()
[all …]
Dusbx_ux_device_class_hid_idle_rate_test.c458 UX_HOST_CLASS_HID_REPORT_CALLBACK call_back; in tx_demo_thread_host_simulation_entry() local
506call_back.ux_host_class_hid_report_callback_id = report_id.ux_host_class_hid_report_get_id; in tx_demo_thread_host_simulation_entry()
507 call_back.ux_host_class_hid_report_callback_function = _hid_report_callback; in tx_demo_thread_host_simulation_entry()
508 call_back.ux_host_class_hid_report_callback_buffer = UX_NULL; in tx_demo_thread_host_simulation_entry()
509 call_back.ux_host_class_hid_report_callback_flags = UX_HOST_CLASS_HID_REPORT_RAW; in tx_demo_thread_host_simulation_entry()
510 call_back.ux_host_class_hid_report_callback_length = 0; in tx_demo_thread_host_simulation_entry()
513 status = _ux_host_class_hid_report_callback_register(hid, &call_back); in tx_demo_thread_host_simulation_entry()
/USBX-v6.2.1/common/usbx_host_classes/inc/
Dux_host_class_hid.h1086 …hid_report_callback_register(UX_HOST_CLASS_HID *hid, UX_HOST_CLASS_HID_REPORT_CALLBACK *call_back);
1113 …hid_report_callback_register(UX_HOST_CLASS_HID *hid, UX_HOST_CLASS_HID_REPORT_CALLBACK *call_back);