Home
last modified time | relevance | path

Searched refs:payload_length (Results 1 – 7 of 7) sorted by relevance

/USBX-v6.2.1/common/usbx_device_classes/src/
Dux_device_class_video_read_payload_get.c75 UCHAR **payload_data, ULONG *payload_length) in _ux_device_class_video_read_payload_get() argument
110 …*payload_length = stream -> ux_device_class_video_stream_access_pos -> ux_device_class_video_paylo… in _ux_device_class_video_read_payload_get()
160 UCHAR **payload_data, ULONG *payload_length) in _uxe_device_class_video_read_payload_get() argument
164 if ((stream == UX_NULL) || (payload_data == UX_NULL) || (payload_length == UX_NULL)) in _uxe_device_class_video_read_payload_get()
168 return(_ux_device_class_video_read_payload_get(stream, payload_data, payload_length)); in _uxe_device_class_video_read_payload_get()
/USBX-v6.2.1/common/usbx_host_classes/src/
Dux_host_class_pima_write.c100 ULONG payload_length; in _ux_host_class_pima_write() local
204 payload_length = max_payload_length; in _ux_host_class_pima_write()
208 payload_length = data_length; in _ux_host_class_pima_write()
212 transfer_request -> ux_transfer_request_requested_length = payload_length; in _ux_host_class_pima_write()
250 if (payload_length != transfer_request -> ux_transfer_request_actual_length) in _ux_host_class_pima_write()
254 data_length -= payload_length; in _ux_host_class_pima_write()
257 data_pointer += payload_length; in _ux_host_class_pima_write()
Dux_host_class_pima_read.c110 ULONG payload_length; in _ux_host_class_pima_read() local
208 payload_length = max_payload_length; in _ux_host_class_pima_read()
212 payload_length = data_length; in _ux_host_class_pima_read()
216 transfer_request -> ux_transfer_request_requested_length = payload_length; in _ux_host_class_pima_read()
254 if (payload_length != transfer_request -> ux_transfer_request_actual_length) in _ux_host_class_pima_read()
258 data_length -= payload_length; in _ux_host_class_pima_read()
261 data_pointer += payload_length; in _ux_host_class_pima_read()
Dux_host_class_pima_request_cancel.c84 ULONG payload_length; in _ux_host_class_pima_request_cancel() local
146payload_length = _ux_utility_short_get(request_payload + UX_HOST_CLASS_PIMA_REQUEST_STATUS_OFFSET… in _ux_host_class_pima_request_cancel()
149 if (payload_length < UX_HOST_CLASS_PIMA_REQUEST_STATUS_OFFSET_CODE + sizeof(UINT)) in _ux_host_class_pima_request_cancel()
/USBX-v6.2.1/test/regression/
Dusbx_uxe_device_video_test.c552 ULONG payload_length; in ux_test_thread_simulation_0_entry() local
565 status = ux_device_class_video_read_payload_get(UX_NULL, dummy_payload, &payload_length); in ux_test_thread_simulation_0_entry()
568 status = ux_device_class_video_read_payload_get(&dummy_video_stream, UX_NULL, &payload_length); in ux_test_thread_simulation_0_entry()
580 status = ux_device_class_video_write_payload_get(UX_NULL, dummy_payload, &payload_length); in ux_test_thread_simulation_0_entry()
583 status = ux_device_class_video_write_payload_get(&dummy_video_stream, UX_NULL, &payload_length); in ux_test_thread_simulation_0_entry()
Dusbx_ux_device_class_video_basic_tests.c464 ULONG payload_length; in ux_device_class_video_tx_hook() local
467 … ux_device_class_video_write_payload_get(device_video_tx_stream, &payload, &payload_length); in ux_device_class_video_tx_hook()
490 static VOID device_video_rx_simulate_one_payload(UCHAR *payload, ULONG payload_length) in device_video_rx_simulate_one_payload() argument
493 if (payload_length) in device_video_rx_simulate_one_payload()
495 …ry_copy(device_video_rx_transfer->ux_slave_transfer_request_data_pointer, payload, payload_length); in device_video_rx_simulate_one_payload()
496 device_video_rx_transfer->ux_slave_transfer_request_actual_length = payload_length; in device_video_rx_simulate_one_payload()
/USBX-v6.2.1/common/usbx_device_classes/inc/
Dux_device_class_video.h660 …read_payload_get(UX_DEVICE_CLASS_VIDEO_STREAM *video, UCHAR **payload_data, ULONG *payload_length);
675 …read_payload_get(UX_DEVICE_CLASS_VIDEO_STREAM *video, UCHAR **payload_data, ULONG *payload_length);