Home
last modified time | relevance | path

Searched refs:configuration (Results 1 – 25 of 97) sorted by relevance

1234

/USBX-v6.2.1/common/core/src/
Dux_host_stack_device_configuration_select.c89 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()
Dux_host_stack_device_configuration_activate.c81 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 …]
Dux_host_stack_new_configuration_create.c74 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()
Dux_host_stack_interfaces_scan.c75 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()
129configuration -> ux_configuration_iad_subclass = interface_association.bFunctionSubClass; in _ux_host_stack_interfaces_scan()
130configuration -> 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()
178configuration -> ux_configuration_otg_capabilities = (ULONG) *(descriptor + UX_OTG_BM_ATTRIBUTES); in _ux_host_stack_interfaces_scan()
Dux_host_stack_configuration_interface_get.c81 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()
Dux_host_stack_configuration_set.c89 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()
Dux_host_stack_device_configuration_get.c76 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()
Dux_host_stack_new_interface_create.c88 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()
Dux_host_stack_class_interface_scan.c94 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()
Dux_host_stack_configuration_enumerate.c92 UX_CONFIGURATION *configuration; in _ux_host_stack_configuration_enumerate() local
134configuration = _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()
Dux_host_stack_device_resources_free.c95 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()
208configuration = configuration -> ux_configuration_next_configuration; … in _ux_host_stack_device_resources_free()
Dux_host_stack_configuration_instance_create.c80 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()
Dux_host_stack_configuration_instance_delete.c80 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()
Dux_host_class_dpump_configure.c81 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()
Dux_host_stack_tasks_run.c224 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/
Dux_host_class_hid_configure.c85 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()
Dux_host_class_asix_configure.c85 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()
Dux_host_class_prolific_configure.c85 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()
Dux_host_class_hub_configure.c90 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()
Dux_host_class_swar_configure.c84 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()
Dux_host_class_printer_configure.c81 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()
Dux_host_class_pima_configure.c82 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()
Dux_host_class_storage_configure.c81 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()
Dux_host_class_cdc_acm_configure.c82 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/
Dux_host_stack.h144 …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 …]

1234