Home
last modified time | relevance | path

Searched refs:pos (Results 1 – 9 of 9) sorted by relevance

/USBX-v6.2.1/common/usbx_host_classes/src/
Dux_host_class_audio_entity_control_get.c91 ULONG n_subs, sub, pos, min, max, res, size; in _ux_host_class_audio_entity_control_get() local
198 pos = 2; in _ux_host_class_audio_entity_control_get()
206 min = *(control_buffer + pos); in _ux_host_class_audio_entity_control_get()
207 pos ++; in _ux_host_class_audio_entity_control_get()
208 max = *(control_buffer + pos); in _ux_host_class_audio_entity_control_get()
209 pos ++; in _ux_host_class_audio_entity_control_get()
210 res = *(control_buffer + pos); in _ux_host_class_audio_entity_control_get()
211 pos ++; in _ux_host_class_audio_entity_control_get()
215 min = _ux_utility_short_get(control_buffer + pos); in _ux_host_class_audio_entity_control_get()
216 pos += 2; in _ux_host_class_audio_entity_control_get()
[all …]
Dux_host_class_asix_entry.c150 UINT i, pos; in _ux_host_class_asix_try_all_vid_pids() local
153 for (i = 0, pos = 0; i < n_id_pairs; i ++, pos += 2) in _ux_host_class_asix_try_all_vid_pids()
155 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()
156 (command -> ux_host_class_command_vid == _ux_host_class_asix_vid_pid_array[pos ])) in _ux_host_class_asix_try_all_vid_pids()
Dux_host_class_audio_activate.c108 ULONG pos; in _ux_host_class_audio_activate() local
144 for (pos = 0; pos < ac -> ux_host_class_audio_configuration_descriptor_length;) in _ux_host_class_audio_activate()
212 pos += desc_length; in _ux_host_class_audio_activate()
355 for (pos = 0; pos < ac -> ux_host_class_audio_as_count; pos ++) in _ux_host_class_audio_activate()
357 if (ac -> ux_host_class_audio_as[pos] == UX_NULL) in _ux_host_class_audio_activate()
362 ac -> ux_host_class_audio_as[pos] = audio; in _ux_host_class_audio_activate()
368 if (pos >= ac -> ux_host_class_audio_as_count) in _ux_host_class_audio_activate()
/USBX-v6.2.1/common/usbx_device_classes/src/
Dux_device_class_hid_receiver_event_free.c81 UX_DEVICE_CLASS_HID_RECEIVED_EVENT *pos; in _ux_device_class_hid_receiver_event_free()
88 pos = receiver -> ux_device_class_hid_receiver_event_read_pos; in _ux_device_class_hid_receiver_event_free()
91 …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()
94 if (pos -> ux_device_class_hid_received_event_length == 0) in _ux_device_class_hid_receiver_event_free()
98 …next_pos = (UCHAR *)pos + receiver -> ux_device_class_hid_receiver_event_buffer_size + sizeof(ULON… in _ux_device_class_hid_receiver_event_free()
102 pos -> ux_device_class_hid_received_event_length = 0; in _ux_device_class_hid_receiver_event_free()
Dux_device_class_hid_receiver_event_get.c87 UX_DEVICE_CLASS_HID_RECEIVED_EVENT *pos; in _ux_device_class_hid_receiver_event_get()
97 pos = receiver -> ux_device_class_hid_receiver_event_read_pos; in _ux_device_class_hid_receiver_event_get()
100 if (pos -> ux_device_class_hid_received_event_length != 0) in _ux_device_class_hid_receiver_event_get()
104 …event -> ux_device_class_hid_received_event_length = pos -> ux_device_class_hid_received_event_len… in _ux_device_class_hid_receiver_event_get()
105 …event -> ux_device_class_hid_received_event_data = (UCHAR *)&pos -> ux_device_class_hid_received_e… in _ux_device_class_hid_receiver_event_get()
Dux_device_class_hid_receiver_tasks_run.c77 UX_DEVICE_CLASS_HID_RECEIVED_EVENT *pos; in _ux_device_class_hid_receiver_tasks_run() local
112 pos = receiver -> ux_device_class_hid_receiver_event_save_pos; in _ux_device_class_hid_receiver_tasks_run()
113 if (pos -> ux_device_class_hid_received_event_length != 0) in _ux_device_class_hid_receiver_tasks_run()
159 pos = receiver -> ux_device_class_hid_receiver_event_save_pos; in _ux_device_class_hid_receiver_tasks_run()
160 buffer = (UCHAR *)&pos -> ux_device_class_hid_received_event_data; in _ux_device_class_hid_receiver_tasks_run()
167 …next_pos = (UCHAR *)pos + receiver -> ux_device_class_hid_receiver_event_buffer_size + sizeof(ULON… in _ux_device_class_hid_receiver_tasks_run()
173 pos -> ux_device_class_hid_received_event_length = temp; in _ux_device_class_hid_receiver_tasks_run()
Dux_device_class_hid_receiver_thread.c84 UX_DEVICE_CLASS_HID_RECEIVED_EVENT *pos; in _ux_device_class_hid_receiver_thread() local
115 pos = receiver -> ux_device_class_hid_receiver_event_save_pos; in _ux_device_class_hid_receiver_thread()
116 if (pos -> ux_device_class_hid_received_event_length != 0) in _ux_device_class_hid_receiver_thread()
152 buffer = (UCHAR *)&pos -> ux_device_class_hid_received_event_data; in _ux_device_class_hid_receiver_thread()
162 …next_pos = (UCHAR *)pos + receiver -> ux_device_class_hid_receiver_event_buffer_size + sizeof(ULON… in _ux_device_class_hid_receiver_thread()
168 pos -> ux_device_class_hid_received_event_length = temp; in _ux_device_class_hid_receiver_thread()
Dux_device_class_audio10_control_process.c105 ULONG sam, min, max, pos; in _ux_device_class_audio10_control_process() local
163 for (pos = 1; in _ux_device_class_audio10_control_process()
164 pos < (ULONG)desc[0] * 3 + 1; /* Calculate from byte, no overflow. */ in _ux_device_class_audio10_control_process()
165 pos += 3) in _ux_device_class_audio10_control_process()
167 … sam = (ULONG)desc[pos + 0] | ((ULONG)desc[pos + 1] << 8) | ((ULONG)desc[pos + 2] << 16); in _ux_device_class_audio10_control_process()
Dux_device_class_audio20_control_process.c111 ULONG n_sub, pos, min, max, res, freq; in _ux_device_class_audio20_control_process() local
175 for (pos = 2; pos < (2 + n_sub * 12); pos += 12) in _ux_device_class_audio20_control_process()
177 … = _ux_utility_long_get(control -> ux_device_class_audio20_control_sampling_frequency_range + pos); in _ux_device_class_audio20_control_process()
178 …ux_utility_long_get(control -> ux_device_class_audio20_control_sampling_frequency_range + pos + 4); in _ux_device_class_audio20_control_process()