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.c93 ULONG packet_size; in _ux_host_stack_new_endpoint_create() local
135 for (packet_size = 8; packet_size <= 512; packet_size <<= 1) in _ux_host_stack_new_endpoint_create()
137 if (packet_size == endpoint -> ux_endpoint_descriptor.wMaxPacketSize) in _ux_host_stack_new_endpoint_create()
142 if (packet_size > 512) in _ux_host_stack_new_endpoint_create()
154 packet_size = endpoint -> ux_endpoint_descriptor.wMaxPacketSize & UX_MAX_PACKET_SIZE_MASK; in _ux_host_stack_new_endpoint_create()
155 if (packet_size > 1024) in _ux_host_stack_new_endpoint_create()
189 packet_size *= (n_tran + 1); in _ux_host_stack_new_endpoint_create()
193 endpoint -> ux_endpoint_transfer_request.ux_transfer_request_packet_length = packet_size; in _ux_host_stack_new_endpoint_create()
Dux_host_stack_bandwidth_claim.c91 LONG packet_size; in _ux_host_stack_bandwidth_claim() local
130 packet_size = (max_packet_size * 7 + 5) / 6; in _ux_host_stack_bandwidth_claim()
133packet_size += overheads[endpoint -> ux_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE][… in _ux_host_stack_bandwidth_claim()
134 max_packet_size = (USHORT)packet_size; in _ux_host_stack_bandwidth_claim()
Dux_host_stack_bandwidth_release.c90 LONG packet_size; in _ux_host_stack_bandwidth_release() local
129 packet_size = (max_packet_size * 7 + 5) / 6; in _ux_host_stack_bandwidth_release()
132packet_size += overheads[endpoint -> ux_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE][… in _ux_host_stack_bandwidth_release()
133 max_packet_size = (USHORT)packet_size; in _ux_host_stack_bandwidth_release()
Dux_host_stack_bandwidth_check.c92 LONG packet_size; in _ux_host_stack_bandwidth_check() local
131 packet_size = (max_packet_size * 7 + 5) / 6; in _ux_host_stack_bandwidth_check()
134packet_size += overheads[endpoint -> ux_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE][… in _ux_host_stack_bandwidth_check()
135 max_packet_size = (USHORT)packet_size; in _ux_host_stack_bandwidth_check()
Dux_hcd_sim_host_request_isochronous_transfer.c96 ULONG n_trans, packet_size; in _ux_hcd_sim_host_request_isochronous_transfer() local
115 packet_size = endpoint -> ux_endpoint_descriptor.wMaxPacketSize & UX_MAX_PACKET_SIZE_MASK; in _ux_hcd_sim_host_request_isochronous_transfer()
121 packet_size *= n_trans; in _ux_hcd_sim_host_request_isochronous_transfer()
123 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.c100 ULONG packet_size; in _ux_host_class_video_transfer_buffer_add() local
160 packet_size = video -> ux_host_class_video_current_max_payload_size; in _ux_host_class_video_transfer_buffer_add()
165 transfer_request -> ux_transfer_request_requested_length = packet_size; in _ux_host_class_video_transfer_buffer_add()
Dux_host_class_video_transfer_buffers_add.c110 ULONG packet_size; in _ux_host_class_video_transfer_buffers_add() local
175 packet_size = video -> ux_host_class_video_current_max_payload_size; in _ux_host_class_video_transfer_buffers_add()
193 transfer_request -> ux_transfer_request_requested_length = packet_size; in _ux_host_class_video_transfer_buffers_add()