| /USBX-v6.2.1/common/core/src/ |
| D | ux_host_stack_device_configuration_select.c | 89 UINT _ux_host_stack_device_configuration_select(UX_CONFIGURATION *configuration) in _ux_host_stack_device_configuration_select() argument 97 if (configuration -> ux_configuration_handle != (ULONG) (ALIGN_TYPE) configuration) in _ux_host_stack_device_configuration_select() 104 …UX_TRACE_IN_LINE_INSERT(UX_TRACE_ERROR, UX_CONFIGURATION_HANDLE_UNKNOWN, configuration, 0, 0, UX_T… in _ux_host_stack_device_configuration_select() 110 device = configuration -> ux_configuration_device; in _ux_host_stack_device_configuration_select() 113 …UX_TRACE_IN_LINE_INSERT(UX_TRACE_HOST_STACK_DEVICE_CONFIGURATION_SELECT, device, configuration, 0,… in _ux_host_stack_device_configuration_select() 118 …if (((configuration -> ux_configuration_descriptor.bmAttributes & UX_CONFIGURATION_DEVICE_SELF_POW… in _ux_host_stack_device_configuration_select() 119 (configuration -> ux_configuration_descriptor.MaxPower > UX_DEVICE_MAX_POWER_GET(device))) in _ux_host_stack_device_configuration_select() 126 …UX_TRACE_IN_LINE_INSERT(UX_TRACE_ERROR, UX_OVER_CURRENT_CONDITION, configuration, 0, 0, UX_TRACE_E… in _ux_host_stack_device_configuration_select() 144 status = _ux_host_stack_configuration_set(configuration); in _ux_host_stack_device_configuration_select() 149 status = _ux_host_stack_configuration_instance_create(configuration); in _ux_host_stack_device_configuration_select()
|
| D | ux_host_stack_device_configuration_activate.c | 81 UINT _ux_host_stack_device_configuration_activate(UX_CONFIGURATION *configuration) in _ux_host_stack_device_configuration_activate() argument 91 if (configuration -> ux_configuration_handle != (ULONG) (ALIGN_TYPE) configuration) in _ux_host_stack_device_configuration_activate() 98 …UX_TRACE_IN_LINE_INSERT(UX_TRACE_ERROR, UX_CONFIGURATION_HANDLE_UNKNOWN, configuration, 0, 0, UX_T… in _ux_host_stack_device_configuration_activate() 104 device = configuration -> ux_configuration_device; in _ux_host_stack_device_configuration_activate() 107 …INE_INSERT(UX_TRACE_HOST_STACK_DEVICE_CONFIGURATION_ACTIVATE, device, configuration, 0, 0, UX_TRAC… in _ux_host_stack_device_configuration_activate() 134 …UX_TRACE_IN_LINE_INSERT(UX_TRACE_ERROR, UX_SEMAPHORE_ERROR, configuration, 0, 0, UX_TRACE_ERRORS, … in _ux_host_stack_device_configuration_activate() 147 status = (device -> ux_device_current_configuration == configuration) ? in _ux_host_stack_device_configuration_activate() 158 status = _ux_host_stack_configuration_interface_scan(configuration); in _ux_host_stack_device_configuration_activate() 169 device -> ux_device_enum_inst.configuration = configuration; in _ux_host_stack_device_configuration_activate() 227 UINT _uxe_host_stack_device_configuration_activate(UX_CONFIGURATION *configuration) in _uxe_host_stack_device_configuration_activate() argument [all …]
|
| D | ux_host_stack_new_configuration_create.c | 74 VOID _ux_host_stack_new_configuration_create(UX_DEVICE *device, UX_CONFIGURATION *configuration) in _ux_host_stack_new_configuration_create() argument 80 …UX_TRACE_IN_LINE_INSERT(UX_TRACE_HOST_STACK_NEW_CONFIGURATION_CREATE, device, configuration, 0, 0,… in _ux_host_stack_new_configuration_create() 84 configuration -> ux_configuration_device = device; in _ux_host_stack_new_configuration_create() 88 configuration -> ux_configuration_handle = (ULONG) (ALIGN_TYPE) configuration; in _ux_host_stack_new_configuration_create() 96 device -> ux_device_first_configuration = configuration; in _ux_host_stack_new_configuration_create() 111 list_configuration -> ux_configuration_next_configuration = configuration; in _ux_host_stack_new_configuration_create()
|
| D | ux_host_stack_interfaces_scan.c | 75 UINT _ux_host_stack_interfaces_scan(UX_CONFIGURATION *configuration, UCHAR * descriptor) in _ux_host_stack_interfaces_scan() argument 87 total_configuration_length = configuration -> ux_configuration_descriptor.wTotalLength; in _ux_host_stack_interfaces_scan() 128 configuration -> ux_configuration_iad_class = interface_association.bFunctionClass; in _ux_host_stack_interfaces_scan() 129 … configuration -> ux_configuration_iad_subclass = interface_association.bFunctionSubClass; in _ux_host_stack_interfaces_scan() 130 … configuration -> ux_configuration_iad_protocol = interface_association.bFunctionProtocol; in _ux_host_stack_interfaces_scan() 145 …status = _ux_host_stack_new_interface_create(configuration, descriptor, total_configuration_lengt… in _ux_host_stack_interfaces_scan() 162 configuration -> ux_configuration_iad_class = 0; in _ux_host_stack_interfaces_scan() 163 configuration -> ux_configuration_iad_subclass = 0; in _ux_host_stack_interfaces_scan() 164 configuration -> ux_configuration_iad_protocol = 0; in _ux_host_stack_interfaces_scan() 178 … configuration -> ux_configuration_otg_capabilities = (ULONG) *(descriptor + UX_OTG_BM_ATTRIBUTES); in _ux_host_stack_interfaces_scan()
|
| D | ux_host_stack_configuration_interface_get.c | 81 UINT _ux_host_stack_configuration_interface_get(UX_CONFIGURATION *configuration, in _ux_host_stack_configuration_interface_get() argument 92 if (configuration -> ux_configuration_handle != (ULONG) (ALIGN_TYPE) configuration) in _ux_host_stack_configuration_interface_get() 96 …UX_TRACE_IN_LINE_INSERT(UX_TRACE_ERROR, UX_CONFIGURATION_HANDLE_UNKNOWN, configuration, 0, 0, UX_T… in _ux_host_stack_configuration_interface_get() 102 current_interface = configuration -> ux_configuration_first_interface; in _ux_host_stack_configuration_interface_get() 232 UINT _uxe_host_stack_configuration_interface_get(UX_CONFIGURATION *configuration, in _uxe_host_stack_configuration_interface_get() argument 238 if ((configuration == UX_NULL) || (ux_interface == UX_NULL)) in _uxe_host_stack_configuration_interface_get() 242 return(_ux_host_stack_configuration_interface_get(configuration, in _uxe_host_stack_configuration_interface_get()
|
| D | ux_host_stack_configuration_set.c | 89 UINT _ux_host_stack_configuration_set(UX_CONFIGURATION *configuration) in _ux_host_stack_configuration_set() argument 103 device = configuration -> ux_configuration_device; in _ux_host_stack_configuration_set() 109 if (configuration -> ux_configuration_otg_capabilities & UX_OTG_HNP_SUPPORT) in _ux_host_stack_configuration_set() 139 configuration -> ux_configuration_otg_capabilities = 0; in _ux_host_stack_configuration_set() 147 …UX_TRACE_IN_LINE_INSERT(UX_TRACE_HOST_STACK_CONFIGURATION_SET, configuration, 0, 0, 0, UX_TRACE_HO… in _ux_host_stack_configuration_set() 153 …transfer_request -> ux_transfer_request_value = (USHORT) configuration -> ux_configura… in _ux_host_stack_configuration_set() 180 device -> ux_device_current_configuration = configuration; in _ux_host_stack_configuration_set() 183 device -> ux_device_power_source = (configuration -> in _ux_host_stack_configuration_set()
|
| D | ux_host_stack_device_configuration_get.c | 76 UX_CONFIGURATION **configuration) in _ux_host_stack_device_configuration_get() argument 110 *configuration = current_configuration; in _ux_host_stack_device_configuration_get() 130 …UX_TRACE_IN_LINE_INSERT(UX_TRACE_ERROR, UX_CONFIGURATION_HANDLE_UNKNOWN, configuration, 0, 0, UX_T… in _ux_host_stack_device_configuration_get() 179 UX_CONFIGURATION **configuration) in _uxe_host_stack_device_configuration_get() argument 183 if ((device == UX_NULL) || (configuration == UX_NULL)) in _uxe_host_stack_device_configuration_get() 187 return(_ux_host_stack_device_configuration_get(device, configuration_index, configuration)); in _uxe_host_stack_device_configuration_get()
|
| D | ux_host_stack_new_interface_create.c | 88 UINT _ux_host_stack_new_interface_create(UX_CONFIGURATION *configuration, in _ux_host_stack_new_interface_create() argument 119 interface_ptr -> ux_interface_configuration = configuration; in _ux_host_stack_new_interface_create() 122 interface_ptr -> ux_interface_iad_class = configuration -> ux_configuration_iad_class; in _ux_host_stack_new_interface_create() 123 interface_ptr -> ux_interface_iad_subclass = configuration -> ux_configuration_iad_subclass; in _ux_host_stack_new_interface_create() 124 interface_ptr -> ux_interface_iad_protocol = configuration -> ux_configuration_iad_protocol; in _ux_host_stack_new_interface_create() 130 if (configuration -> ux_configuration_first_interface == UX_NULL) in _ux_host_stack_new_interface_create() 132 configuration -> ux_configuration_first_interface = interface_ptr; in _ux_host_stack_new_interface_create() 137 list_interface = configuration -> ux_configuration_first_interface; in _ux_host_stack_new_interface_create()
|
| D | ux_host_stack_class_interface_scan.c | 94 UX_CONFIGURATION *configuration; in _ux_host_stack_class_interface_scan() local 100 configuration = device -> ux_device_first_configuration; in _ux_host_stack_class_interface_scan() 101 if (configuration == UX_NULL) in _ux_host_stack_class_interface_scan() 105 status = _ux_host_stack_configuration_interface_scan(configuration); in _ux_host_stack_class_interface_scan()
|
| D | ux_host_stack_configuration_enumerate.c | 92 UX_CONFIGURATION *configuration; in _ux_host_stack_configuration_enumerate() local 134 …configuration = _ux_utility_memory_allocate(UX_NO_ALIGN, UX_REGULAR_MEMORY, sizeof(UX_CONFIGURATI… in _ux_host_stack_configuration_enumerate() 137 if (configuration != UX_NULL) in _ux_host_stack_configuration_enumerate() 141 _ux_host_stack_new_configuration_create(device, configuration); in _ux_host_stack_configuration_enumerate() 145 … UX_CONFIGURATION_DESCRIPTOR_ENTRIES, (UCHAR *) &configuration -> ux_configuration_descriptor); in _ux_host_stack_configuration_enumerate() 149 …status = _ux_host_stack_configuration_descriptor_parse(device, configuration, configuration_index… in _ux_host_stack_configuration_enumerate() 155 _ux_host_stack_configuration_instance_delete(configuration); in _ux_host_stack_configuration_enumerate()
|
| D | ux_host_stack_device_resources_free.c | 95 UX_CONFIGURATION *configuration; in _ux_host_stack_device_resources_free() local 132 if (device -> ux_device_enum_inst.configuration && in _ux_host_stack_device_resources_free() 133 device -> ux_device_enum_inst.configuration -> in _ux_host_stack_device_resources_free() 150 configuration = device -> ux_device_first_configuration; in _ux_host_stack_device_resources_free() 153 while (configuration != UX_NULL) in _ux_host_stack_device_resources_free() 157 interface_ptr = configuration -> ux_configuration_first_interface; in _ux_host_stack_device_resources_free() 205 container = (VOID *) configuration; in _ux_host_stack_device_resources_free() 208 …configuration = configuration -> ux_configuration_next_configuration; … in _ux_host_stack_device_resources_free()
|
| D | ux_host_stack_configuration_instance_create.c | 80 UINT _ux_host_stack_configuration_instance_create(UX_CONFIGURATION *configuration) in _ux_host_stack_configuration_instance_create() argument 87 …UX_TRACE_IN_LINE_INSERT(UX_TRACE_HOST_STACK_CONFIGURATION_INSTANCE_CREATE, configuration, 0, 0, 0,… in _ux_host_stack_configuration_instance_create() 90 interface_ptr = configuration -> ux_configuration_first_interface; in _ux_host_stack_configuration_instance_create() 103 …if (interface_ptr -> ux_interface_class || configuration -> ux_configuration_device -> ux_device_c… in _ux_host_stack_configuration_instance_create()
|
| D | ux_host_stack_configuration_instance_delete.c | 80 VOID _ux_host_stack_configuration_instance_delete(UX_CONFIGURATION *configuration) in _ux_host_stack_configuration_instance_delete() argument 87 …UX_TRACE_IN_LINE_INSERT(UX_TRACE_HOST_STACK_CONFIGURATION_INSTANCE_DELETE, configuration, 0, 0, 0,… in _ux_host_stack_configuration_instance_delete() 90 interface_ptr = configuration -> ux_configuration_first_interface; in _ux_host_stack_configuration_instance_delete() 112 …if (interface_ptr -> ux_interface_class || configuration -> ux_configuration_device -> ux_device_c… in _ux_host_stack_configuration_instance_delete()
|
| D | ux_host_class_dpump_configure.c | 81 UX_CONFIGURATION *configuration; in _ux_host_class_dpump_configure() local 94 …= _ux_host_stack_device_configuration_get(dpump -> ux_host_class_dpump_device, 0, &configuration); in _ux_host_class_dpump_configure() 130 status = _ux_host_stack_device_configuration_select(configuration); in _ux_host_class_dpump_configure() 137 …status = _ux_host_stack_configuration_interface_get(configuration, 0, 0, &dpump -> ux_host_class_… in _ux_host_class_dpump_configure()
|
| D | ux_host_stack_tasks_run.c | 224 UX_DEVICE *device, UX_CONFIGURATION *configuration, UCHAR *descriptor) in _ux_host_stack_enum_configuration_descriptor_parse0() argument 227 _ux_host_stack_new_configuration_create(device, configuration); in _ux_host_stack_enum_configuration_descriptor_parse0() 233 (UCHAR *) &configuration -> ux_configuration_descriptor); in _ux_host_stack_enum_configuration_descriptor_parse0() 238 UX_CONFIGURATION *configuration; in _ux_host_stack_enum_configuration_read() local 244 configuration = _ux_utility_memory_allocate(UX_NO_ALIGN, UX_REGULAR_MEMORY, in _ux_host_stack_enum_configuration_read() 246 if (configuration == UX_NULL) in _ux_host_stack_enum_configuration_read() 256 _ux_utility_memory_free(configuration); in _ux_host_stack_enum_configuration_read() 261 device -> ux_device_enum_inst.configuration = configuration; in _ux_host_stack_enum_configuration_read() 312 device -> ux_device_enum_inst.configuration = in _ux_host_stack_configuration_parsed() 447 UX_CONFIGURATION *configuration; in _ux_host_stack_device_enum_run() local [all …]
|
| /USBX-v6.2.1/common/usbx_host_classes/src/ |
| D | ux_host_class_hid_configure.c | 85 UX_CONFIGURATION *configuration; in _ux_host_class_hid_configure() local 97 …tus = _ux_host_stack_device_configuration_get(hid -> ux_host_class_hid_device, 0, &configuration); in _ux_host_class_hid_configure() 112 device = configuration -> ux_configuration_device; in _ux_host_class_hid_configure() 139 _ux_host_stack_device_configuration_select(configuration); in _ux_host_class_hid_configure() 144 …status = _ux_host_stack_configuration_interface_get(configuration, 0, 0, &hid -> ux_host_class_hi… in _ux_host_class_hid_configure()
|
| D | ux_host_class_asix_configure.c | 85 UX_CONFIGURATION *configuration; in _ux_host_class_asix_configure() local 98 …s = _ux_host_stack_device_configuration_get(asix -> ux_host_class_asix_device, 0, &configuration); in _ux_host_class_asix_configure() 137 status = _ux_host_stack_device_configuration_select(configuration); in _ux_host_class_asix_configure() 144 …status = _ux_host_stack_configuration_interface_get(configuration, 0, 0, &asix -> ux_host_class_a… in _ux_host_class_asix_configure()
|
| D | ux_host_class_prolific_configure.c | 85 UX_CONFIGURATION *configuration; in _ux_host_class_prolific_configure() local 98 …_host_stack_device_configuration_get(prolific -> ux_host_class_prolific_device, 0, &configuration); in _ux_host_class_prolific_configure() 137 status = _ux_host_stack_device_configuration_select(configuration); in _ux_host_class_prolific_configure() 144 …status = _ux_host_stack_configuration_interface_get(configuration, 0, 0, &prolific -> ux_host_cla… in _ux_host_class_prolific_configure()
|
| D | ux_host_class_hub_configure.c | 90 UX_CONFIGURATION *configuration; in _ux_host_class_hub_configure() local 102 _ux_host_stack_device_configuration_get(hub -> ux_host_class_hub_device, 0, &configuration); in _ux_host_class_hub_configure() 105 device = configuration -> ux_configuration_device; in _ux_host_class_hub_configure() 183 _ux_host_stack_device_configuration_select(configuration); in _ux_host_class_hub_configure() 188 …status = _ux_host_stack_configuration_interface_get(configuration, 0, 0, &hub -> ux_host_class_hu… in _ux_host_class_hub_configure()
|
| D | ux_host_class_swar_configure.c | 84 UX_CONFIGURATION *configuration; in _ux_host_class_swar_configure() local 97 …s = _ux_host_stack_device_configuration_get(swar -> ux_host_class_swar_device, 0, &configuration); in _ux_host_class_swar_configure() 136 status = _ux_host_stack_device_configuration_select(configuration); in _ux_host_class_swar_configure() 142 …status = _ux_host_stack_configuration_interface_get(configuration, UX_HOST_CLASS_SWAR_DATA_INTERF… in _ux_host_class_swar_configure()
|
| D | ux_host_class_printer_configure.c | 81 UX_CONFIGURATION *configuration; in _ux_host_class_printer_configure() local 94 …ux_host_stack_device_configuration_get(printer -> ux_host_class_printer_device, 0, &configuration); in _ux_host_class_printer_configure() 133 status = _ux_host_stack_device_configuration_select(configuration); in _ux_host_class_printer_configure() 140 …status = _ux_host_stack_configuration_interface_get(configuration, 0, 0, &printer -> ux_host_clas… in _ux_host_class_printer_configure()
|
| D | ux_host_class_pima_configure.c | 82 UX_CONFIGURATION *configuration; in _ux_host_class_pima_configure() local 95 …s = _ux_host_stack_device_configuration_get(pima -> ux_host_class_pima_device, 0, &configuration); in _ux_host_class_pima_configure() 134 status = _ux_host_stack_device_configuration_select(configuration); in _ux_host_class_pima_configure() 141 …status = _ux_host_stack_configuration_interface_get(configuration, 0, 0, &pima -> ux_host_class_p… in _ux_host_class_pima_configure()
|
| D | ux_host_class_storage_configure.c | 81 UX_CONFIGURATION *configuration; in _ux_host_class_storage_configure() local 94 …ux_host_stack_device_configuration_get(storage -> ux_host_class_storage_device, 0, &configuration); in _ux_host_class_storage_configure() 135 status = _ux_host_stack_device_configuration_select(configuration); in _ux_host_class_storage_configure() 142 …status = _ux_host_stack_configuration_interface_get(configuration, 0, 0, &storage -> ux_host_clas… in _ux_host_class_storage_configure()
|
| D | ux_host_class_cdc_acm_configure.c | 82 UX_CONFIGURATION *configuration; in _ux_host_class_cdc_acm_configure() local 95 …ux_host_stack_device_configuration_get(cdc_acm -> ux_host_class_cdc_acm_device, 0, &configuration); in _ux_host_class_cdc_acm_configure() 134 status = _ux_host_stack_device_configuration_select(configuration); in _ux_host_class_cdc_acm_configure() 141 …status = _ux_host_stack_configuration_interface_get(configuration, 0, 0, &cdc_acm -> ux_host_clas… in _ux_host_class_cdc_acm_configure()
|
| /USBX-v6.2.1/common/core/inc/ |
| D | ux_host_stack.h | 144 …k_configuration_descriptor_parse(UX_DEVICE *device, UX_CONFIGURATION *configuration, UINT configur… 146 UINT _ux_host_stack_configuration_instance_create(UX_CONFIGURATION *configuration); 147 VOID _ux_host_stack_configuration_instance_delete(UX_CONFIGURATION *configuration); 148 UINT _ux_host_stack_configuration_interface_get(UX_CONFIGURATION *configuration, 151 UINT _ux_host_stack_configuration_interface_scan(UX_CONFIGURATION *configuration); 152 UINT _ux_host_stack_configuration_set(UX_CONFIGURATION *configuration); 155 UINT _ux_host_stack_device_configuration_activate(UX_CONFIGURATION *configuration); 158 UX_CONFIGURATION **configuration); 159 UINT _ux_host_stack_device_configuration_select(UX_CONFIGURATION *configuration); 183 UINT _ux_host_stack_interfaces_scan(UX_CONFIGURATION *configuration, UCHAR * descriptor); [all …]
|