Home
last modified time | relevance | path

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

/USBX-v6.2.1/common/core/src/
Dux_host_stack_new_endpoint_create.c92 ULONG packet_size; in _ux_host_stack_new_endpoint_create() local
134 for (packet_size = 8; packet_size <= 512; packet_size <<= 1) in _ux_host_stack_new_endpoint_create()
136 if (packet_size == endpoint -> ux_endpoint_descriptor.wMaxPacketSize) in _ux_host_stack_new_endpoint_create()
141 if (packet_size > 512) in _ux_host_stack_new_endpoint_create()
153 packet_size = endpoint -> ux_endpoint_descriptor.wMaxPacketSize & UX_MAX_PACKET_SIZE_MASK; in _ux_host_stack_new_endpoint_create()
154 if (packet_size > 1024) in _ux_host_stack_new_endpoint_create()
188 packet_size *= (n_tran + 1); in _ux_host_stack_new_endpoint_create()
192 endpoint -> ux_endpoint_transfer_request.ux_transfer_request_packet_length = packet_size; in _ux_host_stack_new_endpoint_create()
Dux_host_stack_bandwidth_claim.c90 LONG packet_size; in _ux_host_stack_bandwidth_claim() local
129 packet_size = (max_packet_size * 7 + 5) / 6; in _ux_host_stack_bandwidth_claim()
132packet_size += overheads[endpoint -> ux_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE][… in _ux_host_stack_bandwidth_claim()
133 max_packet_size = (USHORT)packet_size; in _ux_host_stack_bandwidth_claim()
Dux_host_stack_bandwidth_release.c89 LONG packet_size; in _ux_host_stack_bandwidth_release() local
128 packet_size = (max_packet_size * 7 + 5) / 6; in _ux_host_stack_bandwidth_release()
131packet_size += overheads[endpoint -> ux_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE][… in _ux_host_stack_bandwidth_release()
132 max_packet_size = (USHORT)packet_size; in _ux_host_stack_bandwidth_release()
Dux_host_stack_bandwidth_check.c91 LONG packet_size; in _ux_host_stack_bandwidth_check() local
130 packet_size = (max_packet_size * 7 + 5) / 6; in _ux_host_stack_bandwidth_check()
133packet_size += overheads[endpoint -> ux_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE][… in _ux_host_stack_bandwidth_check()
134 max_packet_size = (USHORT)packet_size; in _ux_host_stack_bandwidth_check()
Dux_hcd_sim_host_request_isochronous_transfer.c95 ULONG n_trans, packet_size; in _ux_hcd_sim_host_request_isochronous_transfer() local
114 packet_size = endpoint -> ux_endpoint_descriptor.wMaxPacketSize & UX_MAX_PACKET_SIZE_MASK; in _ux_hcd_sim_host_request_isochronous_transfer()
120 packet_size *= n_trans; in _ux_hcd_sim_host_request_isochronous_transfer()
122 transfer_request -> ux_transfer_request_packet_length = packet_size; in _ux_hcd_sim_host_request_isochronous_transfer()
/USBX-v6.2.1/common/usbx_host_classes/src/
Dux_host_class_video_transfer_buffer_add.c101 ULONG packet_size; in _ux_host_class_video_transfer_buffer_add() local
161 packet_size = video -> ux_host_class_video_current_max_payload_size; in _ux_host_class_video_transfer_buffer_add()
166 transfer_request -> ux_transfer_request_requested_length = packet_size; in _ux_host_class_video_transfer_buffer_add()
Dux_host_class_video_transfer_buffers_add.c111 ULONG packet_size; in _ux_host_class_video_transfer_buffers_add() local
176 packet_size = video -> ux_host_class_video_current_max_payload_size; in _ux_host_class_video_transfer_buffers_add()
194 transfer_request -> ux_transfer_request_requested_length = packet_size; in _ux_host_class_video_transfer_buffers_add()