Home
last modified time | relevance | path

Searched refs:USHORT (Results 1 – 25 of 191) sorted by relevance

12345678

/USBX-v6.2.1/common/core/src/
Dux_host_stack_bandwidth_claim.c88 USHORT hcd_bandwidth_claimed; in _ux_host_stack_bandwidth_claim()
89 USHORT max_packet_size; in _ux_host_stack_bandwidth_claim()
91 USHORT tt_bandwidth_claimed = 0; in _ux_host_stack_bandwidth_claim()
133 max_packet_size = (USHORT)packet_size; in _ux_host_stack_bandwidth_claim()
140 max_packet_size = (USHORT)(max_packet_size * in _ux_host_stack_bandwidth_claim()
151 hcd_bandwidth_claimed = (USHORT)(max_packet_size * 8 * 5); in _ux_host_stack_bandwidth_claim()
157 hcd_bandwidth_claimed = (USHORT)(max_packet_size * 5); in _ux_host_stack_bandwidth_claim()
160 hcd_bandwidth_claimed = (USHORT)max_packet_size; in _ux_host_stack_bandwidth_claim()
166 hcd_bandwidth_claimed = (USHORT)max_packet_size; in _ux_host_stack_bandwidth_claim()
169 tt_bandwidth_claimed = (USHORT)(max_packet_size * 8); in _ux_host_stack_bandwidth_claim()
[all …]
Dux_host_stack_bandwidth_release.c87 USHORT hcd_bandwidth_claimed; in _ux_host_stack_bandwidth_release()
88 USHORT max_packet_size; in _ux_host_stack_bandwidth_release()
90 USHORT tt_bandwidth_claimed = 0; in _ux_host_stack_bandwidth_release()
132 max_packet_size = (USHORT)packet_size; in _ux_host_stack_bandwidth_release()
139 max_packet_size = (USHORT)(max_packet_size * in _ux_host_stack_bandwidth_release()
150 hcd_bandwidth_claimed = (USHORT)(max_packet_size * 8 * 5); in _ux_host_stack_bandwidth_release()
156 hcd_bandwidth_claimed = (USHORT)(max_packet_size * 5); in _ux_host_stack_bandwidth_release()
159 hcd_bandwidth_claimed = (USHORT)max_packet_size; in _ux_host_stack_bandwidth_release()
165 hcd_bandwidth_claimed = (USHORT)max_packet_size; in _ux_host_stack_bandwidth_release()
168 tt_bandwidth_claimed = (USHORT)(max_packet_size * 8); in _ux_host_stack_bandwidth_release()
[all …]
Dux_host_stack_bandwidth_check.c89 USHORT hcd_bandwidth_claimed; in _ux_host_stack_bandwidth_check()
90 USHORT max_packet_size; in _ux_host_stack_bandwidth_check()
92 USHORT tt_bandwidth_claimed = 0; in _ux_host_stack_bandwidth_check()
134 max_packet_size = (USHORT)packet_size; in _ux_host_stack_bandwidth_check()
141 max_packet_size = (USHORT)(max_packet_size * in _ux_host_stack_bandwidth_check()
152 hcd_bandwidth_claimed = (USHORT)(max_packet_size * 8 * 5); in _ux_host_stack_bandwidth_check()
158 hcd_bandwidth_claimed = (USHORT)(max_packet_size * 5); in _ux_host_stack_bandwidth_check()
161 hcd_bandwidth_claimed = (USHORT)max_packet_size; in _ux_host_stack_bandwidth_check()
167 hcd_bandwidth_claimed = (USHORT)max_packet_size; in _ux_host_stack_bandwidth_check()
170 tt_bandwidth_claimed = (USHORT)(max_packet_size * 8); in _ux_host_stack_bandwidth_check()
[all …]
Dux_utility_short_put_big_endian.c70 VOID _ux_utility_short_put_big_endian(UCHAR * address, USHORT value) in _ux_utility_short_put_big_endian()
73 USHORT low_byte_value; in _ux_utility_short_put_big_endian()
74 USHORT high_byte_value; in _ux_utility_short_put_big_endian()
79 high_byte_value = (USHORT)(value<< 8); in _ux_utility_short_put_big_endian()
Dux_utility_short_get.c72 USHORT value; in _ux_utility_short_get()
77 value = (USHORT) *address++; in _ux_utility_short_get()
78 value |= (USHORT)(*address << 8); in _ux_utility_short_get()
Dux_utility_short_get_big_endian.c72 USHORT value; in _ux_utility_short_get_big_endian()
75 value = (USHORT)((*address++) << 8); in _ux_utility_short_get_big_endian()
76 value = (USHORT)(value | *address); in _ux_utility_short_get_big_endian()
/USBX-v6.2.1/common/usbx_device_classes/src/
Dux_device_class_pima_device_info_send.c99 USHORT *array_pointer; in _ux_device_class_pima_device_info_send()
154 ((ULONG)(device_info_pointer - device_info) + sizeof(USHORT))); in _ux_device_class_pima_device_info_send()
160 device_info_pointer += sizeof(USHORT); in _ux_device_class_pima_device_info_send()
169 …((ULONG)(device_info_pointer - device_info) + sizeof(ULONG) + (sizeof(USHORT) * array_field_counte… in _ux_device_class_pima_device_info_send()
172 …_ux_utility_short_put(device_info_pointer + sizeof(ULONG) + (sizeof(USHORT) * array_field_counter), in _ux_device_class_pima_device_info_send()
183 device_info_pointer += sizeof(ULONG) + (sizeof(USHORT) * array_field_counter); in _ux_device_class_pima_device_info_send()
192 …((ULONG)(device_info_pointer - device_info) + sizeof(ULONG) + (sizeof(USHORT) * array_field_counte… in _ux_device_class_pima_device_info_send()
195 …_ux_utility_short_put(device_info_pointer + sizeof(ULONG) + (sizeof(USHORT) * array_field_counter), in _ux_device_class_pima_device_info_send()
206 device_info_pointer += sizeof(ULONG) + (sizeof(USHORT) * array_field_counter); in _ux_device_class_pima_device_info_send()
226 …((ULONG)(device_info_pointer - device_info) + sizeof(ULONG) + (sizeof(USHORT) * array_field_counte… in _ux_device_class_pima_device_info_send()
[all …]
/USBX-v6.2.1/common/usbx_device_classes/inc/
Dux_device_class_audio10.h175 USHORT bcdADC;
176 USHORT wTotalLength;
189 USHORT bcdADC;
190 USHORT wTotalLength;
204 USHORT bcdADC;
205 USHORT wTotalLength;
220 USHORT bcdADC;
221 USHORT wTotalLength;
239 USHORT bcdADC;
240 USHORT wTotalLength;
[all …]
/USBX-v6.2.1/common/usbx_host_classes/src/
Dux_host_class_asix_transmission_callback.c150 packet_header -= sizeof(USHORT) * 2; in _ux_host_class_asix_transmission_callback()
153 _ux_utility_short_put(packet_header, (USHORT)(next_packet -> nx_packet_length)); in _ux_host_class_asix_transmission_callback()
156 … _ux_utility_short_put(packet_header+ sizeof(USHORT), (USHORT)(~next_packet -> nx_packet_length)); in _ux_host_class_asix_transmission_callback()
164 next_packet -> nx_packet_length += (ULONG)sizeof(USHORT) * 2; in _ux_host_class_asix_transmission_callback()
165 next_packet -> nx_packet_prepend_ptr -= sizeof(USHORT) * 2; in _ux_host_class_asix_transmission_callback()
173 next_packet -> nx_packet_length -= (ULONG)sizeof(USHORT) * 2; in _ux_host_class_asix_transmission_callback()
174 next_packet -> nx_packet_prepend_ptr += sizeof(USHORT) * 2; in _ux_host_class_asix_transmission_callback()
182 …x_transfer_request_requested_length = next_packet -> nx_packet_length + (ULONG)sizeof(USHORT) * 2; in _ux_host_class_asix_transmission_callback()
Dux_host_class_asix_write.c155 packet_header -= sizeof(USHORT) * 2; in _ux_host_class_asix_write()
172 if (UX_OVERFLOW_CHECK_ADD_ULONG(packet -> nx_packet_length, sizeof(USHORT) * 2)) in _ux_host_class_asix_write()
180 adjusted_length = packet -> nx_packet_length + (ULONG)sizeof(USHORT) * 2; in _ux_host_class_asix_write()
191 _ux_utility_short_put(packet_header, (USHORT)(packet -> nx_packet_length)); in _ux_host_class_asix_write()
194 _ux_utility_short_put(packet_header + sizeof(USHORT), (USHORT)(~packet -> nx_packet_length)); in _ux_host_class_asix_write()
231 packet -> nx_packet_prepend_ptr -= sizeof(USHORT) * 2; in _ux_host_class_asix_write()
239 packet -> nx_packet_length -= (ULONG)sizeof(USHORT) * 2; in _ux_host_class_asix_write()
240 packet -> nx_packet_prepend_ptr += sizeof(USHORT) * 2; in _ux_host_class_asix_write()
/USBX-v6.2.1/ports/linux/gnu/inc/
Dux_port.h101 typedef unsigned short USHORT; typedef
227 #define inpw(a) *((USHORT *) (a))
230 #define outpw(a, b) *((USHORT *) (a)) = ((USHORT) (b))
238 USHORT inpw(ULONG);
242 USHORT outpw(ULONG,USHORT);
/USBX-v6.2.1/ports/cortex_a5/iar/inc/
Dux_port.h95 typedef unsigned short USHORT; typedef
221 #define inpw(a) *((USHORT *) (a))
224 #define outpw(a, b) *((USHORT *) (a)) = ((USHORT) (b))
232 USHORT inpw(ULONG);
236 VOID outpw(ULONG,USHORT);
/USBX-v6.2.1/ports/cortex_a9/gnu/inc/
Dux_port.h95 typedef unsigned short USHORT; typedef
221 #define inpw(a) *((USHORT *) (a))
224 #define outpw(a, b) *((USHORT *) (a)) = ((USHORT) (b))
232 USHORT inpw(ULONG);
236 VOID outpw(ULONG,USHORT);
/USBX-v6.2.1/ports/cortex_a9/iar/inc/
Dux_port.h95 typedef unsigned short USHORT; typedef
221 #define inpw(a) *((USHORT *) (a))
224 #define outpw(a, b) *((USHORT *) (a)) = ((USHORT) (b))
232 USHORT inpw(ULONG);
236 VOID outpw(ULONG,USHORT);
/USBX-v6.2.1/ports/cortex_m0/gnu/inc/
Dux_port.h97 typedef unsigned short USHORT; typedef
223 #define inpw(a) *((USHORT *) (a))
226 #define outpw(a, b) *((USHORT *) (a)) = ((USHORT) (b))
234 USHORT inpw(ULONG);
238 VOID outpw(ULONG,USHORT);
/USBX-v6.2.1/ports/cortex_m0/iar/inc/
Dux_port.h95 typedef unsigned short USHORT; typedef
221 #define inpw(a) *((USHORT *) (a))
224 #define outpw(a, b) *((USHORT *) (a)) = ((USHORT) (b))
232 USHORT inpw(ULONG);
236 VOID outpw(ULONG,USHORT);
/USBX-v6.2.1/ports/cortex_m4/gnu/inc/
Dux_port.h97 typedef unsigned short USHORT; typedef
223 #define inpw(a) *((USHORT *) (a))
226 #define outpw(a, b) *((USHORT *) (a)) = ((USHORT) (b))
234 USHORT inpw(ULONG);
238 VOID outpw(ULONG,USHORT);
/USBX-v6.2.1/ports/cortex_m4/iar/inc/
Dux_port.h95 typedef unsigned short USHORT; typedef
221 #define inpw(a) *((USHORT *) (a))
224 #define outpw(a, b) *((USHORT *) (a)) = ((USHORT) (b))
232 USHORT inpw(ULONG);
236 VOID outpw(ULONG,USHORT);
/USBX-v6.2.1/ports/cortex_m7/gnu/inc/
Dux_port.h97 typedef unsigned short USHORT; typedef
223 #define inpw(a) *((USHORT *) (a))
226 #define outpw(a, b) *((USHORT *) (a)) = ((USHORT) (b))
234 USHORT inpw(ULONG);
238 VOID outpw(ULONG,USHORT);
/USBX-v6.2.1/ports/cortex_m7/iar/inc/
Dux_port.h95 typedef unsigned short USHORT; typedef
221 #define inpw(a) *((USHORT *) (a))
224 #define outpw(a, b) *((USHORT *) (a)) = ((USHORT) (b))
232 USHORT inpw(ULONG);
236 VOID outpw(ULONG,USHORT);
/USBX-v6.2.1/ports/cortex_r4/gnu/inc/
Dux_port.h95 typedef unsigned short USHORT; typedef
221 #define inpw(a) *((USHORT *) (a))
224 #define outpw(a, b) *((USHORT *) (a)) = ((USHORT) (b))
232 USHORT inpw(ULONG);
236 VOID outpw(ULONG,USHORT);
/USBX-v6.2.1/ports/cortex_r4/iar/inc/
Dux_port.h95 typedef unsigned short USHORT; typedef
221 #define inpw(a) *((USHORT *) (a))
224 #define outpw(a, b) *((USHORT *) (a)) = ((USHORT) (b))
232 USHORT inpw(ULONG);
236 VOID outpw(ULONG,USHORT);
/USBX-v6.2.1/ports/cortex_r5/gnu/inc/
Dux_port.h95 typedef unsigned short USHORT; typedef
221 #define inpw(a) *((USHORT *) (a))
224 #define outpw(a, b) *((USHORT *) (a)) = ((USHORT) (b))
232 USHORT inpw(ULONG);
236 VOID outpw(ULONG,USHORT);
/USBX-v6.2.1/ports/cortex_r5/iar/inc/
Dux_port.h95 typedef unsigned short USHORT; typedef
221 #define inpw(a) *((USHORT *) (a))
224 #define outpw(a, b) *((USHORT *) (a)) = ((USHORT) (b))
232 USHORT inpw(ULONG);
236 VOID outpw(ULONG,USHORT);
/USBX-v6.2.1/ports/generic/inc/
Dux_port.h96 typedef unsigned short USHORT; typedef
222 #define inpw(a) *((USHORT *) (a))
225 #define outpw(a, b) *((USHORT *) (a)) = ((USHORT) (b))
233 USHORT inpw(ULONG);
237 VOID outpw(ULONG,USHORT);

12345678