11/***************************************************************************
2- * Copyright (c) 2024 Microsoft Corporation
3- *
2+ * Copyright (c) 2024 Microsoft Corporation
3+ *
44 * This program and the accompanying materials are made available under the
55 * terms of the MIT License which is available at
66 * https://opensource.org/licenses/MIT.
7- *
7+ *
88 * SPDX-License-Identifier: MIT
99 **************************************************************************/
1010
1414/** */
1515/** USBX Component */
1616/** */
17- /** HID Class */
17+ /** Device HID Class */
1818/** */
1919/**************************************************************************/
2020/**************************************************************************/
@@ -389,7 +389,7 @@ typedef struct UX_SLAVE_CLASS_HID_PARAMETER_STRUCT
389389
390390/* Define HID Class function prototypes. */
391391UINT _ux_device_class_hid_descriptor_send (UX_SLAVE_CLASS_HID * hid , ULONG descriptor_type ,
392- ULONG request_index , ULONG host_length );
392+ ULONG request_index , ULONG host_length );
393393UINT _ux_device_class_hid_activate (UX_SLAVE_CLASS_COMMAND * command );
394394UINT _ux_device_class_hid_deactivate (UX_SLAVE_CLASS_COMMAND * command );
395395UINT _ux_device_class_hid_control_request (UX_SLAVE_CLASS_COMMAND * command );
@@ -398,35 +398,35 @@ VOID _ux_device_class_hid_interrupt_thread(ULONG hid_class);
398398UINT _ux_device_class_hid_initialize (UX_SLAVE_CLASS_COMMAND * command );
399399UINT _ux_device_class_hid_uninitialize (UX_SLAVE_CLASS_COMMAND * command );
400400UINT _ux_device_class_hid_event_set (UX_SLAVE_CLASS_HID * hid ,
401- UX_SLAVE_CLASS_HID_EVENT * hid_event );
401+ UX_SLAVE_CLASS_HID_EVENT * hid_event );
402402UINT _ux_device_class_hid_event_check (UX_SLAVE_CLASS_HID * hid ,
403403 UX_DEVICE_CLASS_HID_EVENT * * hid_event );
404404VOID _ux_device_class_hid_event_free (UX_SLAVE_CLASS_HID * hid );
405405UINT _ux_device_class_hid_event_get (UX_SLAVE_CLASS_HID * hid ,
406- UX_SLAVE_CLASS_HID_EVENT * hid_event );
406+ UX_SLAVE_CLASS_HID_EVENT * hid_event );
407407UINT _ux_device_class_hid_report_set (UX_SLAVE_CLASS_HID * hid , ULONG descriptor_type ,
408- ULONG request_index , ULONG host_length );
408+ ULONG request_index , ULONG host_length );
409409UINT _ux_device_class_hid_report_get (UX_SLAVE_CLASS_HID * hid , ULONG descriptor_type ,
410- ULONG request_index , ULONG host_length );
410+ ULONG request_index , ULONG host_length );
411411
412- UINT _ux_device_class_hid_tasks_run (VOID * class_instance );
412+ UINT _ux_device_class_hid_tasks_run (VOID * hid_instance );
413413
414414UINT _ux_device_class_hid_read (UX_SLAVE_CLASS_HID * hid ,
415415 UCHAR * buffer , ULONG requested_length ,
416416 ULONG * actual_length );
417417
418418VOID _ux_device_class_hid_receiver_thread (ULONG hid_class );
419419UINT _ux_device_class_hid_receiver_initialize (UX_SLAVE_CLASS_HID * hid ,
420- UX_SLAVE_CLASS_HID_PARAMETER * parameter ,
421- UX_DEVICE_CLASS_HID_RECEIVER * * receiver );
420+ UX_SLAVE_CLASS_HID_PARAMETER * parameter ,
421+ UX_DEVICE_CLASS_HID_RECEIVER * * receiver );
422422VOID _ux_device_class_hid_receiver_uninitialize (UX_DEVICE_CLASS_HID_RECEIVER * receiver );
423423UINT _ux_device_class_hid_receiver_event_get (UX_SLAVE_CLASS_HID * hid ,
424- UX_DEVICE_CLASS_HID_RECEIVED_EVENT * event );
424+ UX_DEVICE_CLASS_HID_RECEIVED_EVENT * event );
425425UINT _ux_device_class_hid_receiver_event_free (UX_SLAVE_CLASS_HID * hid );
426426
427427UINT _ux_device_class_hid_read_run (UX_SLAVE_CLASS_HID * hid ,
428- UCHAR * buffer , ULONG requested_length ,
429- ULONG * actual_length );
428+ UCHAR * buffer , ULONG requested_length ,
429+ ULONG * actual_length );
430430UINT _ux_device_class_hid_receiver_tasks_run (UX_SLAVE_CLASS_HID * hid );
431431
432432
@@ -436,16 +436,16 @@ UINT _uxe_device_class_hid_event_set(UX_SLAVE_CLASS_HID *hid,
436436UINT _uxe_device_class_hid_event_get (UX_SLAVE_CLASS_HID * hid ,
437437 UX_SLAVE_CLASS_HID_EVENT * hid_event );
438438UINT _uxe_device_class_hid_read (UX_SLAVE_CLASS_HID * hid ,
439- UCHAR * buffer , ULONG requested_length ,
440- ULONG * actual_length );
439+ UCHAR * buffer , ULONG requested_length ,
440+ ULONG * actual_length );
441441UINT _uxe_device_class_hid_read_run (UX_SLAVE_CLASS_HID * hid ,
442- UCHAR * buffer , ULONG requested_length ,
443- ULONG * actual_length );
442+ UCHAR * buffer , ULONG requested_length ,
443+ ULONG * actual_length );
444444UINT _uxe_device_class_hid_receiver_initialize (UX_SLAVE_CLASS_HID * hid ,
445- UX_SLAVE_CLASS_HID_PARAMETER * parameter ,
446- UX_DEVICE_CLASS_HID_RECEIVER * * receiver );
445+ UX_SLAVE_CLASS_HID_PARAMETER * parameter ,
446+ UX_DEVICE_CLASS_HID_RECEIVER * * receiver );
447447UINT _uxe_device_class_hid_receiver_event_get (UX_SLAVE_CLASS_HID * hid ,
448- UX_DEVICE_CLASS_HID_RECEIVED_EVENT * event );
448+ UX_DEVICE_CLASS_HID_RECEIVED_EVENT * event );
449449UINT _uxe_device_class_hid_receiver_event_free (UX_SLAVE_CLASS_HID * hid );
450450
451451
@@ -493,4 +493,4 @@ UINT _uxe_device_class_hid_receiver_event_free(UX_SLAVE_CLASS_HID *hid);
493493}
494494#endif
495495
496- #endif
496+ #endif /* UX_DEVICE_CLASS_HID_H */
0 commit comments