Home
last modified time | relevance | path

Searched refs:request_length (Results 1 – 14 of 14) sorted by relevance

/USBX-v6.2.1/common/usbx_host_classes/src/
Dux_host_class_cdc_acm_transmission_callback.c79 ULONG request_length; in _ux_host_class_cdc_acm_transmission_callback() local
94 request_length = cdc_acm -> ux_host_class_cdc_acm_write_length - in _ux_host_class_cdc_acm_transmission_callback()
96 if (request_length > 0) in _ux_host_class_cdc_acm_transmission_callback()
100 if (request_length > transfer_request -> ux_transfer_request_maximum_length) in _ux_host_class_cdc_acm_transmission_callback()
101 request_length = transfer_request -> ux_transfer_request_maximum_length; in _ux_host_class_cdc_acm_transmission_callback()
106 transfer_request -> ux_transfer_request_requested_length = request_length; in _ux_host_class_cdc_acm_transmission_callback()
/USBX-v6.2.1/common/usbx_device_classes/src/
Dux_device_class_audio20_control_process.c108 ULONG request_length; in _ux_device_class_audio20_control_process() local
124request_length = _ux_utility_short_get(transfer -> ux_slave_transfer_request_setup + UX_SETUP_LE… in _ux_device_class_audio20_control_process()
151 if (request_length != 4) in _ux_device_class_audio20_control_process()
208 if (request_length < 4) in _ux_device_class_audio20_control_process()
216 _ux_device_stack_transfer_request(transfer, 4, request_length); in _ux_device_class_audio20_control_process()
222 if (request_length < 2) in _ux_device_class_audio20_control_process()
240 data_length = UX_MIN(data_length, request_length); in _ux_device_class_audio20_control_process()
259 data_length = UX_MIN(14, request_length); in _ux_device_class_audio20_control_process()
263 _ux_device_stack_transfer_request(transfer, data_length, request_length); in _ux_device_class_audio20_control_process()
301 if (request_length < 1) in _ux_device_class_audio20_control_process()
[all …]
Dux_device_class_hid_control_request.c104 ULONG request_length; in _ux_device_class_hid_control_request() local
119request_length = _ux_utility_short_get(transfer_request -> ux_slave_transfer_request_setup + UX_… in _ux_device_class_hid_control_request()
137 _ux_device_class_hid_report_get(hid, request_value, request_index, request_length); in _ux_device_class_hid_control_request()
146 _ux_device_class_hid_report_set(hid, descriptor_type, request_index, request_length); in _ux_device_class_hid_control_request()
152 _ux_device_class_hid_descriptor_send(hid, request_value, request_index, request_length); in _ux_device_class_hid_control_request()
165 _ux_device_stack_transfer_request(transfer_request, 1, request_length); in _ux_device_class_hid_control_request()
210 _ux_device_stack_transfer_request(transfer_request, 1, request_length); in _ux_device_class_hid_control_request()
Dux_device_class_pima_control_request.c91 ULONG request_length; in _ux_device_class_pima_control_request() local
109request_length = _ux_utility_short_get(transfer_request -> ux_slave_transfer_request_setup + UX_SE… in _ux_device_class_pima_control_request()
124 if (request_length != 6) in _ux_device_class_pima_control_request()
160 if (request_length < 2) in _ux_device_class_pima_control_request()
172 length = UX_MIN(request_length, length); in _ux_device_class_pima_control_request()
178 _ux_device_stack_transfer_request(transfer_request, length, request_length); in _ux_device_class_pima_control_request()
Dux_device_class_audio10_control_process.c103 ULONG request_length; in _ux_device_class_audio10_control_process() local
120request_length = _ux_utility_short_get(transfer -> ux_slave_transfer_request_setup + UX_SETUP_LE… in _ux_device_class_audio10_control_process()
145 if (request_length != 3) in _ux_device_class_audio10_control_process()
196 if (request_length < 3) in _ux_device_class_audio10_control_process()
204 _ux_device_stack_transfer_request(transfer, 3, request_length); in _ux_device_class_audio10_control_process()
291 if (request_length < 1) in _ux_device_class_audio10_control_process()
296 _ux_device_stack_transfer_request(transfer, 1, request_length); in _ux_device_class_audio10_control_process()
304 if (request_length < 2) in _ux_device_class_audio10_control_process()
313 _ux_device_stack_transfer_request(transfer, 2, request_length); in _ux_device_class_audio10_control_process()
Dux_device_class_cdc_acm_control_request.c84 ULONG request_length; in _ux_device_class_cdc_acm_control_request() local
106request_length = _ux_utility_short_get(transfer_request -> ux_slave_transfer_request_setup + UX_… in _ux_device_class_cdc_acm_control_request()
108 transmit_length = request_length ; in _ux_device_class_cdc_acm_control_request()
141 if (request_length > UX_SLAVE_CLASS_CDC_ACM_LINE_CODING_RESPONSE_SIZE) in _ux_device_class_cdc_acm_control_request()
155 _ux_device_stack_transfer_request(transfer_request, transmit_length, request_length); in _ux_device_class_cdc_acm_control_request()
Dux_device_class_storage_control_request.c93 ULONG request_length; in _ux_device_class_storage_control_request() local
111request_length = _ux_utility_short_get(transfer_request -> ux_slave_transfer_request_setup + UX_SE… in _ux_device_class_storage_control_request()
130 if (request_length != 0) in _ux_device_class_storage_control_request()
178 if (request_length < 1) in _ux_device_class_storage_control_request()
Dux_device_class_ccid_control_request.c81 ULONG request_length; in _ux_device_class_ccid_control_request() local
101request_length = _ux_utility_short_get(transfer_request -> ux_slave_transfer_request_setup + UX_… in _ux_device_class_ccid_control_request()
156 transmit_length = UX_MIN(transmit_length, request_length); in _ux_device_class_ccid_control_request()
163 _ux_device_stack_transfer_request(transfer_request, transmit_length, request_length); in _ux_device_class_ccid_control_request()
Dux_device_class_printer_control_request.c87 ULONG request_length; in _ux_device_class_printer_control_request() local
119request_length = _ux_utility_short_get(transfer_request -> ux_slave_transfer_request_setup + UX_… in _ux_device_class_printer_control_request()
227 _ux_device_stack_transfer_request(transfer_request, length, request_length); in _ux_device_class_printer_control_request()
233 if (request_length < 1) in _ux_device_class_printer_control_request()
243 _ux_device_stack_transfer_request(transfer_request, 1, request_length); in _ux_device_class_printer_control_request()
Dux_device_class_dfu_control_request.c116 ULONG request_length; in _ux_device_class_dfu_control_request() local
161request_length = _ux_utility_short_get(transfer_request -> ux_slave_transfer_request_setup + UX_… in _ux_device_class_dfu_control_request()
302 … (request_length != transfer_request -> ux_slave_transfer_request_actual_length)) in _ux_device_class_dfu_control_request()
313 else if (request_length == 0) in _ux_device_class_dfu_control_request()
336 request_length, in _ux_device_class_dfu_control_request()
416 (request_length == 0) || in _ux_device_class_dfu_control_request()
417 (request_length > UX_SLAVE_REQUEST_CONTROL_MAX_LENGTH)) in _ux_device_class_dfu_control_request()
435 request_length, in _ux_device_class_dfu_control_request()
450 … _ux_device_stack_transfer_request(transfer_request, actual_length, request_length); in _ux_device_class_dfu_control_request()
567 … (request_length != transfer_request -> ux_slave_transfer_request_actual_length)) in _ux_device_class_dfu_control_request()
[all …]
Dux_device_class_rndis_control_request.c105 ULONG request_length; in _ux_device_class_rndis_control_request() local
118request_length = _ux_utility_short_get(transfer_request -> ux_slave_transfer_request_setup + UX_… in _ux_device_class_rndis_control_request()
206 …_transfer_request(transfer_request, rndis -> ux_slave_class_rndis_response_length, request_length); in _ux_device_class_rndis_control_request()
/USBX-v6.2.1/common/core/src/
Dux_device_stack_control_request_process.c110 ULONG request_length; in _ux_device_stack_control_request_process() local
132request_length = _ux_utility_short_get(transfer_request -> ux_slave_transfer_request_setup + UX_… in _ux_device_stack_control_request_process()
158 … request_index, request_length, in _ux_device_stack_control_request_process()
176 … _ux_device_stack_transfer_request(transfer_request, application_data_length, request_length); in _ux_device_stack_control_request_process()
263 status = _ux_device_stack_get_status(request_type, request_index, request_length); in _ux_device_stack_control_request_process()
287 … status = _ux_device_stack_descriptor_send(request_value, request_index, request_length); in _ux_device_stack_control_request_process()
Dux_device_stack_get_status.c78 UINT _ux_device_stack_get_status(ULONG request_type, ULONG request_index, ULONG request_length) in _ux_device_stack_get_status() argument
88 UX_PARAMETER_NOT_USED(request_length); in _ux_device_stack_get_status()
91 …NSERT(UX_TRACE_DEVICE_STACK_GET_STATUS, request_type, request_index, request_length, 0, UX_TRACE_D… in _ux_device_stack_get_status()
/USBX-v6.2.1/common/core/inc/
Dux_device_stack.h89 UINT _ux_device_stack_get_status(ULONG request_type, ULONG request_index, ULONG request_length);