| /USBX-v6.2.1/common/usbx_host_classes/src/ |
| D | ux_host_class_video_activate.c | 43 UX_HOST_CLASS_VIDEO *video; member 59 UX_HOST_CLASS_VIDEO *video; in _ux_host_class_video_descriptors_parser() local 68 video = parser -> video; in _ux_host_class_video_descriptors_parser() 76 if (video -> ux_host_class_video_control_interface_number == 0xFF) in _ux_host_class_video_descriptors_parser() 84 streaming_interface = video -> ux_host_class_video_streaming_interface; in _ux_host_class_video_descriptors_parser() 102 … video -> ux_host_class_video_control_interface_number = packed_interface_descriptor[2]; in _ux_host_class_video_descriptors_parser() 116 … else if (packed_interface_descriptor[2] == video -> ux_host_class_video_control_interface_number) in _ux_host_class_video_descriptors_parser() 123 video -> ux_host_class_video_feature_unit_id == 0) in _ux_host_class_video_descriptors_parser() 128 video -> ux_host_class_video_feature_unit_id = packed_entity_descriptor[3]; in _ux_host_class_video_descriptors_parser() 133 video -> ux_host_class_video_terminal_id == 0) in _ux_host_class_video_descriptors_parser() [all …]
|
| D | ux_host_class_video_deactivate.c | 92 UX_HOST_CLASS_VIDEO *video; in _ux_host_class_video_deactivate() local 96 video= (UX_HOST_CLASS_VIDEO *) command -> ux_host_class_command_instance; in _ux_host_class_video_deactivate() 99 video -> ux_host_class_video_state = UX_HOST_CLASS_INSTANCE_SHUTDOWN; in _ux_host_class_video_deactivate() 102 status = _ux_host_semaphore_get(&video -> ux_host_class_video_semaphore, UX_WAIT_FOREVER); in _ux_host_class_video_deactivate() 109 if (video -> ux_host_class_video_isochronous_endpoint) in _ux_host_class_video_deactivate() 110 _ux_host_stack_endpoint_transfer_abort(video -> ux_host_class_video_isochronous_endpoint); in _ux_host_class_video_deactivate() 117 if (video -> ux_host_class_video_configuration_descriptor) in _ux_host_class_video_deactivate() 118 _ux_utility_memory_free(video -> ux_host_class_video_configuration_descriptor); in _ux_host_class_video_deactivate() 121 _ux_host_stack_class_instance_destroy(video -> ux_host_class_video_class, (VOID *) video); in _ux_host_class_video_deactivate() 124 _ux_host_semaphore_delete(&video -> ux_host_class_video_semaphore); in _ux_host_class_video_deactivate() [all …]
|
| D | ux_host_class_video_transfer_buffers_add.c | 103 UINT _ux_host_class_video_transfer_buffers_add(UX_HOST_CLASS_VIDEO *video, UCHAR** buffers, ULONG … in _ux_host_class_video_transfer_buffers_add() argument 116 …if (_ux_host_stack_class_instance_verify(_ux_system_host_class_video_name, (VOID *) video) != UX_S… in _ux_host_class_video_transfer_buffers_add() 126 status = _ux_host_semaphore_get(&video -> ux_host_class_video_semaphore, UX_WAIT_FOREVER); in _ux_host_class_video_transfer_buffers_add() 131 endpoint = video -> ux_host_class_video_isochronous_endpoint; in _ux_host_class_video_transfer_buffers_add() 139 _ux_host_semaphore_put(&video -> ux_host_class_video_semaphore); in _ux_host_class_video_transfer_buffers_add() 149 if (video -> ux_host_class_video_transfer_request_start_index >= in _ux_host_class_video_transfer_buffers_add() 150 video -> ux_host_class_video_transfer_request_end_index) in _ux_host_class_video_transfer_buffers_add() 153 if (video -> ux_host_class_video_transfer_request_start_index + num_buffers >= in _ux_host_class_video_transfer_buffers_add() 154 …video -> ux_host_class_video_transfer_request_end_index + UX_HOST_CLASS_VIDEO_TRANSFER_REQUEST_COU… in _ux_host_class_video_transfer_buffers_add() 159 if (video -> ux_host_class_video_transfer_request_start_index + num_buffers >= in _ux_host_class_video_transfer_buffers_add() [all …]
|
| D | ux_host_class_video_ioctl.c | 89 UINT _ux_host_class_video_ioctl(UX_HOST_CLASS_VIDEO *video, ULONG ioctl_function, in _ux_host_class_video_ioctl() argument 102 if ((video -> ux_host_class_video_state != UX_HOST_CLASS_INSTANCE_LIVE) && in _ux_host_class_video_ioctl() 103 (video -> ux_host_class_video_state != UX_HOST_CLASS_INSTANCE_MOUNTING)) in _ux_host_class_video_ioctl() 122 if (video -> ux_host_class_video_terminal_id != 0) in _ux_host_class_video_ioctl() 129 …input_terminal -> ux_host_class_video_parameter_input_terminal_id = video -> ux_host_class_video_t… in _ux_host_class_video_ioctl() 132 …input_terminal -> ux_host_class_video_parameter_input_terminal_type = video -> ux_host_class_video… in _ux_host_class_video_ioctl() 146 …number_formats -> ux_host_class_video_parameter_number_formats = video -> ux_host_class_video_numb… in _ux_host_class_video_ioctl() 159 status = _ux_host_class_video_format_data_get(video, format_parameter); in _ux_host_class_video_ioctl() 168 status = _ux_host_class_video_frame_data_get(video, frame_parameter); in _ux_host_class_video_ioctl() 177 status = _ux_host_class_video_frame_interval_get(video, interval_parameter); in _ux_host_class_video_ioctl() [all …]
|
| D | ux_host_class_video_transfer_buffer_add.c | 94 UINT _ux_host_class_video_transfer_buffer_add(UX_HOST_CLASS_VIDEO *video, UCHAR* buffer) in _ux_host_class_video_transfer_buffer_add() argument 104 …if (_ux_host_stack_class_instance_verify(_ux_system_host_class_video_name, (VOID *) video) != UX_S… in _ux_host_class_video_transfer_buffer_add() 117 status = _ux_host_semaphore_get(&video -> ux_host_class_video_semaphore, UX_WAIT_FOREVER); in _ux_host_class_video_transfer_buffer_add() 122 endpoint = video -> ux_host_class_video_isochronous_endpoint; in _ux_host_class_video_transfer_buffer_add() 130 _ux_host_semaphore_put(&video -> ux_host_class_video_semaphore); in _ux_host_class_video_transfer_buffer_add() 139 transfer_index = video->ux_host_class_video_transfer_request_start_index; in _ux_host_class_video_transfer_buffer_add() 143 if (transfer_index == video->ux_host_class_video_transfer_request_end_index) in _ux_host_class_video_transfer_buffer_add() 147 _ux_host_semaphore_put(&video -> ux_host_class_video_semaphore); in _ux_host_class_video_transfer_buffer_add() 153 …transfer_request = &video->ux_host_class_video_transfer_requests[video->ux_host_class_video_transf… in _ux_host_class_video_transfer_buffer_add() 154 video->ux_host_class_video_transfer_request_start_index = transfer_index; in _ux_host_class_video_transfer_buffer_add() [all …]
|
| D | ux_host_class_video_stop.c | 86 UINT _ux_host_class_video_stop(UX_HOST_CLASS_VIDEO *video) in _ux_host_class_video_stop() argument 96 status = _ux_host_semaphore_get(&video -> ux_host_class_video_semaphore, UX_WAIT_FOREVER); in _ux_host_class_video_stop() 99 …streaming_interface = video -> ux_host_class_video_streaming_interface -> ux_interface_descriptor… in _ux_host_class_video_stop() 102 if (video -> ux_host_class_video_isochronous_endpoint != UX_NULL) in _ux_host_class_video_stop() 106 _ux_host_stack_endpoint_transfer_abort(video -> ux_host_class_video_isochronous_endpoint); in _ux_host_class_video_stop() 111 …configuration = video -> ux_host_class_video_streaming_interface -> ux_interface_configurat… in _ux_host_class_video_stop() 132 video -> ux_host_class_video_streaming_interface = interface_ptr; in _ux_host_class_video_stop() 135 video -> ux_host_class_video_isochronous_endpoint = UX_NULL; in _ux_host_class_video_stop() 138 _ux_host_semaphore_put(&video -> ux_host_class_video_semaphore); in _ux_host_class_video_stop() 150 _ux_host_semaphore_put(&video -> ux_host_class_video_semaphore); in _ux_host_class_video_stop() [all …]
|
| D | ux_host_class_video_start.c | 71 UINT _ux_host_class_video_start(UX_HOST_CLASS_VIDEO *video) in _ux_host_class_video_start() argument 79 …channel_parameter.ux_host_class_video_parameter_format_requested = video -> ux_host_class_video_cu… in _ux_host_class_video_start() 80 …channel_parameter.ux_host_class_video_parameter_frame_requested = video -> ux_host_class_video_cur… in _ux_host_class_video_start() 81 …channel_parameter.ux_host_class_video_parameter_frame_interval_requested = video -> ux_host_class_… in _ux_host_class_video_start() 85 status = _ux_host_class_video_channel_start(video, &channel_parameter); in _ux_host_class_video_start() 88 video -> ux_host_class_video_transfer_request_start_index = 0; in _ux_host_class_video_start() 89 video -> ux_host_class_video_transfer_request_end_index = 0; in _ux_host_class_video_start() 132 UINT _uxe_host_class_video_start(UX_HOST_CLASS_VIDEO *video) in _uxe_host_class_video_start() argument 136 if (video == UX_NULL) in _uxe_host_class_video_start() 140 return(_ux_host_class_video_start(video)); in _uxe_host_class_video_start()
|
| D | ux_host_class_video_read.c | 94 UINT _ux_host_class_video_read(UX_HOST_CLASS_VIDEO *video, UX_HOST_CLASS_VIDEO_TRANSFER_REQUEST *v… in _ux_host_class_video_read() argument 102 …if (_ux_host_stack_class_instance_verify(_ux_system_host_class_video_name, (VOID *) video) != UX_S… in _ux_host_class_video_read() 112 status = _ux_host_semaphore_get(&video -> ux_host_class_video_semaphore, UX_WAIT_FOREVER); in _ux_host_class_video_read() 120 if ((video -> ux_host_class_video_isochronous_endpoint == UX_NULL) || in _ux_host_class_video_read() 121 … (video -> ux_host_class_video_isochronous_endpoint -> ux_endpoint_descriptor.wMaxPacketSize == 0)) in _ux_host_class_video_read() 125 _ux_host_semaphore_put(&video -> ux_host_class_video_semaphore); in _ux_host_class_video_read() 138 status = _ux_host_class_video_transfer_request(video, transfer_list); in _ux_host_class_video_read() 141 _ux_host_semaphore_put(&video -> ux_host_class_video_semaphore); in _ux_host_class_video_read() 186 UINT _uxe_host_class_video_read(UX_HOST_CLASS_VIDEO *video, UX_HOST_CLASS_VIDEO_TRANSFER_REQUEST *… in _uxe_host_class_video_read() argument 190 if ((video == UX_NULL) || (video_transfer_request == UX_NULL)) in _uxe_host_class_video_read() [all …]
|
| D | ux_host_class_video_control_value_set.c | 85 UINT _ux_host_class_video_control_value_set(UX_HOST_CLASS_VIDEO *video, UX_HOST_CLASS_VIDEO_CONTRO… in _ux_host_class_video_control_value_set() argument 95 …if (_ux_host_stack_class_instance_verify(_ux_system_host_class_video_name, (VOID *) video) != UX_S… in _ux_host_class_video_control_value_set() 108 status = _ux_host_semaphore_get(&video -> ux_host_class_video_semaphore, UX_WAIT_FOREVER); in _ux_host_class_video_control_value_set() 113 control_endpoint = &video -> ux_host_class_video_device -> ux_device_control_endpoint; in _ux_host_class_video_control_value_set() 122 _ux_host_semaphore_put(&video -> ux_host_class_video_semaphore); in _ux_host_class_video_control_value_set() 133 …status = _ux_host_semaphore_get(&video -> ux_host_class_video_device -> ux_device_protection_sema… in _ux_host_class_video_control_value_set() 147 …t -> ux_transfer_request_index = video -> ux_host_class_video_control_interface_number… in _ux_host_class_video_control_value_set() 160 _ux_host_semaphore_put(&video -> ux_host_class_video_semaphore); in _ux_host_class_video_control_value_set() 170 _ux_host_semaphore_put(&video -> ux_host_class_video_semaphore); in _ux_host_class_video_control_value_set() 217 UINT _uxe_host_class_video_control_value_set(UX_HOST_CLASS_VIDEO *video, UX_HOST_CLASS_VIDEO_CONTR… in _uxe_host_class_video_control_value_set() argument [all …]
|
| D | ux_host_class_video_control_value_get.c | 86 UINT _ux_host_class_video_control_value_get(UX_HOST_CLASS_VIDEO *video, UX_HOST_CLASS_VIDEO_CONTRO… in _ux_host_class_video_control_value_get() argument 96 …if (_ux_host_stack_class_instance_verify(_ux_system_host_class_video_name, (VOID *) video) != UX_S… in _ux_host_class_video_control_value_get() 109 status = _ux_host_semaphore_get(&video -> ux_host_class_video_semaphore, UX_WAIT_FOREVER); in _ux_host_class_video_control_value_get() 114 control_endpoint = &video -> ux_host_class_video_device -> ux_device_control_endpoint; in _ux_host_class_video_control_value_get() 123 _ux_host_semaphore_put(&video -> ux_host_class_video_semaphore); in _ux_host_class_video_control_value_get() 131 …status = _ux_host_semaphore_get(&video -> ux_host_class_video_device -> ux_device_protection_sema… in _ux_host_class_video_control_value_get() 145 …t -> ux_transfer_request_index = video -> ux_host_class_video_control_interface_number… in _ux_host_class_video_control_value_get() 164 _ux_host_semaphore_put(&video -> ux_host_class_video_semaphore); in _ux_host_class_video_control_value_get() 174 _ux_host_semaphore_put(&video -> ux_host_class_video_semaphore); in _ux_host_class_video_control_value_get() 221 UINT _uxe_host_class_video_control_value_get(UX_HOST_CLASS_VIDEO *video, UX_HOST_CLASS_VIDEO_CONTR… in _uxe_host_class_video_control_value_get() argument [all …]
|
| D | ux_host_class_video_transfer_request_callback.c | 79 UX_HOST_CLASS_VIDEO *video; in _ux_host_class_video_transfer_request_callback() local 85 video = (UX_HOST_CLASS_VIDEO *) transfer_request -> ux_transfer_request_class_instance; in _ux_host_class_video_transfer_request_callback() 88 if (video == UX_NULL) in _ux_host_class_video_transfer_request_callback() 92 endpoint = video -> ux_host_class_video_isochronous_endpoint; in _ux_host_class_video_transfer_request_callback() 97 transfer_index = video -> ux_host_class_video_transfer_request_end_index; in _ux_host_class_video_transfer_request_callback() 103 video -> ux_host_class_video_transfer_request_end_index = transfer_index; in _ux_host_class_video_transfer_request_callback() 106 if (video -> ux_host_class_video_transfer_completion_function) in _ux_host_class_video_transfer_request_callback() 107 video -> ux_host_class_video_transfer_completion_function(transfer_request); in _ux_host_class_video_transfer_request_callback()
|
| D | ux_host_class_video_control_get.c | 86 UINT _ux_host_class_video_control_get(UX_HOST_CLASS_VIDEO *video, UX_HOST_CLASS_VIDEO_CONTROL *vid… in _ux_host_class_video_control_get() argument 96 …if (_ux_host_stack_class_instance_verify(_ux_system_host_class_video_name, (VOID *) video) != UX_S… in _ux_host_class_video_control_get() 109 status = _ux_host_semaphore_get(&video -> ux_host_class_video_semaphore, UX_WAIT_FOREVER); in _ux_host_class_video_control_get() 114 control_endpoint = &video -> ux_host_class_video_device -> ux_device_control_endpoint; in _ux_host_class_video_control_get() 123 _ux_host_semaphore_put(&video -> ux_host_class_video_semaphore); in _ux_host_class_video_control_get() 131 …status = _ux_host_semaphore_get(&video -> ux_host_class_video_device -> ux_device_protection_sema… in _ux_host_class_video_control_get() 145 …t -> ux_transfer_request_index = video -> ux_host_class_video_control_interface_number… in _ux_host_class_video_control_get() 164 _ux_host_semaphore_put(&video -> ux_host_class_video_semaphore); in _ux_host_class_video_control_get() 190 _ux_host_semaphore_put(&video -> ux_host_class_video_semaphore); in _ux_host_class_video_control_get() 214 _ux_host_semaphore_put(&video -> ux_host_class_video_semaphore); in _ux_host_class_video_control_get() [all …]
|
| D | ux_host_class_video_frame_parameters_set.c | 96 UINT _ux_host_class_video_frame_parameters_set(UX_HOST_CLASS_VIDEO *video, ULONG frame_format, ULO… in _ux_host_class_video_frame_parameters_set() argument 116 …for (format_index = 1; format_index <= video -> ux_host_class_video_number_formats; format_index++) in _ux_host_class_video_frame_parameters_set() 121 status = _ux_host_class_video_format_data_get(video, &format_parameter); in _ux_host_class_video_frame_parameters_set() 132 …video -> ux_host_class_video_number_frames = format_parameter.ux_host_class_video_parameter_number… in _ux_host_class_video_frame_parameters_set() 140 if (format_index > video -> ux_host_class_video_number_formats) in _ux_host_class_video_frame_parameters_set() 146 for (frame_index = 1; frame_index <= video -> ux_host_class_video_number_frames; frame_index++) in _ux_host_class_video_frame_parameters_set() 151 status = _ux_host_class_video_frame_data_get(video, &frame_parameter); in _ux_host_class_video_frame_parameters_set() 163 video -> ux_host_class_video_current_frame = frame_index; in _ux_host_class_video_frame_parameters_set() 171 if (frame_index > video -> ux_host_class_video_number_frames) in _ux_host_class_video_frame_parameters_set() 195 video -> ux_host_class_video_current_frame_interval = frame_interval; in _ux_host_class_video_frame_parameters_set() [all …]
|
| D | ux_host_class_video_control_request.c | 88 UINT _ux_host_class_video_control_request(UX_HOST_CLASS_VIDEO *video, in _ux_host_class_video_control_request() argument 104 …if (_ux_host_stack_class_instance_verify(_ux_system_host_class_video_name, (VOID *) video) != UX_S… in _ux_host_class_video_control_request() 108 …status = _ux_host_semaphore_get(&video -> ux_host_class_video_semaphore_control_request, UX_WAIT_… in _ux_host_class_video_control_request() 113 control_endpoint = &video -> ux_host_class_video_device -> ux_device_control_endpoint; in _ux_host_class_video_control_request() 122 _ux_host_semaphore_put(&video -> ux_host_class_video_semaphore_control_request); in _ux_host_class_video_control_request() 142 …status = _ux_host_semaphore_get(&video -> ux_host_class_video_device -> ux_device_protection_sema… in _ux_host_class_video_control_request() 150 _ux_host_semaphore_put(&video -> ux_host_class_video_semaphore_control_request); in _ux_host_class_video_control_request() 156 interface_number = (UCHAR)video -> ux_host_class_video_control_interface_number; in _ux_host_class_video_control_request() 161 interface_ptr = video -> ux_host_class_video_streaming_interface; in _ux_host_class_video_control_request() 184 _ux_host_semaphore_put(&video -> ux_host_class_video_semaphore_control_request); in _ux_host_class_video_control_request() [all …]
|
| D | ux_host_class_video_configure.c | 84 UINT _ux_host_class_video_configure(UX_HOST_CLASS_VIDEO *video) in _ux_host_class_video_configure() argument 98 if (video -> ux_host_class_video_device -> ux_device_state == UX_DEVICE_CONFIGURED) in _ux_host_class_video_configure() 103 …status = _ux_host_stack_device_configuration_get(video -> ux_host_class_video_device, 0, &configu… in _ux_host_class_video_configure() 111 …UX_TRACE_IN_LINE_INSERT(UX_TRACE_ERROR, UX_CONFIGURATION_HANDLE_UNKNOWN, video -> ux_host_class_vi… in _ux_host_class_video_configure() 120 if (video -> ux_host_class_video_device -> ux_device_power_source == UX_DEVICE_BUS_POWERED) in _ux_host_class_video_configure() 124 parent_device = video -> ux_host_class_video_device -> ux_device_parent; in _ux_host_class_video_configure() 165 video -> ux_host_class_video_streaming_interface = interface; in _ux_host_class_video_configure() 166 … video -> ux_host_class_video_streaming_interface -> ux_interface_class_instance = (VOID *)video; in _ux_host_class_video_configure() 176 if (video -> ux_host_class_video_streaming_interface == UX_NULL) in _ux_host_class_video_configure()
|
| D | ux_host_class_video_max_payload_get.c | 72 ULONG _ux_host_class_video_max_payload_get(UX_HOST_CLASS_VIDEO *video) in _ux_host_class_video_max_payload_get() argument 76 return(video ->ux_host_class_video_current_max_payload_size); in _ux_host_class_video_max_payload_get() 116 ULONG _uxe_host_class_video_max_payload_get(UX_HOST_CLASS_VIDEO *video) in _uxe_host_class_video_max_payload_get() argument 120 if (video == UX_NULL) in _uxe_host_class_video_max_payload_get() 124 return(_ux_host_class_video_max_payload_get(video)); in _uxe_host_class_video_max_payload_get()
|
| D | ux_host_class_video_channel_start.c | 96 UINT _ux_host_class_video_channel_start(UX_HOST_CLASS_VIDEO *video, UX_HOST_CLASS_VIDEO_PARAMETER_… in _ux_host_class_video_channel_start() argument 113 status = _ux_host_semaphore_get(&video -> ux_host_class_video_semaphore, UX_WAIT_FOREVER); in _ux_host_class_video_channel_start() 116 control_endpoint = &video -> ux_host_class_video_device -> ux_device_control_endpoint; in _ux_host_class_video_channel_start() 120 …streaming_interface = video -> ux_host_class_video_streaming_interface -> ux_interface_descriptor… in _ux_host_class_video_channel_start() 128 _ux_host_semaphore_put(&video -> ux_host_class_video_semaphore); in _ux_host_class_video_channel_start() 205 …status = _ux_host_class_video_alternate_setting_locate(video, max_payload_size, &alternate_settin… in _ux_host_class_video_channel_start() 213 …configuration = video -> ux_host_class_video_streaming_interface -> ux_interface_configurat… in _ux_host_class_video_channel_start() 234 … video -> ux_host_class_video_streaming_interface = interface_ptr; in _ux_host_class_video_channel_start() 241 … status = _ux_host_stack_interface_endpoint_get(video -> ux_host_class_video_streaming_interface, in _ux_host_class_video_channel_start() 253 … video -> ux_host_class_video_isochronous_endpoint = endpoint; in _ux_host_class_video_channel_start() [all …]
|
| D | ux_host_class_video_transfer_callback_set.c | 72 VOID _ux_host_class_video_transfer_callback_set(UX_HOST_CLASS_VIDEO *video, VOID (*callback_functi… in _ux_host_class_video_transfer_callback_set() argument 76 video -> ux_host_class_video_transfer_completion_function = callback_function; in _ux_host_class_video_transfer_callback_set() 120 VOID _uxe_host_class_video_transfer_callback_set(UX_HOST_CLASS_VIDEO *video, VOID (*callback_funct… in _uxe_host_class_video_transfer_callback_set() argument 124 if (video == UX_NULL) in _uxe_host_class_video_transfer_callback_set() 133 _ux_host_class_video_transfer_callback_set(video, callback_function); in _uxe_host_class_video_transfer_callback_set()
|
| D | ux_host_class_video_entities_parse.c | 90 UINT _ux_host_class_video_entities_parse(UX_HOST_CLASS_VIDEO *video, in _ux_host_class_video_entities_parse() argument 107 if (video -> ux_host_class_video_device -> ux_device_state != UX_DEVICE_CONFIGURED) in _ux_host_class_video_entities_parse() 111 descriptor = video -> ux_host_class_video_configuration_descriptor; in _ux_host_class_video_entities_parse() 112 total_descriptor_length = video -> ux_host_class_video_configuration_descriptor_length; in _ux_host_class_video_entities_parse() 151 interface_ptr = video -> ux_host_class_video_streaming_interface; in _ux_host_class_video_entities_parse() 232 UINT _uxe_host_class_video_entities_parse(UX_HOST_CLASS_VIDEO *video, in _uxe_host_class_video_entities_parse() argument 240 if (video == UX_NULL) in _uxe_host_class_video_entities_parse() 244 return(_ux_host_class_video_entities_parse(video, parse_function, arg)); in _uxe_host_class_video_entities_parse()
|
| /USBX-v6.2.1/common/usbx_device_classes/src/ |
| D | ux_device_class_video_activate.c | 82 UX_DEVICE_CLASS_VIDEO *video; in _ux_device_class_video_activate() local 91 video = (UX_DEVICE_CLASS_VIDEO *) class_ptr -> ux_slave_class_instance; in _ux_device_class_video_activate() 98 video -> ux_device_class_video_device = device; in _ux_device_class_video_activate() 109 video -> ux_device_class_video_interface = interface_ptr; in _ux_device_class_video_activate() 112 interface_ptr -> ux_slave_interface_class_instance = (VOID *)video; in _ux_device_class_video_activate() 121 if (video -> ux_device_class_video_interface == UX_NULL) in _ux_device_class_video_activate() 133 control_interface = video -> ux_device_class_video_interface; in _ux_device_class_video_activate() 143 if (stream_index >= video -> ux_device_class_video_streams_nb) in _ux_device_class_video_activate() 152 stream = &video -> ux_device_class_video_streams[stream_index]; in _ux_device_class_video_activate() 158 stream_interface -> ux_slave_interface_class_instance = (VOID *)video; in _ux_device_class_video_activate() [all …]
|
| D | ux_device_class_video_deactivate.c | 72 UX_DEVICE_CLASS_VIDEO *video; in _ux_device_class_video_deactivate() local 83 video = (UX_DEVICE_CLASS_VIDEO *) class_inst -> ux_slave_class_instance; in _ux_device_class_video_deactivate() 86 stream = video -> ux_device_class_video_streams; in _ux_device_class_video_deactivate() 87 for (i = 0; i < video -> ux_device_class_video_streams_nb; i ++) in _ux_device_class_video_deactivate() 105 video -> ux_device_class_video_interface = UX_NULL; in _ux_device_class_video_deactivate() 108 … if (video -> ux_device_class_video_callbacks.ux_slave_class_video_instance_deactivate != UX_NULL) in _ux_device_class_video_deactivate() 111 video -> ux_device_class_video_callbacks.ux_slave_class_video_instance_deactivate(video); in _ux_device_class_video_deactivate()
|
| D | ux_device_class_video_uninitialize.c | 77 UX_DEVICE_CLASS_VIDEO *video; in _ux_device_class_video_uninitialize() local 87 video = (UX_DEVICE_CLASS_VIDEO *) class_inst -> ux_slave_class_instance; in _ux_device_class_video_uninitialize() 90 if (video != UX_NULL) in _ux_device_class_video_uninitialize() 94 stream = (UX_DEVICE_CLASS_VIDEO_STREAM *)((UCHAR *)video + sizeof(UX_DEVICE_CLASS_VIDEO)); in _ux_device_class_video_uninitialize() 95 for (i = 0; i < video -> ux_device_class_video_streams_nb; i ++) in _ux_device_class_video_uninitialize() 108 _ux_utility_memory_free(video); in _ux_device_class_video_uninitialize()
|
| D | ux_device_class_video_initialize.c | 83 UX_DEVICE_CLASS_VIDEO *video; in _ux_device_class_video_initialize() local 116 …video = (UX_DEVICE_CLASS_VIDEO *)_ux_utility_memory_allocate(UX_NO_ALIGN, UX_REGULAR_MEMORY, memor… in _ux_device_class_video_initialize() 119 if (video == UX_NULL) in _ux_device_class_video_initialize() 125 …video -> ux_device_class_video_streams = (UX_DEVICE_CLASS_VIDEO_STREAM *)((UCHAR *)video + sizeof(… in _ux_device_class_video_initialize() 126 …video -> ux_device_class_video_streams_nb = video_parameter -> ux_device_class_video_parameter_str… in _ux_device_class_video_initialize() 130 stream = video -> ux_device_class_video_streams; in _ux_device_class_video_initialize() 132 for (i = 0; i < video -> ux_device_class_video_streams_nb; i ++) in _ux_device_class_video_initialize() 213 stream -> ux_device_class_video_stream_video = video; in _ux_device_class_video_initialize() 224 class_inst -> ux_slave_class_instance = (VOID *) video; in _ux_device_class_video_initialize() 227 video -> ux_device_class_video_class = class_inst; in _ux_device_class_video_initialize() [all …]
|
| D | ux_device_class_video_ioctl.c | 72 UINT _ux_device_class_video_ioctl(UX_DEVICE_CLASS_VIDEO *video, ULONG ioctl_function, in _ux_device_class_video_ioctl() argument 93 *pptr_parameter = video -> ux_device_class_video_callbacks.ux_device_class_video_arg; in _ux_device_class_video_ioctl() 148 UINT _uxe_device_class_video_ioctl(UX_DEVICE_CLASS_VIDEO *video, ULONG ioctl_function, in _uxe_device_class_video_ioctl() argument 153 if (video == UX_NULL) in _uxe_device_class_video_ioctl() 157 return(_ux_device_class_video_ioctl(video, ioctl_function, parameter)); in _uxe_device_class_video_ioctl()
|
| /USBX-v6.2.1/common/usbx_host_classes/inc/ |
| D | ux_host_class_video.h | 653 UINT _ux_host_class_video_configure(UX_HOST_CLASS_VIDEO *video); 654 UINT _ux_host_class_video_control_get(UX_HOST_CLASS_VIDEO *video, UX_HOST_CLASS_VIDEO_CONTROL *v… 655 UINT _ux_host_class_video_control_value_get(UX_HOST_CLASS_VIDEO *video, UX_HOST_CLASS_VIDEO_CONT… 656 UINT _ux_host_class_video_control_value_set(UX_HOST_CLASS_VIDEO *video, UX_HOST_CLASS_VIDEO_CONT… 658 UINT _ux_host_class_video_descriptor_get(UX_HOST_CLASS_VIDEO *video); 659 UINT _ux_host_class_video_endpoints_get(UX_HOST_CLASS_VIDEO *video); 661 UINT _ux_host_class_video_read(UX_HOST_CLASS_VIDEO *video, UX_HOST_CLASS_VIDEO_TRANSFER_REQUEST … 662 UINT _ux_host_class_video_transfer_request(UX_HOST_CLASS_VIDEO *video, UX_HOST_CLASS_VIDEO_TRANS… 665 UINT _ux_host_class_video_control_list_get(UX_HOST_CLASS_VIDEO *video); 666 UINT _ux_host_class_video_input_format_get(UX_HOST_CLASS_VIDEO *video); [all …]
|