| /USBX-v6.2.1/common/core/src/ |
| D | ux_host_stack_new_endpoint_create.c | 89 UX_ENDPOINT *endpoint; in _ux_host_stack_new_endpoint_create() local 96 …endpoint = (UX_ENDPOINT *) _ux_utility_memory_allocate(UX_NO_ALIGN, UX_REGULAR_MEMORY, sizeof(UX_… in _ux_host_stack_new_endpoint_create() 97 if (endpoint == UX_NULL) in _ux_host_stack_new_endpoint_create() 101 …UX_TRACE_IN_LINE_INSERT(UX_TRACE_HOST_STACK_NEW_ENDPOINT_CREATE, interface_ptr, endpoint, 0, 0, UX… in _ux_host_stack_new_endpoint_create() 105 endpoint -> ux_endpoint = (ULONG) (ALIGN_TYPE) endpoint; in _ux_host_stack_new_endpoint_create() 109 endpoint -> ux_endpoint_transfer_request.ux_transfer_request_endpoint = endpoint; in _ux_host_stack_new_endpoint_create() 112 …endpoint -> ux_endpoint_device = interface_ptr -> ux_interface_configuration -> ux_configuration_… in _ux_host_stack_new_endpoint_create() 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() [all …]
|
| D | ux_host_stack_endpoint_instance_delete.c | 82 VOID _ux_host_stack_endpoint_instance_delete(UX_ENDPOINT *endpoint) in _ux_host_stack_endpoint_instance_delete() argument 89 hcd = UX_DEVICE_HCD_GET(endpoint -> ux_endpoint_device); in _ux_host_stack_endpoint_instance_delete() 92 …NE_INSERT(UX_TRACE_HOST_STACK_ENDPOINT_INSTANCE_DELETE, endpoint -> ux_endpoint_device, endpoint, … in _ux_host_stack_endpoint_instance_delete() 95 if (endpoint -> ux_endpoint_ed != UX_NULL) in _ux_host_stack_endpoint_instance_delete() 99 hcd -> ux_hcd_entry_function(hcd, UX_HCD_DESTROY_ENDPOINT, (VOID *) endpoint); in _ux_host_stack_endpoint_instance_delete() 102 …_ux_host_semaphore_delete(&endpoint -> ux_endpoint_transfer_request.ux_transfer_request_semaphore); in _ux_host_stack_endpoint_instance_delete() 106 switch ((endpoint -> ux_endpoint_descriptor.bmAttributes) & UX_MASK_ENDPOINT_TYPE) in _ux_host_stack_endpoint_instance_delete() 117 _ux_host_stack_bandwidth_release(hcd, endpoint); in _ux_host_stack_endpoint_instance_delete() 121 UX_TRACE_OBJECT_UNREGISTER(endpoint); in _ux_host_stack_endpoint_instance_delete()
|
| D | ux_host_stack_endpoint_instance_create.c | 85 UINT _ux_host_stack_endpoint_instance_create(UX_ENDPOINT *endpoint) in _ux_host_stack_endpoint_instance_create() argument 94 hcd = UX_DEVICE_HCD_GET(endpoint -> ux_endpoint_device); in _ux_host_stack_endpoint_instance_create() 97 …NE_INSERT(UX_TRACE_HOST_STACK_ENDPOINT_INSTANCE_CREATE, endpoint -> ux_endpoint_device, endpoint, … in _ux_host_stack_endpoint_instance_create() 101 endpoint_type = (endpoint -> ux_endpoint_descriptor.bmAttributes) & UX_MASK_ENDPOINT_TYPE; in _ux_host_stack_endpoint_instance_create() 113 if (_ux_host_stack_bandwidth_check(hcd, endpoint) != UX_SUCCESS) in _ux_host_stack_endpoint_instance_create() 127 status = hcd -> ux_hcd_entry_function(hcd, UX_HCD_CREATE_ENDPOINT, (VOID *) endpoint); in _ux_host_stack_endpoint_instance_create() 142 _ux_host_stack_bandwidth_claim(hcd, endpoint); in _ux_host_stack_endpoint_instance_create() 146 …status = _ux_host_semaphore_create(&endpoint -> ux_endpoint_transfer_request.ux_transfer_request_… in _ux_host_stack_endpoint_instance_create() 154 UX_TRACE_OBJECT_REGISTER(UX_TRACE_HOST_OBJECT_TYPE_ENDPOINT, endpoint, 0, 0, 0) in _ux_host_stack_endpoint_instance_create() 157 endpoint -> ux_endpoint_transfer_request.ux_transfer_request_endpoint = endpoint; in _ux_host_stack_endpoint_instance_create()
|
| D | ux_device_class_dpump_activate.c | 87 UX_SLAVE_ENDPOINT *endpoint; in _ux_device_class_dpump_activate() local 105 endpoint = interface_ptr -> ux_slave_interface_first_endpoint; in _ux_device_class_dpump_activate() 108 while (endpoint != UX_NULL) in _ux_device_class_dpump_activate() 112 …if ((endpoint -> ux_slave_endpoint_descriptor.bEndpointAddress & UX_ENDPOINT_DIRECTION) == UX_ENDP… in _ux_device_class_dpump_activate() 116 …if ((endpoint -> ux_slave_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE) == UX_BULK_END… in _ux_device_class_dpump_activate() 120 dpump -> ux_slave_class_dpump_bulkin_endpoint = endpoint; in _ux_device_class_dpump_activate() 122 endpoint -> ux_slave_endpoint_transfer_request. in _ux_device_class_dpump_activate() 131 …if ((endpoint -> ux_slave_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE) == UX_BULK_END… in _ux_device_class_dpump_activate() 135 dpump -> ux_slave_class_dpump_bulkout_endpoint = endpoint; in _ux_device_class_dpump_activate() 137 endpoint -> ux_slave_endpoint_transfer_request. in _ux_device_class_dpump_activate() [all …]
|
| D | ux_device_stack_alternate_setting_set.c | 103 UX_SLAVE_ENDPOINT *endpoint; in _ux_device_stack_alternate_setting_set() local 236 endpoint = interface_ptr -> ux_slave_interface_first_endpoint; in _ux_device_stack_alternate_setting_set() 237 while (endpoint != UX_NULL) in _ux_device_stack_alternate_setting_set() 241 … _ux_device_stack_transfer_all_request_abort(endpoint, UX_TRANSFER_BUS_RESET); in _ux_device_stack_alternate_setting_set() 244 … dcd -> ux_slave_dcd_function(dcd, UX_DCD_DESTROY_ENDPOINT, (VOID *) endpoint); in _ux_device_stack_alternate_setting_set() 247 next_endpoint = endpoint -> ux_slave_endpoint_next_endpoint; in _ux_device_stack_alternate_setting_set() 250 endpoint -> ux_slave_endpoint_status = UX_UNUSED; in _ux_device_stack_alternate_setting_set() 253 endpoint -> ux_slave_endpoint_state = 0; in _ux_device_stack_alternate_setting_set() 254 endpoint -> ux_slave_endpoint_next_endpoint = UX_NULL; in _ux_device_stack_alternate_setting_set() 255 endpoint -> ux_slave_endpoint_interface = UX_NULL; in _ux_device_stack_alternate_setting_set() [all …]
|
| D | ux_host_class_dpump_endpoints_get.c | 80 UX_ENDPOINT *endpoint; in _ux_host_class_dpump_endpoints_get() local 89 …st_stack_interface_endpoint_get(dpump -> ux_host_class_dpump_interface, endpoint_index, &endpoint); in _ux_host_class_dpump_endpoints_get() 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() 101 endpoint -> ux_endpoint_transfer_request.ux_transfer_request_type = UX_REQUEST_OUT; in _ux_host_class_dpump_endpoints_get() 104 endpoint -> ux_endpoint_transfer_request.ux_transfer_request_timeout_value = in _ux_host_class_dpump_endpoints_get() 108 dpump -> ux_host_class_dpump_bulk_out_endpoint = endpoint; in _ux_host_class_dpump_endpoints_get() 134 …st_stack_interface_endpoint_get(dpump -> ux_host_class_dpump_interface, endpoint_index, &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() [all …]
|
| D | ux_device_class_dpump_change.c | 90 UX_SLAVE_ENDPOINT *endpoint; in _ux_device_class_dpump_change() local 102 endpoint = interface_ptr -> ux_slave_interface_first_endpoint; in _ux_device_class_dpump_change() 114 while (endpoint != UX_NULL) in _ux_device_class_dpump_change() 118 …if ((endpoint -> ux_slave_endpoint_descriptor.bEndpointAddress & UX_ENDPOINT_DIRECTION) == UX_ENDP… in _ux_device_class_dpump_change() 122 …if ((endpoint -> ux_slave_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE) == UX_BULK_END… in _ux_device_class_dpump_change() 125 dpump -> ux_slave_class_dpump_bulkin_endpoint = endpoint; in _ux_device_class_dpump_change() 127 endpoint -> ux_slave_endpoint_transfer_request. in _ux_device_class_dpump_change() 135 …if ((endpoint -> ux_slave_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE) == UX_BULK_END… in _ux_device_class_dpump_change() 138 dpump -> ux_slave_class_dpump_bulkout_endpoint = endpoint; in _ux_device_class_dpump_change() 140 endpoint -> ux_slave_endpoint_transfer_request. in _ux_device_class_dpump_change() [all …]
|
| D | ux_device_stack_interface_set.c | 99 UX_SLAVE_ENDPOINT *endpoint; in _ux_device_stack_interface_set() local 204 endpoint = device -> ux_slave_device_endpoints_pool; in _ux_device_stack_interface_set() 209 if (endpoint -> ux_slave_endpoint_status == UX_UNUSED) in _ux_device_stack_interface_set() 212 endpoint -> ux_slave_endpoint_status = UX_USED; in _ux_device_stack_interface_set() 217 endpoint++; in _ux_device_stack_interface_set() 231 (UCHAR *) &endpoint -> ux_slave_endpoint_descriptor); in _ux_device_stack_interface_set() 234 transfer_request = &endpoint -> ux_slave_endpoint_transfer_request; in _ux_device_stack_interface_set() 237 UX_ASSERT(endpoint -> ux_slave_endpoint_descriptor.wMaxPacketSize != 0); in _ux_device_stack_interface_set() 241 endpoint -> ux_slave_endpoint_descriptor.wMaxPacketSize & in _ux_device_stack_interface_set() 244 (endpoint -> ux_slave_endpoint_descriptor.bmAttributes & 0x1u)) in _ux_device_stack_interface_set() [all …]
|
| D | ux_device_stack_interface_delete.c | 82 UX_SLAVE_ENDPOINT *endpoint; in _ux_device_stack_interface_delete() local 102 endpoint = next_endpoint; in _ux_device_stack_interface_delete() 105 next_endpoint = endpoint -> ux_slave_endpoint_next_endpoint; in _ux_device_stack_interface_delete() 111 dcd -> ux_slave_dcd_function(dcd, UX_DCD_DESTROY_ENDPOINT, endpoint); in _ux_device_stack_interface_delete() 114 endpoint -> ux_slave_endpoint_status = UX_UNUSED; in _ux_device_stack_interface_delete() 117 endpoint -> ux_slave_endpoint_state = 0; in _ux_device_stack_interface_delete() 118 endpoint -> ux_slave_endpoint_next_endpoint = UX_NULL; in _ux_device_stack_interface_delete() 119 endpoint -> ux_slave_endpoint_interface = UX_NULL; in _ux_device_stack_interface_delete() 120 endpoint -> ux_slave_endpoint_device = UX_NULL; in _ux_device_stack_interface_delete()
|
| D | ux_host_stack_interface_instance_delete.c | 79 UX_ENDPOINT *endpoint; in _ux_host_stack_interface_instance_delete() local 88 endpoint = interface_ptr -> ux_interface_first_endpoint; in _ux_host_stack_interface_instance_delete() 91 while (endpoint != UX_NULL) in _ux_host_stack_interface_instance_delete() 95 _ux_host_stack_endpoint_instance_delete(endpoint); in _ux_host_stack_interface_instance_delete() 98 endpoint = endpoint -> ux_endpoint_next_endpoint; in _ux_host_stack_interface_instance_delete()
|
| /USBX-v6.2.1/common/usbx_host_classes/src/ |
| D | ux_host_class_storage_endpoints_get.c | 87 UX_ENDPOINT *endpoint; in _ux_host_class_storage_endpoints_get() local 97 …tack_interface_endpoint_get(storage -> ux_host_class_storage_interface, endpoint_index, &endpoint); in _ux_host_class_storage_endpoints_get() 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() 109 storage -> ux_host_class_storage_bulk_out_endpoint = endpoint; in _ux_host_class_storage_endpoints_get() 112 endpoint -> ux_endpoint_transfer_request.ux_transfer_request_type = UX_REQUEST_OUT; in _ux_host_class_storage_endpoints_get() 137 …tack_interface_endpoint_get(storage -> ux_host_class_storage_interface, endpoint_index, &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() 149 storage -> ux_host_class_storage_bulk_in_endpoint = endpoint; in _ux_host_class_storage_endpoints_get() [all …]
|
| D | ux_host_class_asix_endpoints_get.c | 88 UX_ENDPOINT *endpoint; in _ux_host_class_asix_endpoints_get() local 98 …host_stack_interface_endpoint_get(asix -> ux_host_class_asix_interface, endpoint_index, &endpoint); in _ux_host_class_asix_endpoints_get() 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() 110 endpoint -> ux_endpoint_transfer_request.ux_transfer_request_type = UX_REQUEST_OUT; in _ux_host_class_asix_endpoints_get() 114 … endpoint -> ux_endpoint_transfer_request.ux_transfer_request_class_instance = (VOID *) asix; in _ux_host_class_asix_endpoints_get() 117 …endpoint -> ux_endpoint_transfer_request.ux_transfer_request_completion_function = _ux_host_class… in _ux_host_class_asix_endpoints_get() 120 asix -> ux_host_class_asix_bulk_out_endpoint = endpoint; in _ux_host_class_asix_endpoints_get() 145 …host_stack_interface_endpoint_get(asix -> ux_host_class_asix_interface, endpoint_index, &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() [all …]
|
| D | ux_host_class_cdc_ecm_endpoints_get.c | 85 UX_ENDPOINT *endpoint; in _ux_host_class_cdc_ecm_endpoints_get() local 136 status = _ux_host_stack_interface_endpoint_get(data_interface, endpoint_index, &endpoint); in _ux_host_class_cdc_ecm_endpoints_get() 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() 148 endpoint -> ux_endpoint_transfer_request.ux_transfer_request_type = UX_REQUEST_OUT; in _ux_host_class_cdc_ecm_endpoints_get() 151 … endpoint -> ux_endpoint_transfer_request.ux_transfer_request_class_instance = (VOID *) cdc_ecm; in _ux_host_class_cdc_ecm_endpoints_get() 154 …endpoint -> ux_endpoint_transfer_request.ux_transfer_request_completion_function = _ux_host_class… in _ux_host_class_cdc_ecm_endpoints_get() 157 cdc_ecm -> ux_host_class_cdc_ecm_bulk_out_endpoint = endpoint; in _ux_host_class_cdc_ecm_endpoints_get() 182 status = _ux_host_stack_interface_endpoint_get(data_interface, endpoint_index, &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() [all …]
|
| D | ux_host_class_hid_interrupt_endpoint_search.c | 88 UX_ENDPOINT *endpoint; in _ux_host_class_hid_interrupt_endpoint_search() local 94 endpoint = interface_ptr -> ux_interface_first_endpoint; in _ux_host_class_hid_interrupt_endpoint_search() 95 while(endpoint != UX_NULL) in _ux_host_class_hid_interrupt_endpoint_search() 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() 104 hid -> ux_host_class_hid_interrupt_endpoint = endpoint; in _ux_host_class_hid_interrupt_endpoint_search() 107 transfer_request = &endpoint -> ux_endpoint_transfer_request; 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() 150 hid -> ux_host_class_hid_interrupt_out_endpoint = endpoint; in _ux_host_class_hid_interrupt_endpoint_search() [all …]
|
| D | ux_host_class_cdc_acm_endpoints_get.c | 91 UX_ENDPOINT *endpoint; in _ux_host_class_cdc_acm_endpoints_get() local 105 …tack_interface_endpoint_get(cdc_acm -> ux_host_class_cdc_acm_interface, endpoint_index, &endpoint); in _ux_host_class_cdc_acm_endpoints_get() 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() 117 endpoint -> ux_endpoint_transfer_request.ux_transfer_request_type = UX_REQUEST_OUT; in _ux_host_class_cdc_acm_endpoints_get() 120 …endpoint -> ux_endpoint_transfer_request.ux_transfer_request_timeout_value = UX_HOST_CLASS_CDC_ACM… in _ux_host_class_cdc_acm_endpoints_get() 123 cdc_acm -> ux_host_class_cdc_acm_bulk_out_endpoint = 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() 136 endpoint -> ux_endpoint_transfer_request.ux_transfer_request_type = UX_REQUEST_IN; in _ux_host_class_cdc_acm_endpoints_get() [all …]
|
| D | ux_host_class_pima_endpoints_get.c | 84 UX_ENDPOINT *endpoint; in _ux_host_class_pima_endpoints_get() local 95 …host_stack_interface_endpoint_get(pima -> ux_host_class_pima_interface, endpoint_index, &endpoint); in _ux_host_class_pima_endpoints_get() 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() 107 endpoint -> ux_endpoint_transfer_request.ux_transfer_request_type = UX_REQUEST_OUT; in _ux_host_class_pima_endpoints_get() 110 pima -> ux_host_class_pima_bulk_out_endpoint = endpoint; in _ux_host_class_pima_endpoints_get() 135 …host_stack_interface_endpoint_get(pima -> ux_host_class_pima_interface, endpoint_index, &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() 147 endpoint -> ux_endpoint_transfer_request.ux_transfer_request_type = UX_REQUEST_IN; in _ux_host_class_pima_endpoints_get() [all …]
|
| D | ux_host_class_printer_endpoints_get.c | 80 UX_ENDPOINT *endpoint; in _ux_host_class_printer_endpoints_get() local 89 …tack_interface_endpoint_get(printer -> ux_host_class_printer_interface, endpoint_index, &endpoint); in _ux_host_class_printer_endpoints_get() 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() 101 endpoint -> ux_endpoint_transfer_request.ux_transfer_request_type = UX_REQUEST_OUT; in _ux_host_class_printer_endpoints_get() 104 endpoint -> ux_endpoint_transfer_request.ux_transfer_request_timeout_value = in _ux_host_class_printer_endpoints_get() 108 printer -> ux_host_class_printer_bulk_out_endpoint = endpoint; in _ux_host_class_printer_endpoints_get() 137 …tack_interface_endpoint_get(printer -> ux_host_class_printer_interface, endpoint_index, &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() [all …]
|
| D | ux_host_class_prolific_endpoints_get.c | 87 UX_ENDPOINT *endpoint; in _ux_host_class_prolific_endpoints_get() local 97 …ck_interface_endpoint_get(prolific -> ux_host_class_prolific_interface, endpoint_index, &endpoint); in _ux_host_class_prolific_endpoints_get() 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() 109 endpoint -> ux_endpoint_transfer_request.ux_transfer_request_type = UX_REQUEST_OUT; in _ux_host_class_prolific_endpoints_get() 112 prolific -> ux_host_class_prolific_bulk_out_endpoint = endpoint; in _ux_host_class_prolific_endpoints_get() 137 …ck_interface_endpoint_get(prolific -> ux_host_class_prolific_interface, endpoint_index, &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() 149 endpoint -> ux_endpoint_transfer_request.ux_transfer_request_type = UX_REQUEST_IN; in _ux_host_class_prolific_endpoints_get() [all …]
|
| D | ux_host_class_swar_endpoints_get.c | 78 UX_ENDPOINT *endpoint; in _ux_host_class_swar_endpoints_get() local 87 …host_stack_interface_endpoint_get(swar -> ux_host_class_swar_interface, endpoint_index, &endpoint); in _ux_host_class_swar_endpoints_get() 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() 99 endpoint -> ux_endpoint_transfer_request.ux_transfer_request_type = UX_REQUEST_OUT; in _ux_host_class_swar_endpoints_get() 102 swar -> ux_host_class_swar_bulk_out_endpoint = endpoint; in _ux_host_class_swar_endpoints_get() 128 …host_stack_interface_endpoint_get(swar -> ux_host_class_swar_interface, endpoint_index, &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() 140 endpoint -> ux_endpoint_transfer_request.ux_transfer_request_type = UX_REQUEST_IN; in _ux_host_class_swar_endpoints_get() [all …]
|
| D | ux_host_class_audio_endpoints_get.c | 81 UX_ENDPOINT *endpoint; in _ux_host_class_audio_endpoints_get() local 99 …nterface_endpoint_get(audio -> ux_host_class_audio_streaming_interface, endpoint_index, &endpoint); in _ux_host_class_audio_endpoints_get() 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() 114 … endpoint -> ux_endpoint_transfer_request.ux_transfer_request_type = UX_REQUEST_OUT; in _ux_host_class_audio_endpoints_get() 118 audio -> ux_host_class_audio_isochronous_endpoint = endpoint; in _ux_host_class_audio_endpoints_get() 121 audio -> ux_host_class_audio_feedback_endpoint = endpoint; in _ux_host_class_audio_endpoints_get() 128 … endpoint -> ux_endpoint_transfer_request.ux_transfer_request_type = UX_REQUEST_IN; in _ux_host_class_audio_endpoints_get() 132 audio -> ux_host_class_audio_isochronous_endpoint = endpoint; in _ux_host_class_audio_endpoints_get() 135 audio -> ux_host_class_audio_feedback_endpoint = endpoint; in _ux_host_class_audio_endpoints_get() [all …]
|
| /USBX-v6.2.1/common/usbx_device_classes/src/ |
| D | ux_device_class_cdc_ecm_activate.c | 101 UX_SLAVE_ENDPOINT *endpoint; in _ux_device_class_cdc_ecm_activate() 125 endpoint = interface_ptr -> ux_slave_interface_first_endpoint; in _ux_device_class_cdc_ecm_activate() 128 while (endpoint != UX_NULL) in _ux_device_class_cdc_ecm_activate() 132 …if ((endpoint -> ux_slave_endpoint_descriptor.bEndpointAddress & UX_ENDPOINT_DIRECTION) == UX_ENDP… in _ux_device_class_cdc_ecm_activate() 136 …if ((endpoint -> ux_slave_endpoint_descriptor.bmAttributes & UX_MASK_ENDPOINT_TYPE) == UX_INTERRUP… in _ux_device_class_cdc_ecm_activate() 140 cdc_ecm -> ux_slave_class_cdc_ecm_interrupt_endpoint = endpoint; in _ux_device_class_cdc_ecm_activate() 144 endpoint -> ux_slave_endpoint_transfer_request. in _ux_device_class_cdc_ecm_activate() 161 endpoint = endpoint -> ux_slave_endpoint_next_endpoint; in _ux_device_class_cdc_ecm_activate() 187 endpoint = interface_ptr -> ux_slave_interface_first_endpoint; in _ux_device_class_cdc_ecm_activate() 190 while (endpoint != UX_NULL) in _ux_device_class_cdc_ecm_activate() [all …]
|
| D | ux_device_class_printer_activate.c | 82 UX_SLAVE_ENDPOINT *endpoint; in _ux_device_class_printer_activate() local 102 endpoint = printer_interface -> ux_slave_interface_first_endpoint; in _ux_device_class_printer_activate() 103 while(endpoint) in _ux_device_class_printer_activate() 105 if (endpoint -> ux_slave_endpoint_descriptor.bmAttributes == UX_BULK_ENDPOINT) in _ux_device_class_printer_activate() 107 if (endpoint -> ux_slave_endpoint_descriptor.bEndpointAddress & UX_ENDPOINT_IN) in _ux_device_class_printer_activate() 109 printer -> ux_device_class_printer_endpoint_in = endpoint; in _ux_device_class_printer_activate() 111 … endpoint -> ux_slave_endpoint_transfer_request.ux_slave_transfer_request_data_pointer = in _ux_device_class_printer_activate() 119 printer -> ux_device_class_printer_endpoint_out = endpoint; in _ux_device_class_printer_activate() 121 … endpoint -> ux_slave_endpoint_transfer_request.ux_slave_transfer_request_data_pointer = in _ux_device_class_printer_activate() 130 endpoint = endpoint -> ux_slave_endpoint_next_endpoint; in _ux_device_class_printer_activate()
|
| D | ux_device_class_ccid_deactivate.c | 74 UX_SLAVE_ENDPOINT *endpoint; in _ux_device_class_ccid_deactivate() local 83 endpoint = ccid -> ux_device_class_ccid_endpoint_out; in _ux_device_class_ccid_deactivate() 84 _ux_device_stack_transfer_all_request_abort(endpoint, UX_TRANSFER_BUS_RESET); in _ux_device_class_ccid_deactivate() 86 endpoint = ccid -> ux_device_class_ccid_endpoint_in; in _ux_device_class_ccid_deactivate() 87 _ux_device_stack_transfer_all_request_abort(endpoint, UX_TRANSFER_BUS_RESET); in _ux_device_class_ccid_deactivate() 89 endpoint = ccid -> ux_device_class_ccid_endpoint_notify; in _ux_device_class_ccid_deactivate() 90 if (endpoint) in _ux_device_class_ccid_deactivate() 91 _ux_device_stack_transfer_all_request_abort(endpoint, UX_TRANSFER_BUS_RESET); in _ux_device_class_ccid_deactivate()
|
| D | ux_device_class_cdc_acm_ioctl.c | 112 UX_SLAVE_ENDPOINT *endpoint; in _ux_device_class_cdc_acm_ioctl() local 179 endpoint = interface_ptr -> ux_slave_interface_first_endpoint; in _ux_device_class_cdc_acm_ioctl() 187 …if ((endpoint -> ux_slave_endpoint_descriptor.bEndpointAddress & UX_ENDPOINT_DIRECTION) != UX_ENDP… in _ux_device_class_cdc_acm_ioctl() 191 endpoint = endpoint -> ux_slave_endpoint_next_endpoint; in _ux_device_class_cdc_acm_ioctl() 198 …if ((endpoint -> ux_slave_endpoint_descriptor.bEndpointAddress & UX_ENDPOINT_DIRECTION) != UX_ENDP… in _ux_device_class_cdc_acm_ioctl() 202 endpoint = endpoint -> ux_slave_endpoint_next_endpoint; in _ux_device_class_cdc_acm_ioctl() 215 transfer_request = &endpoint -> ux_slave_endpoint_transfer_request; in _ux_device_class_cdc_acm_ioctl() 245 endpoint = interface_ptr -> ux_slave_interface_first_endpoint; in _ux_device_class_cdc_acm_ioctl() 248 … if ((endpoint -> ux_slave_endpoint_descriptor.bEndpointAddress & UX_ENDPOINT_DIRECTION) != in _ux_device_class_cdc_acm_ioctl() 250 endpoint = endpoint -> ux_slave_endpoint_next_endpoint; in _ux_device_class_cdc_acm_ioctl() [all …]
|
| D | ux_device_class_ccid_activate.c | 84 UX_SLAVE_ENDPOINT *endpoint; in _ux_device_class_ccid_activate() local 107 endpoint = ccid_interface -> ux_slave_interface_first_endpoint; in _ux_device_class_ccid_activate() 108 while(endpoint) in _ux_device_class_ccid_activate() 110 endpoint_type = endpoint -> ux_slave_endpoint_descriptor.bmAttributes; in _ux_device_class_ccid_activate() 114 ccid -> ux_device_class_ccid_endpoint_notify = endpoint; in _ux_device_class_ccid_activate() 116 endpoint -> ux_slave_endpoint_transfer_request. in _ux_device_class_ccid_activate() 123 if (endpoint -> ux_slave_endpoint_descriptor.bEndpointAddress & UX_ENDPOINT_IN) in _ux_device_class_ccid_activate() 125 ccid -> ux_device_class_ccid_endpoint_in = endpoint; in _ux_device_class_ccid_activate() 127 endpoint -> ux_slave_endpoint_transfer_request. in _ux_device_class_ccid_activate() 134 ccid -> ux_device_class_ccid_endpoint_out = endpoint; in _ux_device_class_ccid_activate() [all …]
|