Home
last modified time | relevance | path

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

/USBX-v6.2.1/common/usbx_host_classes/src/
Dux_host_class_hid_idle_set.c81 UINT _ux_host_class_hid_idle_set(UX_HOST_CLASS_HID *hid, USHORT idle_time, USHORT report_id) in _ux_host_class_hid_idle_set() argument
87 status = _ux_host_class_hid_idle_set_run(hid, idle_time, report_id); in _ux_host_class_hid_idle_set()
138 … transfer_request -> ux_transfer_request_value = (UINT)((idle_time << 8) | report_id); in _ux_host_class_hid_idle_set()
191 UINT _uxe_host_class_hid_idle_set(UX_HOST_CLASS_HID *hid, USHORT idle_time, USHORT report_id) in _uxe_host_class_hid_idle_set() argument
199 return(_ux_host_class_hid_idle_set(hid, idle_time, report_id)); in _uxe_host_class_hid_idle_set()
Dux_host_class_hid_idle_get.c81 UINT _ux_host_class_hid_idle_get(UX_HOST_CLASS_HID *hid, USHORT *idle_time, USHORT report_id) in _ux_host_class_hid_idle_get() argument
196 *idle_time = (USHORT) *idle_byte; in _ux_host_class_hid_idle_get()
251 UINT _uxe_host_class_hid_idle_get(UX_HOST_CLASS_HID *hid, USHORT *idle_time, USHORT report_id) in _uxe_host_class_hid_idle_get() argument
255 if ((hid == UX_NULL) || (idle_time == UX_NULL)) in _uxe_host_class_hid_idle_get()
259 return(_ux_host_class_hid_idle_get(hid, idle_time, report_id)); in _uxe_host_class_hid_idle_get()
Dux_host_class_hid_idle_set_run.c75 UINT _ux_host_class_hid_idle_set_run(UX_HOST_CLASS_HID *hid, USHORT idle_time, USHORT report_id) in _ux_host_class_hid_idle_set_run() argument
159 transfer_request -> ux_transfer_request_value = (UINT)((idle_time << 8) | report_id); in _ux_host_class_hid_idle_set_run()
220 UINT _uxe_host_class_hid_idle_set_run(UX_HOST_CLASS_HID *hid, USHORT idle_time, USHORT report_id) in _uxe_host_class_hid_idle_set_run() argument
228 return(_ux_host_class_hid_idle_set_run(hid, idle_time, report_id)); in _uxe_host_class_hid_idle_set_run()
/USBX-v6.2.1/test/regression/
Dusbx_ux_host_class_hid_idle_get_test.c308 USHORT idle_time; in tx_demo_thread_host_simulation_entry() local
337 status = ux_host_class_hid_idle_get(hid, &idle_time, 0); in tx_demo_thread_host_simulation_entry()
352 status = _ux_host_class_hid_idle_get(hid, &idle_time, 0); in tx_demo_thread_host_simulation_entry()
376 status = _ux_host_class_hid_idle_get(hid, &idle_time, 0); in tx_demo_thread_host_simulation_entry()
395 status = _ux_host_class_hid_idle_get(hid, &idle_time, 0); in tx_demo_thread_host_simulation_entry()
426 status = ux_host_class_hid_idle_get(hid, &idle_time, 0); in tx_demo_thread_host_simulation_entry()
446 status = ux_host_class_hid_idle_get(hid, &idle_time, 0); in tx_demo_thread_host_simulation_entry()
Dusbx_class_hid_basic_test.c428 USHORT idle_time; in test_hid_idle_requests() local
442 …status = _ux_host_class_hid_idle_get(hid, &idle_time, hid_report_id.ux_host_class_hid_report_get_i… in test_hid_idle_requests()
444 test_idles[N_TEST_IDLES - 1] = idle_time; in test_hid_idle_requests()
450 …status = _ux_host_class_hid_idle_get(hid, &idle_time, hid_report_id.ux_host_class_hid_report_get_i… in test_hid_idle_requests()
452 UX_TEST_ASSERT(idle_time == test_idles[i]); in test_hid_idle_requests()
Dusbx_ux_device_class_hid_control_request_test.c369 ULONG idle_time; in tx_demo_thread_host_simulation_entry() local
396 idle_time = 0; in tx_demo_thread_host_simulation_entry()
510 … transfer_request -> ux_transfer_request_value = (UINT)((idle_time << 8) | report_id); in tx_demo_thread_host_simulation_entry()
531 … transfer_request -> ux_transfer_request_value = (UINT)((idle_time << 8) | report_id); in tx_demo_thread_host_simulation_entry()
/USBX-v6.2.1/common/usbx_host_classes/inc/
Dux_host_class_hid.h1076 UINT _ux_host_class_hid_idle_get(UX_HOST_CLASS_HID *hid, USHORT *idle_time, USHORT report_id);
1077 UINT _ux_host_class_hid_idle_set(UX_HOST_CLASS_HID *hid, USHORT idle_time, USHORT report_id);
1100 UINT _ux_host_class_hid_idle_set_run(UX_HOST_CLASS_HID *hid, USHORT idle_time, USHORT report_id);
1107 UINT _uxe_host_class_hid_idle_get(UX_HOST_CLASS_HID *hid, USHORT *idle_time, USHORT report_id);
1108 UINT _uxe_host_class_hid_idle_set(UX_HOST_CLASS_HID *hid, USHORT idle_time, USHORT report_id);
1118 UINT _uxe_host_class_hid_idle_set_run(UX_HOST_CLASS_HID *hid, USHORT idle_time, USHORT report_id…