| /USBX-v6.2.1/common/core/src/ |
| D | ux_host_stack_new_endpoint_create.c | 118 (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()
|
| D | ux_host_class_dpump_endpoints_get.c | 96 …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()
|
| D | ux_host_stack_bandwidth_claim.c | 126 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()
|
| D | ux_host_stack_bandwidth_release.c | 125 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()
|
| D | ux_host_stack_transfer_request.c | 163 … 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()
|
| D | ux_host_stack_bandwidth_check.c | 127 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/ |
| D | ux_host_class_hid_interrupt_endpoint_search.c | 99 …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()
|
| D | ux_host_class_storage_endpoints_get.c | 104 …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()
|
| D | ux_host_class_cdc_acm_endpoints_get.c | 112 …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()
|
| D | ux_host_class_pima_endpoints_get.c | 102 …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()
|
| D | ux_host_class_prolific_endpoints_get.c | 104 …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()
|
| D | ux_host_class_swar_endpoints_get.c | 94 …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()
|
| D | ux_host_class_asix_endpoints_get.c | 105 …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()
|
| D | ux_host_class_printer_endpoints_get.c | 96 …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()
|
| D | ux_host_class_cdc_ecm_endpoints_get.c | 143 …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()
|
| D | ux_host_class_gser_endpoints_get.c | 97 …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()
|
| D | ux_host_class_video_endpoints_get.c | 93 …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()
|
| D | ux_host_class_audio_endpoints_get.c | 106 …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/ |
| D | ux_hcd_ehci_interrupt_endpoint_destroy.c | 140 … 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()
|
| D | ux_hcd_ohci_isochronous_endpoint_create.c | 111 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()
|
| D | ux_hcd_ohci_interrupt_endpoint_create.c | 141 … ((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()
|
| D | ux_hcd_ehci_asynchronous_endpoint_create.c | 107 …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()
|
| D | ux_hcd_ohci_asynchronous_endpoint_create.c | 125 … ((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/ |
| D | usbx_ux_host_class_cdc_ecm_transmission_callback_test.c | 60 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()
|
| D | ux_test_race_condition_overrides.c | 66 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()
|