Searched refs:memory_size (Results 1 – 4 of 4) sorted by relevance
/USBX-v6.2.1/common/usbx_device_classes/src/ |
D | ux_device_class_video_initialize.c | 84 ULONG memory_size; in _ux_device_class_video_initialize() local 96 memory_size = sizeof(UX_DEVICE_CLASS_VIDEO); in _ux_device_class_video_initialize() 107 UX_UTILITY_ADD_SAFE(memory_size, streams_size, memory_size, status); in _ux_device_class_video_initialize() 112 … (UX_DEVICE_CLASS_VIDEO *)_ux_utility_memory_allocate(UX_NO_ALIGN, UX_REGULAR_MEMORY, memory_size); in _ux_device_class_video_initialize() 148 memory_size = stream -> ux_device_class_video_stream_payload_buffer_size * in _ux_device_class_video_initialize() 152 …_stream_buffer = (UCHAR *)_ux_utility_memory_allocate(UX_NO_ALIGN, UX_REGULAR_MEMORY, memory_size); in _ux_device_class_video_initialize() 161 stream -> ux_device_class_video_stream_buffer_size = memory_size; in _ux_device_class_video_initialize() 170 memory_size = UX_DEVICE_CLASS_VIDEO_THREAD_STACK_SIZE; in _ux_device_class_video_initialize() 172 … memory_size = stream_parameter -> ux_device_class_video_stream_parameter_thread_stack_size; in _ux_device_class_video_initialize() 173 …deo_stream_thread_stack = _ux_utility_memory_allocate(UX_NO_ALIGN, UX_REGULAR_MEMORY, memory_size); in _ux_device_class_video_initialize() [all …]
|
D | ux_device_class_audio_initialize.c | 101 ULONG memory_size; in _ux_device_class_audio_initialize() local 113 memory_size = sizeof(UX_DEVICE_CLASS_AUDIO); in _ux_device_class_audio_initialize() 124 UX_UTILITY_ADD_SAFE(memory_size, streams_size, memory_size, status); in _ux_device_class_audio_initialize() 129 … (UX_DEVICE_CLASS_AUDIO *)_ux_utility_memory_allocate(UX_NO_ALIGN, UX_REGULAR_MEMORY, memory_size); in _ux_device_class_audio_initialize() 151 memory_size = audio_parameter -> ux_device_class_audio_parameter_status_queue_size * in _ux_device_class_audio_initialize() 153 audio -> ux_device_class_audio_status_queue_bytes = memory_size; in _ux_device_class_audio_initialize() 156 if (UX_OVERFLOW_CHECK_ADD_ULONG(memory_size, UX_DEVICE_CLASS_AUDIO_INTERRUPT_THREAD_STACK_SIZE)) in _ux_device_class_audio_initialize() 161 memory_size += UX_DEVICE_CLASS_AUDIO_INTERRUPT_THREAD_STACK_SIZE; in _ux_device_class_audio_initialize() 163 …lave_class_thread_stack = _ux_utility_memory_allocate(UX_NO_ALIGN, UX_REGULAR_MEMORY, memory_size); in _ux_device_class_audio_initialize() 219 …lass_audio_status_queue = _ux_utility_memory_allocate(UX_NO_ALIGN, UX_REGULAR_MEMORY, memory_size); in _ux_device_class_audio_initialize() [all …]
|
D | ux_device_class_hid_receiver_initialize.c | 92 ULONG memory_size; in _ux_device_class_hid_receiver_initialize() 110 memory_size = UX_DEVICE_CLASS_HID_RECEIVER_THREAD_STACK_SIZE + in _ux_device_class_hid_receiver_initialize() 113 memory_size = sizeof(UX_DEVICE_CLASS_HID_RECEIVER); in _ux_device_class_hid_receiver_initialize() 121 UX_ASSERT(!UX_OVERFLOW_CHECK_ADD_ULONG(memory_size, events_size)); in _ux_device_class_hid_receiver_initialize() 122 memory_size += events_size; in _ux_device_class_hid_receiver_initialize() 125 memory_receiver = _ux_utility_memory_allocate(UX_NO_ALIGN, UX_REGULAR_MEMORY, memory_size); in _ux_device_class_hid_receiver_initialize() 171 (UX_DEVICE_CLASS_HID_RECEIVED_EVENT *)(memory_receiver + memory_size); in _ux_device_class_hid_receiver_initialize()
|
D | ux_device_class_ccid_initialize.c | 88 ULONG memory_size; in _ux_device_class_ccid_initialize() local 129 memory_size = ccid_size; in _ux_device_class_ccid_initialize() 133 memory_size += runners_size; in _ux_device_class_ccid_initialize() 137 memory_size += slots_size; in _ux_device_class_ccid_initialize() 159 if (UX_OVERFLOW_CHECK_ADD_ULONG(memory_size, buffer_size)) in _ux_device_class_ccid_initialize() 166 memory_size = (memory_size + buffers_size) & 0xFFFFFFFFu; in _ux_device_class_ccid_initialize() 196 if (UX_OVERFLOW_CHECK_ADD_ULONG(memory_size, stacks_size)) in _ux_device_class_ccid_initialize() 203 memory_size = (memory_size + stacks_size) & 0xFFFFFFFFu; in _ux_device_class_ccid_initialize() 207 memory = _ux_utility_memory_allocate(UX_NO_ALIGN, UX_REGULAR_MEMORY, memory_size); in _ux_device_class_ccid_initialize()
|