| /USBX-v6.2.1/common/usbx_host_classes/src/ |
| D | ux_host_class_audio_entity_control_get.c | 90 ULONG n_subs, sub, pos, min, max, res, size; in _ux_host_class_audio_entity_control_get() local 197 pos = 2; in _ux_host_class_audio_entity_control_get() 205 min = *(control_buffer + pos); in _ux_host_class_audio_entity_control_get() 206 pos ++; in _ux_host_class_audio_entity_control_get() 207 max = *(control_buffer + pos); in _ux_host_class_audio_entity_control_get() 208 pos ++; in _ux_host_class_audio_entity_control_get() 209 res = *(control_buffer + pos); in _ux_host_class_audio_entity_control_get() 210 pos ++; in _ux_host_class_audio_entity_control_get() 214 min = _ux_utility_short_get(control_buffer + pos); in _ux_host_class_audio_entity_control_get() 215 pos += 2; in _ux_host_class_audio_entity_control_get() [all …]
|
| D | ux_host_class_asix_entry.c | 149 UINT i, pos; in _ux_host_class_asix_try_all_vid_pids() local 152 for (i = 0, pos = 0; i < n_id_pairs; i ++, pos += 2) in _ux_host_class_asix_try_all_vid_pids() 154 if ((command -> ux_host_class_command_pid == _ux_host_class_asix_vid_pid_array[pos + 1]) && in _ux_host_class_asix_try_all_vid_pids() 155 (command -> ux_host_class_command_vid == _ux_host_class_asix_vid_pid_array[pos ])) in _ux_host_class_asix_try_all_vid_pids()
|
| D | ux_host_class_audio_activate.c | 112 ULONG pos; in _ux_host_class_audio_activate() local 148 for (pos = 0; pos < ac -> ux_host_class_audio_configuration_descriptor_length;) in _ux_host_class_audio_activate() 226 pos += desc_length; in _ux_host_class_audio_activate() 378 for (pos = 0; pos < ac -> ux_host_class_audio_as_count; pos ++) in _ux_host_class_audio_activate() 380 if (ac -> ux_host_class_audio_as[pos] == UX_NULL) in _ux_host_class_audio_activate() 385 audio -> ux_host_class_audio_ac_as = pos; in _ux_host_class_audio_activate() 386 ac -> ux_host_class_audio_as[pos] = audio; in _ux_host_class_audio_activate() 392 if (pos >= ac -> ux_host_class_audio_as_count) in _ux_host_class_audio_activate()
|
| /USBX-v6.2.1/common/usbx_device_classes/src/ |
| D | ux_device_class_hid_receiver_event_free.c | 83 UX_DEVICE_CLASS_HID_RECEIVED_EVENT *pos; in _ux_device_class_hid_receiver_event_free() 90 pos = receiver -> ux_device_class_hid_receiver_event_read_pos; in _ux_device_class_hid_receiver_event_free() 93 …UX_TRACE_IN_LINE_INSERT(UX_TRACE_DEVICE_CLASS_HID_RECEIVER_EVENT_FREE, hid, pos, 0, 0, UX_TRACE_DE… in _ux_device_class_hid_receiver_event_free() 96 if (pos -> ux_device_class_hid_received_event_length == 0) in _ux_device_class_hid_receiver_event_free() 102 next_pos = (UCHAR *)pos + UX_DEVICE_CLASS_HID_RECEIVED_QUEUE_ITEM_SIZE(receiver); in _ux_device_class_hid_receiver_event_free() 108 pos -> ux_device_class_hid_received_event_length = 0; in _ux_device_class_hid_receiver_event_free()
|
| D | ux_device_class_hid_receiver_event_get.c | 89 UX_DEVICE_CLASS_HID_RECEIVED_EVENT *pos; in _ux_device_class_hid_receiver_event_get() 99 pos = receiver -> ux_device_class_hid_receiver_event_read_pos; in _ux_device_class_hid_receiver_event_get() 102 if (pos -> ux_device_class_hid_received_event_length != 0) in _ux_device_class_hid_receiver_event_get() 106 …event -> ux_device_class_hid_received_event_length = pos -> ux_device_class_hid_received_event_len… in _ux_device_class_hid_receiver_event_get() 109 …t -> ux_device_class_hid_received_event_data = UX_DEVICE_CLASS_HID_RECEIVED_QUEUE_ITEM_BUFFER(pos); in _ux_device_class_hid_receiver_event_get()
|
| D | ux_device_class_hid_receiver_tasks_run.c | 82 UX_DEVICE_CLASS_HID_RECEIVED_EVENT *pos; in _ux_device_class_hid_receiver_tasks_run() local 117 pos = receiver -> ux_device_class_hid_receiver_event_save_pos; in _ux_device_class_hid_receiver_tasks_run() 118 if (pos -> ux_device_class_hid_received_event_length != 0) in _ux_device_class_hid_receiver_tasks_run() 128 buffer = pos -> ux_device_class_hid_received_event_data; in _ux_device_class_hid_receiver_tasks_run() 171 pos = receiver -> ux_device_class_hid_receiver_event_save_pos; in _ux_device_class_hid_receiver_tasks_run() 180 buffer = (UCHAR *)&pos -> ux_device_class_hid_received_event_data; in _ux_device_class_hid_receiver_tasks_run() 188 next_pos = (UCHAR *)pos + UX_DEVICE_CLASS_HID_RECEIVED_QUEUE_ITEM_SIZE(receiver); in _ux_device_class_hid_receiver_tasks_run() 195 pos -> ux_device_class_hid_received_event_length = temp; in _ux_device_class_hid_receiver_tasks_run()
|
| D | ux_device_class_hid_receiver_thread.c | 85 UX_DEVICE_CLASS_HID_RECEIVED_EVENT *pos; in _ux_device_class_hid_receiver_thread() local 119 pos = receiver -> ux_device_class_hid_receiver_event_save_pos; in _ux_device_class_hid_receiver_thread() 120 if (pos -> ux_device_class_hid_received_event_length != 0) in _ux_device_class_hid_receiver_thread() 143 buffer = pos -> ux_device_class_hid_received_event_data; in _ux_device_class_hid_receiver_thread() 166 buffer = (UCHAR *)&pos -> ux_device_class_hid_received_event_data; in _ux_device_class_hid_receiver_thread() 177 next_pos = (UCHAR *)pos + UX_DEVICE_CLASS_HID_RECEIVED_QUEUE_ITEM_SIZE(receiver); in _ux_device_class_hid_receiver_thread() 184 pos -> ux_device_class_hid_received_event_length = temp; in _ux_device_class_hid_receiver_thread()
|
| D | ux_device_class_hid_event_get.c | 132 UCHAR *pos; in _ux_device_class_hid_event_free() local 134 pos = (UCHAR *) hid -> ux_device_class_hid_event_array_tail; in _ux_device_class_hid_event_free() 135 pos += UX_DEVICE_CLASS_HID_EVENT_QUEUE_ITEM_SIZE(hid); in _ux_device_class_hid_event_free() 136 if (pos >= (UCHAR *) hid -> ux_device_class_hid_event_array_end) in _ux_device_class_hid_event_free() 137 pos = (UCHAR *) hid -> ux_device_class_hid_event_array; in _ux_device_class_hid_event_free() 138 hid -> ux_device_class_hid_event_array_tail = (UX_DEVICE_CLASS_HID_EVENT *) pos; in _ux_device_class_hid_event_free()
|
| D | ux_device_class_hid_activate.c | 103 UCHAR *pos; in _ux_device_class_hid_activate() local 204 … for (pos = (UCHAR*)hid -> ux_device_class_hid_receiver -> ux_device_class_hid_receiver_events; in _ux_device_class_hid_activate() 205 … pos < (UCHAR*)hid -> ux_device_class_hid_receiver -> ux_device_class_hid_receiver_events_end; in _ux_device_class_hid_activate() 206 … pos += UX_DEVICE_CLASS_HID_RECEIVED_QUEUE_ITEM_SIZE(hid -> ux_device_class_hid_receiver)) in _ux_device_class_hid_activate() 208 … ((UX_DEVICE_CLASS_HID_RECEIVED_EVENT*)pos) -> ux_device_class_hid_received_event_length = 0; in _ux_device_class_hid_activate()
|
| D | ux_device_class_audio10_control_process.c | 104 ULONG sam, min, max, pos; in _ux_device_class_audio10_control_process() local 162 for (pos = 1; in _ux_device_class_audio10_control_process() 163 pos < (ULONG)desc[0] * 3 + 1; /* Calculate from byte, no overflow. */ in _ux_device_class_audio10_control_process() 164 pos += 3) in _ux_device_class_audio10_control_process() 166 … sam = (ULONG)desc[pos + 0] | ((ULONG)desc[pos + 1] << 8) | ((ULONG)desc[pos + 2] << 16); in _ux_device_class_audio10_control_process()
|
| D | ux_device_class_audio20_control_process.c | 110 ULONG n_sub, pos, min, max, res, freq; in _ux_device_class_audio20_control_process() local 174 for (pos = 2; pos < (2 + n_sub * 12); pos += 12) in _ux_device_class_audio20_control_process() 176 … = _ux_utility_long_get(control -> ux_device_class_audio20_control_sampling_frequency_range + pos); in _ux_device_class_audio20_control_process() 177 …ux_utility_long_get(control -> ux_device_class_audio20_control_sampling_frequency_range + pos + 4); in _ux_device_class_audio20_control_process()
|