Searched refs:keyboard_instance (Results 1 – 8 of 8) sorted by relevance
| /USBX-v6.2.1/common/usbx_host_classes/src/ |
| D | ux_host_class_hid_keyboard_activate.c | 166 UX_HOST_CLASS_HID_KEYBOARD *keyboard_instance; in _ux_host_class_hid_keyboard_activate() local 189 keyboard_instance = &client_keyboard -> ux_host_class_hid_client_keyboard_keyboard; in _ux_host_class_hid_keyboard_activate() 194 hid_client -> ux_host_class_hid_client_local_instance = (VOID *) keyboard_instance; in _ux_host_class_hid_keyboard_activate() 197 keyboard_instance -> ux_host_class_hid_keyboard_hid = hid; in _ux_host_class_hid_keyboard_activate() 205 keyboard_instance -> ux_host_class_hid_keyboard_state = UX_HOST_CLASS_INSTANCE_MOUNTING; in _ux_host_class_hid_keyboard_activate() 209 keyboard_instance -> ux_host_class_hid_keyboard_state = UX_HOST_CLASS_INSTANCE_LIVE; in _ux_host_class_hid_keyboard_activate() 216 keyboard_instance -> ux_host_class_hid_keyboard_usage_array = (ULONG *) in _ux_host_class_hid_keyboard_activate() 218 if (keyboard_instance -> ux_host_class_hid_keyboard_usage_array == UX_NULL) in _ux_host_class_hid_keyboard_activate() 226 …keyboard_instance -> ux_host_class_hid_keyboard_usage_array_head = keyboard_instance -> ux_host_c… in _ux_host_class_hid_keyboard_activate() 227 …keyboard_instance -> ux_host_class_hid_keyboard_usage_array_tail = keyboard_instance -> ux_host_c… in _ux_host_class_hid_keyboard_activate() [all …]
|
| D | ux_host_class_hid_keyboard_callback.c | 129 UX_HOST_CLASS_HID_KEYBOARD *keyboard_instance; local 164 …keyboard_instance = (UX_HOST_CLASS_HID_KEYBOARD *) hid_client -> ux_host_class_hid_client_local_i… 175 previous_lock_key_states = &keyboard_instance -> ux_host_class_hid_keyboard_key_state[0]; 179 current_lock_key_states = &keyboard_instance -> ux_host_class_hid_keyboard_key_state[3]; 195 state_usage = keyboard_instance -> ux_host_class_hid_keyboard_key_state; 196 state_value = state_usage + keyboard_instance -> ux_host_class_hid_keyboard_key_count * 2; 197 state_action = state_value + keyboard_instance -> ux_host_class_hid_keyboard_key_count * 2; 200 …_ux_utility_memory_set(state_usage + keyboard_instance -> ux_host_class_hid_keyboard_key_count, 0,… 201 …_ux_utility_memory_set(state_value + keyboard_instance -> ux_host_class_hid_keyboard_key_count, 0,… 202 …_ux_utility_memory_set(state_action, KEY_DEL, keyboard_instance -> ux_host_class_hid_keyboard_key_… [all …]
|
| D | ux_host_class_hid_keyboard_deactivate.c | 90 UX_HOST_CLASS_HID_KEYBOARD *keyboard_instance; in _ux_host_class_hid_keyboard_deactivate() local 104 …keyboard_instance = (UX_HOST_CLASS_HID_KEYBOARD *) hid_client -> ux_host_class_hid_client_local_i… in _ux_host_class_hid_keyboard_deactivate() 109 status = _ux_host_semaphore_delete(&keyboard_instance -> ux_host_class_hid_keyboard_semaphore); in _ux_host_class_hid_keyboard_deactivate() 112 _ux_utility_thread_delete(&keyboard_instance -> ux_host_class_hid_keyboard_thread); in _ux_host_class_hid_keyboard_deactivate() 116 …UX_TRACE_IN_LINE_INSERT(UX_TRACE_HOST_CLASS_HID_KEYBOARD_DEACTIVATE, hid, keyboard_instance, 0, 0,… in _ux_host_class_hid_keyboard_deactivate() 130 _ux_utility_memory_free(keyboard_instance -> ux_host_class_hid_keyboard_thread_stack); in _ux_host_class_hid_keyboard_deactivate() 134 _ux_utility_memory_free(keyboard_instance -> ux_host_class_hid_keyboard_key_state); in _ux_host_class_hid_keyboard_deactivate() 137 _ux_utility_memory_free(keyboard_instance -> ux_host_class_hid_keyboard_usage_array); in _ux_host_class_hid_keyboard_deactivate()
|
| D | ux_host_class_hid_keyboard_key_get.c | 75 UINT _ux_host_class_hid_keyboard_key_get(UX_HOST_CLASS_HID_KEYBOARD *keyboard_instance, in _ux_host_class_hid_keyboard_key_get() argument 86 hid = keyboard_instance -> ux_host_class_hid_keyboard_hid; in _ux_host_class_hid_keyboard_key_get() 99 array_start = keyboard_instance -> ux_host_class_hid_keyboard_usage_array; in _ux_host_class_hid_keyboard_key_get() 101 array_head = keyboard_instance -> ux_host_class_hid_keyboard_usage_array_head; in _ux_host_class_hid_keyboard_key_get() 102 array_tail = keyboard_instance -> ux_host_class_hid_keyboard_usage_array_tail; in _ux_host_class_hid_keyboard_key_get() 119 keyboard_instance -> ux_host_class_hid_keyboard_usage_array_tail = array_tail; in _ux_host_class_hid_keyboard_key_get() 164 UINT _uxe_host_class_hid_keyboard_key_get(UX_HOST_CLASS_HID_KEYBOARD *keyboard_instance, in _uxe_host_class_hid_keyboard_key_get() argument 169 if ((keyboard_instance == UX_NULL) || in _uxe_host_class_hid_keyboard_key_get() 175 return(_ux_host_class_hid_keyboard_key_get(keyboard_instance, keyboard_key, keyboard_state)); in _uxe_host_class_hid_keyboard_key_get()
|
| D | ux_host_class_hid_keyboard_ioctl.c | 76 UINT _ux_host_class_hid_keyboard_ioctl(UX_HOST_CLASS_HID_KEYBOARD *keyboard_instance, in _ux_host_class_hid_keyboard_ioctl() argument 89 keyboard_instance -> ux_host_class_hid_keyboard_layout = (parameter == UX_NULL) ? in _ux_host_class_hid_keyboard_ioctl() 98 keyboard_instance -> ux_host_class_hid_keyboard_keys_decode_disable = UX_TRUE; in _ux_host_class_hid_keyboard_ioctl() 105 keyboard_instance -> ux_host_class_hid_keyboard_keys_decode_disable = UX_FALSE; in _ux_host_class_hid_keyboard_ioctl() 165 UINT _uxe_host_class_hid_keyboard_ioctl(UX_HOST_CLASS_HID_KEYBOARD *keyboard_instance, in _uxe_host_class_hid_keyboard_ioctl() argument 170 if (keyboard_instance == UX_NULL) in _uxe_host_class_hid_keyboard_ioctl() 174 return(_ux_host_class_hid_keyboard_ioctl(keyboard_instance, ioctl_function, parameter)); in _uxe_host_class_hid_keyboard_ioctl()
|
| D | ux_host_class_hid_keyboard_thread.c | 87 UX_HOST_CLASS_HID_KEYBOARD *keyboard_instance; in _ux_host_class_hid_keyboard_thread() local 90 UX_THREAD_EXTENSION_PTR_GET(keyboard_instance, UX_HOST_CLASS_HID_KEYBOARD, thread_input) in _ux_host_class_hid_keyboard_thread() 97 …status = _ux_host_semaphore_get(&keyboard_instance -> ux_host_class_hid_keyboard_semaphore, UX_WA… in _ux_host_class_hid_keyboard_thread() 106 …keyboard_instance -> ux_host_class_hid_keyboard_led_mask = keyboard_instance -> ux_host_class_hi… in _ux_host_class_hid_keyboard_thread() 110 hid = keyboard_instance -> ux_host_class_hid_keyboard_hid; in _ux_host_class_hid_keyboard_thread() 131 …client_report.ux_host_class_hid_client_report_buffer = &keyboard_instance -> ux_host_class_hid_key… in _ux_host_class_hid_keyboard_thread()
|
| /USBX-v6.2.1/test/regression/ |
| D | usbx_ux_host_class_hid_keyboard_activate_test.c | 285 UX_HOST_CLASS_HID_KEYBOARD *keyboard_instance; in tx_demo_thread_host_simulation_entry() local 322 …keyboard_instance = (UX_HOST_CLASS_HID_KEYBOARD *) _ux_utility_memory_allocate(UX_NO_ALIGN, UX_RE… in tx_demo_thread_host_simulation_entry() 323 if (keyboard_instance == UX_NULL) in tx_demo_thread_host_simulation_entry() 330 keyboard_instance -> ux_host_class_hid_keyboard_thread_stack = keyboard_thread_stack; in tx_demo_thread_host_simulation_entry() 333 …status = _ux_utility_thread_create(&keyboard_instance -> ux_host_class_hid_keyboard_thread, "ux_h… in tx_demo_thread_host_simulation_entry() 334 … (ULONG)keyboard_instance, keyboard_instance -> ux_host_class_hid_keyboard_thread_stack, in tx_demo_thread_host_simulation_entry() 345 keyboard_instance_thread_copy = keyboard_instance -> ux_host_class_hid_keyboard_thread; in tx_demo_thread_host_simulation_entry() 348 ux_utility_memory_free(keyboard_instance); in tx_demo_thread_host_simulation_entry() 359 keyboard_instance -> ux_host_class_hid_keyboard_thread = keyboard_instance_thread_copy; in tx_demo_thread_host_simulation_entry() 362 status = ux_utility_thread_delete(&keyboard_instance -> ux_host_class_hid_keyboard_thread); in tx_demo_thread_host_simulation_entry() [all …]
|
| /USBX-v6.2.1/common/usbx_host_classes/inc/ |
| D | ux_host_class_hid_keyboard.h | 258 UINT _ux_host_class_hid_keyboard_key_get(UX_HOST_CLASS_HID_KEYBOARD *keyboard_instance, 260 UINT _ux_host_class_hid_keyboard_ioctl(UX_HOST_CLASS_HID_KEYBOARD *keyboard_instance, 266 UINT _uxe_host_class_hid_keyboard_key_get(UX_HOST_CLASS_HID_KEYBOARD *keyboard_instance, 268 UINT _uxe_host_class_hid_keyboard_ioctl(UX_HOST_CLASS_HID_KEYBOARD *keyboard_instance,
|