Home
last modified time | relevance | path

Searched refs:ux_endpoint_descriptor (Results 1 – 25 of 88) sorted by relevance

1234

/USBX-v6.2.1/common/core/src/
Dux_host_stack_new_endpoint_create.c118 (UCHAR *) &endpoint -> ux_endpoint_descriptor); in _ux_host_stack_new_endpoint_create()
121 endpoint_type = endpoint -> ux_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE; in _ux_host_stack_new_endpoint_create()
124 if (endpoint -> ux_endpoint_descriptor.wMaxPacketSize == 0) in _ux_host_stack_new_endpoint_create()
136 if (packet_size == endpoint -> ux_endpoint_descriptor.wMaxPacketSize) 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()
161 … n_tran = endpoint -> ux_endpoint_descriptor.wMaxPacketSize & UX_MAX_NUMBER_OF_TRANSACTIONS_MASK; in _ux_host_stack_new_endpoint_create()
169 if (endpoint -> ux_endpoint_descriptor.bInterval < 1) in _ux_host_stack_new_endpoint_create()
179 if (endpoint -> ux_endpoint_descriptor.bInterval > 16) in _ux_host_stack_new_endpoint_create()
Dux_host_class_dpump_endpoints_get.c96 …if (((endpoint -> ux_endpoint_descriptor.bEndpointAddress & UX_ENDPOINT_DIRECTION) == UX_ENDPOINT_… in _ux_host_class_dpump_endpoints_get()
97 … ((endpoint -> ux_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE) == UX_BULK_ENDPOINT)) in _ux_host_class_dpump_endpoints_get()
141 …if (((endpoint -> ux_endpoint_descriptor.bEndpointAddress & UX_ENDPOINT_DIRECTION) == UX_ENDPOINT_… in _ux_host_class_dpump_endpoints_get()
142 … ((endpoint -> ux_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE) == UX_BULK_ENDPOINT)) in _ux_host_class_dpump_endpoints_get()
Dux_host_stack_bandwidth_claim.c126 max_packet_size = endpoint -> ux_endpoint_descriptor.wMaxPacketSize & UX_MAX_PACKET_SIZE_MASK; in _ux_host_stack_bandwidth_claim()
132 …packet_size += overheads[endpoint -> ux_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE][… in _ux_host_stack_bandwidth_claim()
141 … (((endpoint -> ux_endpoint_descriptor.wMaxPacketSize & UX_MAX_NUMBER_OF_TRANSACTIONS_MASK) >> in _ux_host_stack_bandwidth_claim()
Dux_host_stack_bandwidth_release.c125 max_packet_size = endpoint -> ux_endpoint_descriptor.wMaxPacketSize & UX_MAX_PACKET_SIZE_MASK; in _ux_host_stack_bandwidth_release()
131 …packet_size += overheads[endpoint -> ux_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE][… in _ux_host_stack_bandwidth_release()
140 … (((endpoint -> ux_endpoint_descriptor.wMaxPacketSize & UX_MAX_NUMBER_OF_TRANSACTIONS_MASK) >> in _ux_host_stack_bandwidth_release()
Dux_host_stack_transfer_request.c163 … if ((endpoint -> ux_endpoint_descriptor.bEndpointAddress & (UINT)~UX_ENDPOINT_DIRECTION) == 0) in _ux_host_stack_transfer_request()
188 if ((endpoint -> ux_endpoint_descriptor.bEndpointAddress & (UINT)~UX_ENDPOINT_DIRECTION) == 0) in _ux_host_stack_transfer_request()
210 if ((endpoint -> ux_endpoint_descriptor.bEndpointAddress & (UINT)~UX_ENDPOINT_DIRECTION) == 0) in _ux_host_stack_transfer_request()
Dux_host_stack_bandwidth_check.c127 max_packet_size = endpoint -> ux_endpoint_descriptor.wMaxPacketSize & UX_MAX_PACKET_SIZE_MASK; in _ux_host_stack_bandwidth_check()
133 …packet_size += overheads[endpoint -> ux_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE][… in _ux_host_stack_bandwidth_check()
142 … (((endpoint -> ux_endpoint_descriptor.wMaxPacketSize & UX_MAX_NUMBER_OF_TRANSACTIONS_MASK) >> in _ux_host_stack_bandwidth_check()
/USBX-v6.2.1/common/usbx_host_classes/src/
Dux_host_class_hid_interrupt_endpoint_search.c99 …if (((endpoint -> ux_endpoint_descriptor.bEndpointAddress & UX_ENDPOINT_DIRECTION) == UX_ENDPOINT_… in _ux_host_class_hid_interrupt_endpoint_search()
100 …((endpoint -> ux_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE) == UX_INTERRUPT_ENDPOIN… in _ux_host_class_hid_interrupt_endpoint_search()
108 …quested_length = hid -> ux_host_class_hid_interrupt_endpoint -> ux_endpoint_descriptor.wMaxPacket… in _ux_host_class_hid_interrupt_endpoint_search()
145 …else if (((endpoint -> ux_endpoint_descriptor.bEndpointAddress & UX_ENDPOINT_DIRECTION) == UX_ENDP… in _ux_host_class_hid_interrupt_endpoint_search()
146 …((endpoint -> ux_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE) == UX_INTERRUPT_ENDPOIN… in _ux_host_class_hid_interrupt_endpoint_search()
Dux_host_class_storage_endpoints_get.c104 …if (((endpoint -> ux_endpoint_descriptor.bEndpointAddress & UX_ENDPOINT_DIRECTION) == UX_ENDPOINT_… in _ux_host_class_storage_endpoints_get()
105 … ((endpoint -> ux_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE) == UX_BULK_ENDPOINT)) in _ux_host_class_storage_endpoints_get()
144 …if (((endpoint -> ux_endpoint_descriptor.bEndpointAddress & UX_ENDPOINT_DIRECTION) == UX_ENDPOINT_… in _ux_host_class_storage_endpoints_get()
145 … ((endpoint -> ux_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE) == UX_BULK_ENDPOINT)) in _ux_host_class_storage_endpoints_get()
198 …if (((endpoint -> ux_endpoint_descriptor.bEndpointAddress & UX_ENDPOINT_DIRECTION) == UX_ENDPOINT_… in _ux_host_class_storage_endpoints_get()
199 …((endpoint -> ux_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE) == UX_INTERRUPT_ENDPOIN… in _ux_host_class_storage_endpoints_get()
215 … endpoint -> ux_endpoint_descriptor.wMaxPacketSize); in _ux_host_class_storage_endpoints_get()
Dux_host_class_cdc_acm_endpoints_get.c112 …if (((endpoint -> ux_endpoint_descriptor.bEndpointAddress & UX_ENDPOINT_DIRECTION) == UX_ENDPOINT_… in _ux_host_class_cdc_acm_endpoints_get()
113 … ((endpoint -> ux_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE) == UX_BULK_ENDPOINT)) in _ux_host_class_cdc_acm_endpoints_get()
131 …if (((endpoint -> ux_endpoint_descriptor.bEndpointAddress & UX_ENDPOINT_DIRECTION) == UX_ENDPOINT_… in _ux_host_class_cdc_acm_endpoints_get()
132 … ((endpoint -> ux_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE) == UX_BULK_ENDPOINT)) in _ux_host_class_cdc_acm_endpoints_get()
179 …if (((endpoint -> ux_endpoint_descriptor.bEndpointAddress & UX_ENDPOINT_DIRECTION) == UX_ENDPOINT_… in _ux_host_class_cdc_acm_endpoints_get()
180 …((endpoint -> ux_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE) == UX_INTERRUPT_ENDPOIN… in _ux_host_class_cdc_acm_endpoints_get()
Dux_host_class_pima_endpoints_get.c102 …if (((endpoint -> ux_endpoint_descriptor.bEndpointAddress & UX_ENDPOINT_DIRECTION) == UX_ENDPOINT_… in _ux_host_class_pima_endpoints_get()
103 … ((endpoint -> ux_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE) == UX_BULK_ENDPOINT)) in _ux_host_class_pima_endpoints_get()
142 …if (((endpoint -> ux_endpoint_descriptor.bEndpointAddress & UX_ENDPOINT_DIRECTION) == UX_ENDPOINT_… in _ux_host_class_pima_endpoints_get()
143 … ((endpoint -> ux_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE) == UX_BULK_ENDPOINT)) in _ux_host_class_pima_endpoints_get()
182 …if (((endpoint -> ux_endpoint_descriptor.bEndpointAddress & UX_ENDPOINT_DIRECTION) == UX_ENDPOINT_… in _ux_host_class_pima_endpoints_get()
183 …((endpoint -> ux_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE) == UX_INTERRUPT_ENDPOIN… in _ux_host_class_pima_endpoints_get()
Dux_host_class_prolific_endpoints_get.c104 …if (((endpoint -> ux_endpoint_descriptor.bEndpointAddress & UX_ENDPOINT_DIRECTION) == UX_ENDPOINT_… in _ux_host_class_prolific_endpoints_get()
105 … ((endpoint -> ux_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE) == UX_BULK_ENDPOINT)) in _ux_host_class_prolific_endpoints_get()
144 …if (((endpoint -> ux_endpoint_descriptor.bEndpointAddress & UX_ENDPOINT_DIRECTION) == UX_ENDPOINT_… in _ux_host_class_prolific_endpoints_get()
145 … ((endpoint -> ux_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE) == UX_BULK_ENDPOINT)) in _ux_host_class_prolific_endpoints_get()
184 …if (((endpoint -> ux_endpoint_descriptor.bEndpointAddress & UX_ENDPOINT_DIRECTION) == UX_ENDPOINT_… in _ux_host_class_prolific_endpoints_get()
185 …((endpoint -> ux_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE) == UX_INTERRUPT_ENDPOIN… in _ux_host_class_prolific_endpoints_get()
Dux_host_class_swar_endpoints_get.c94 …if (((endpoint -> ux_endpoint_descriptor.bEndpointAddress & UX_ENDPOINT_DIRECTION) == UX_ENDPOINT_… in _ux_host_class_swar_endpoints_get()
95 … ((endpoint -> ux_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE) == UX_BULK_ENDPOINT)) in _ux_host_class_swar_endpoints_get()
135 …if (((endpoint -> ux_endpoint_descriptor.bEndpointAddress & UX_ENDPOINT_DIRECTION) == UX_ENDPOINT_… in _ux_host_class_swar_endpoints_get()
136 … ((endpoint -> ux_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE) == UX_BULK_ENDPOINT)) in _ux_host_class_swar_endpoints_get()
Dux_host_class_asix_endpoints_get.c105 …if (((endpoint -> ux_endpoint_descriptor.bEndpointAddress & UX_ENDPOINT_DIRECTION) == UX_ENDPOINT_… in _ux_host_class_asix_endpoints_get()
106 … ((endpoint -> ux_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE) == UX_BULK_ENDPOINT)) in _ux_host_class_asix_endpoints_get()
152 …if (((endpoint -> ux_endpoint_descriptor.bEndpointAddress & UX_ENDPOINT_DIRECTION) == UX_ENDPOINT_… in _ux_host_class_asix_endpoints_get()
153 … ((endpoint -> ux_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE) == UX_BULK_ENDPOINT)) in _ux_host_class_asix_endpoints_get()
195 …if (((endpoint -> ux_endpoint_descriptor.bEndpointAddress & UX_ENDPOINT_DIRECTION) == UX_ENDPOINT_… in _ux_host_class_asix_endpoints_get()
196 …((endpoint -> ux_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE) == UX_INTERRUPT_ENDPOIN… in _ux_host_class_asix_endpoints_get()
Dux_host_class_printer_endpoints_get.c96 …if (((endpoint -> ux_endpoint_descriptor.bEndpointAddress & UX_ENDPOINT_DIRECTION) == UX_ENDPOINT_… in _ux_host_class_printer_endpoints_get()
97 … ((endpoint -> ux_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE) == UX_BULK_ENDPOINT)) in _ux_host_class_printer_endpoints_get()
144 …if (((endpoint -> ux_endpoint_descriptor.bEndpointAddress & UX_ENDPOINT_DIRECTION) == UX_ENDPOINT_… in _ux_host_class_printer_endpoints_get()
145 … ((endpoint -> ux_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE) == UX_BULK_ENDPOINT)) in _ux_host_class_printer_endpoints_get()
Dux_host_class_cdc_ecm_endpoints_get.c143 …if (((endpoint -> ux_endpoint_descriptor.bEndpointAddress & UX_ENDPOINT_DIRECTION) == UX_ENDPOINT_… in _ux_host_class_cdc_ecm_endpoints_get()
144 … ((endpoint -> ux_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE) == UX_BULK_ENDPOINT)) in _ux_host_class_cdc_ecm_endpoints_get()
189 …if (((endpoint -> ux_endpoint_descriptor.bEndpointAddress & UX_ENDPOINT_DIRECTION) == UX_ENDPOINT_… in _ux_host_class_cdc_ecm_endpoints_get()
190 … ((endpoint -> ux_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE) == UX_BULK_ENDPOINT)) in _ux_host_class_cdc_ecm_endpoints_get()
237 …if (((endpoint -> ux_endpoint_descriptor.bEndpointAddress & UX_ENDPOINT_DIRECTION) == UX_ENDPOINT_… in _ux_host_class_cdc_ecm_endpoints_get()
238 …((endpoint -> ux_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE) == UX_INTERRUPT_ENDPOIN… in _ux_host_class_cdc_ecm_endpoints_get()
Dux_host_class_gser_endpoints_get.c97 …if (((endpoint -> ux_endpoint_descriptor.bEndpointAddress & UX_ENDPOINT_DIRECTION) == UX_ENDPOINT_… in _ux_host_class_gser_endpoints_get()
98 … ((endpoint -> ux_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE) == UX_BULK_ENDPOINT)) in _ux_host_class_gser_endpoints_get()
138 …if (((endpoint -> ux_endpoint_descriptor.bEndpointAddress & UX_ENDPOINT_DIRECTION) == UX_ENDPOINT_… in _ux_host_class_gser_endpoints_get()
139 … ((endpoint -> ux_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE) == UX_BULK_ENDPOINT)) in _ux_host_class_gser_endpoints_get()
Dux_host_class_video_endpoints_get.c93 …if (((endpoint -> ux_endpoint_descriptor.bEndpointAddress & UX_ENDPOINT_DIRECTION) == UX_ENDPOINT_… in _ux_host_class_video_endpoints_get()
94 …((endpoint -> ux_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE) == UX_ISOCHRONOUS_ENDPO… in _ux_host_class_video_endpoints_get()
Dux_host_class_audio_endpoints_get.c106 …if ((endpoint -> ux_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE) == UX_ISOCHRONOUS_EN… in _ux_host_class_audio_endpoints_get()
110 …if ((endpoint -> ux_endpoint_descriptor.bEndpointAddress & UX_ENDPOINT_DIRECTION) == UX_ENDPOINT_O… in _ux_host_class_audio_endpoints_get()
194 … -> ux_transfer_request_requested_length = (endpoint -> ux_endpoint_descriptor.bEndpointA… in _ux_host_class_audio_endpoints_get()
/USBX-v6.2.1/common/usbx_host_controllers/src/
Dux_hcd_ehci_interrupt_endpoint_destroy.c140 … max_packet_size = endpoint -> ux_endpoint_descriptor.wMaxPacketSize & UX_MAX_PACKET_SIZE_MASK; in _ux_hcd_ehci_interrupt_endpoint_destroy()
144 …max_packet_size = endpoint -> ux_endpoint_descriptor.wMaxPacketSize & UX_MAX_NUMBER_OF_TRANSACTION… in _ux_hcd_ehci_interrupt_endpoint_destroy()
148 … max_packet_size *= endpoint -> ux_endpoint_descriptor.wMaxPacketSize & UX_MAX_PACKET_SIZE_MASK; in _ux_hcd_ehci_interrupt_endpoint_destroy()
169 if (endpoint -> ux_endpoint_descriptor.bEndpointAddress & UX_ENDPOINT_DIRECTION) in _ux_hcd_ehci_interrupt_endpoint_destroy()
184 (endpoint -> ux_endpoint_descriptor.bEndpointAddress & UX_ENDPOINT_DIRECTION) && in _ux_hcd_ehci_interrupt_endpoint_destroy()
Dux_hcd_ohci_isochronous_endpoint_create.c111 endpoint -> ux_endpoint_descriptor.wMaxPacketSize; in _ux_hcd_ohci_isochronous_endpoint_create()
122 … ((ULONG) (endpoint -> ux_endpoint_descriptor.bEndpointAddress & ~UX_ENDPOINT_DIRECTION)) << 7 | in _ux_hcd_ohci_isochronous_endpoint_create()
123 ((ULONG) (endpoint -> ux_endpoint_descriptor.wMaxPacketSize)) << 16; in _ux_hcd_ohci_isochronous_endpoint_create()
Dux_hcd_ohci_interrupt_endpoint_create.c141 … ((ULONG) (endpoint -> ux_endpoint_descriptor.bEndpointAddress & ~UX_ENDPOINT_DIRECTION)) << 7 | in _ux_hcd_ohci_interrupt_endpoint_create()
142 ((ULONG) endpoint -> ux_endpoint_descriptor.wMaxPacketSize) << 16; in _ux_hcd_ohci_interrupt_endpoint_create()
157 interval = endpoint -> ux_endpoint_descriptor.bInterval; in _ux_hcd_ohci_interrupt_endpoint_create()
Dux_hcd_ehci_asynchronous_endpoint_create.c107 …ed -> ux_ehci_ed_cap0 = (ULONG)endpoint -> ux_endpoint_descriptor.wMaxPacketSize << UX_EHCI_QH_MP… in _ux_hcd_ehci_asynchronous_endpoint_create()
115 …((endpoint -> ux_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE) == UX_CONTROL_ENDPOINT)) in _ux_hcd_ehci_asynchronous_endpoint_create()
122 ed -> ux_ehci_ed_cap0 |= (endpoint -> ux_endpoint_descriptor.bEndpointAddress & in _ux_hcd_ehci_asynchronous_endpoint_create()
Dux_hcd_ohci_asynchronous_endpoint_create.c125 … ((ULONG) (endpoint -> ux_endpoint_descriptor.bEndpointAddress & ~UX_ENDPOINT_DIRECTION)) << 7 | in _ux_hcd_ohci_asynchronous_endpoint_create()
126 ((ULONG) endpoint -> ux_endpoint_descriptor.wMaxPacketSize) << 16; in _ux_hcd_ohci_asynchronous_endpoint_create()
137 switch ((endpoint -> ux_endpoint_descriptor.bmAttributes) & UX_MASK_ENDPOINT_TYPE) in _ux_hcd_ohci_asynchronous_endpoint_create()
/USBX-v6.2.1/test/regression/
Dusbx_ux_host_class_cdc_ecm_transmission_callback_test.c60 endpoint.ux_endpoint_descriptor.bEndpointAddress = 0xff; in post_init_host()
70 endpoint.ux_endpoint_descriptor.bEndpointAddress = 0; in post_init_host()
80 endpoint.ux_endpoint_descriptor.bEndpointAddress = 0; in post_init_host()
94 endpoint.ux_endpoint_descriptor.bEndpointAddress = 0; in post_init_host()
Dux_test_race_condition_overrides.c66 if ((endpoint -> ux_endpoint_descriptor.bEndpointAddress & (UINT)~UX_ENDPOINT_DIRECTION) == 0) in _ux_host_stack_transfer_request()
92 … if ((endpoint -> ux_endpoint_descriptor.bEndpointAddress & (UINT)~UX_ENDPOINT_DIRECTION) == 0) in _ux_host_stack_transfer_request()
111 … if ((endpoint -> ux_endpoint_descriptor.bEndpointAddress & (UINT)~UX_ENDPOINT_DIRECTION) == 0) in _ux_host_stack_transfer_request()
140 … if ((endpoint -> ux_endpoint_descriptor.bEndpointAddress & (UINT)~UX_ENDPOINT_DIRECTION) == 0) in _ux_host_stack_transfer_request()

1234