Home
last modified time | relevance | path

Searched refs:parent_device (Results 1 – 18 of 18) sorted by relevance

/USBX-v6.2.1/common/core/src/
Dux_host_stack_bandwidth_claim.c87 UX_DEVICE *parent_device; in _ux_host_stack_bandwidth_claim() local
189 parent_device = device -> ux_device_parent; in _ux_host_stack_bandwidth_claim()
190 if (parent_device == UX_NULL) in _ux_host_stack_bandwidth_claim()
204 while (parent_device != UX_NULL) in _ux_host_stack_bandwidth_claim()
208 if (parent_device -> ux_device_speed == UX_HIGH_SPEED_DEVICE) in _ux_host_stack_bandwidth_claim()
224 … if ((parent_device -> ux_device_hub_tt[tt_index].ux_hub_tt_port_mapping & port_map) != 0) in _ux_host_stack_bandwidth_claim()
229parent_device -> ux_device_hub_tt[tt_index].ux_hub_tt_max_bandwidth -= tt_bandwidth_claimed; in _ux_host_stack_bandwidth_claim()
239 port_index = parent_device -> ux_device_port_location - 1; in _ux_host_stack_bandwidth_claim()
242 parent_device = parent_device -> ux_device_parent; in _ux_host_stack_bandwidth_claim()
Dux_host_stack_bandwidth_release.c86 UX_DEVICE *parent_device; in _ux_host_stack_bandwidth_release() local
188 parent_device = device -> ux_device_parent; in _ux_host_stack_bandwidth_release()
189 if (parent_device == UX_NULL) in _ux_host_stack_bandwidth_release()
203 while (parent_device != UX_NULL) in _ux_host_stack_bandwidth_release()
207 if (parent_device -> ux_device_speed == UX_HIGH_SPEED_DEVICE) in _ux_host_stack_bandwidth_release()
219 … if ((parent_device -> ux_device_hub_tt[tt_index].ux_hub_tt_port_mapping & port_map) != 0) in _ux_host_stack_bandwidth_release()
224parent_device -> ux_device_hub_tt[tt_index].ux_hub_tt_max_bandwidth += tt_bandwidth_claimed; in _ux_host_stack_bandwidth_release()
234 port_index = parent_device -> ux_device_port_location - 1; in _ux_host_stack_bandwidth_release()
237 parent_device = parent_device -> ux_device_parent; in _ux_host_stack_bandwidth_release()
Dux_host_stack_bandwidth_check.c88 UX_DEVICE *parent_device; in _ux_host_stack_bandwidth_check() local
200 parent_device = device -> ux_device_parent; in _ux_host_stack_bandwidth_check()
201 if (parent_device == UX_NULL) in _ux_host_stack_bandwidth_check()
215 while (parent_device != UX_NULL) in _ux_host_stack_bandwidth_check()
219 if (parent_device -> ux_device_speed == UX_HIGH_SPEED_DEVICE) in _ux_host_stack_bandwidth_check()
232 … if ((parent_device -> ux_device_hub_tt[tt_index].ux_hub_tt_port_mapping & port_map) != 0) in _ux_host_stack_bandwidth_check()
237 … if (parent_device -> ux_device_hub_tt[tt_index].ux_hub_tt_max_bandwidth < tt_bandwidth_claimed) in _ux_host_stack_bandwidth_check()
265 port_index = parent_device -> ux_device_port_location - 1; in _ux_host_stack_bandwidth_check()
268 parent_device = parent_device -> ux_device_parent; in _ux_host_stack_bandwidth_check()
Dux_host_class_dpump_configure.c83 UX_DEVICE *parent_device; in _ux_host_class_dpump_configure() local
114 parent_device = dpump -> ux_host_class_dpump_device -> ux_device_parent; in _ux_host_class_dpump_configure()
118 …if ((parent_device != UX_NULL) && (parent_device -> ux_device_power_source == UX_DEVICE_BUS_POWERE… in _ux_host_class_dpump_configure()
/USBX-v6.2.1/common/usbx_host_classes/src/
Dux_host_class_asix_configure.c87 UX_DEVICE *parent_device; in _ux_host_class_asix_configure() local
118 parent_device = asix -> ux_host_class_asix_device -> ux_device_parent; in _ux_host_class_asix_configure()
122 …if ((parent_device != UX_NULL) && (parent_device -> ux_device_power_source == UX_DEVICE_BUS_POWERE… in _ux_host_class_asix_configure()
Dux_host_class_prolific_configure.c87 UX_DEVICE *parent_device; in _ux_host_class_prolific_configure() local
118 parent_device = prolific -> ux_host_class_prolific_device -> ux_device_parent; in _ux_host_class_prolific_configure()
122 …if ((parent_device != UX_NULL) && (parent_device -> ux_device_power_source == UX_DEVICE_BUS_POWERE… in _ux_host_class_prolific_configure()
Dux_host_class_hid_configure.c88 UX_DEVICE *parent_device; in _ux_host_class_hid_configure() local
115 parent_device = device -> ux_device_parent; in _ux_host_class_hid_configure()
124 …if ((parent_device != UX_NULL) && (parent_device -> ux_device_power_source == UX_DEVICE_BUS_POWERE… in _ux_host_class_hid_configure()
Dux_host_class_swar_configure.c86 UX_DEVICE *parent_device; in _ux_host_class_swar_configure() local
117 parent_device = swar -> ux_host_class_swar_device -> ux_device_parent; in _ux_host_class_swar_configure()
121 …if ((parent_device != UX_NULL) && (parent_device -> ux_device_power_source == UX_DEVICE_BUS_POWERE… in _ux_host_class_swar_configure()
Dux_host_class_printer_configure.c83 UX_DEVICE *parent_device; in _ux_host_class_printer_configure() local
114 parent_device = printer -> ux_host_class_printer_device -> ux_device_parent; in _ux_host_class_printer_configure()
118 …if ((parent_device != UX_NULL) && (parent_device -> ux_device_power_source == UX_DEVICE_BUS_POWERE… in _ux_host_class_printer_configure()
Dux_host_class_pima_configure.c84 UX_DEVICE *parent_device; in _ux_host_class_pima_configure() local
115 parent_device = pima -> ux_host_class_pima_device -> ux_device_parent; in _ux_host_class_pima_configure()
119 …if ((parent_device != UX_NULL) && (parent_device -> ux_device_power_source == UX_DEVICE_BUS_POWERE… in _ux_host_class_pima_configure()
Dux_host_class_storage_configure.c83 UX_DEVICE *parent_device; in _ux_host_class_storage_configure() local
116 parent_device = storage -> ux_host_class_storage_device -> ux_device_parent; in _ux_host_class_storage_configure()
120 …if ((parent_device != UX_NULL) && (parent_device -> ux_device_power_source == UX_DEVICE_BUS_POWERE… in _ux_host_class_storage_configure()
Dux_host_class_cdc_acm_configure.c84 UX_DEVICE *parent_device; in _ux_host_class_cdc_acm_configure() local
115 parent_device = cdc_acm -> ux_host_class_cdc_acm_device -> ux_device_parent; in _ux_host_class_cdc_acm_configure()
119 …if ((parent_device != UX_NULL) && (parent_device -> ux_device_power_source == UX_DEVICE_BUS_POWERE… in _ux_host_class_cdc_acm_configure()
Dux_host_class_gser_configure.c91 UX_DEVICE *parent_device; in _ux_host_class_gser_configure() local
122 parent_device = gser -> ux_host_class_gser_device -> ux_device_parent; in _ux_host_class_gser_configure()
126 …if ((parent_device != UX_NULL) && (parent_device -> ux_device_power_source == UX_DEVICE_BUS_POWERE… in _ux_host_class_gser_configure()
Dux_host_class_video_configure.c92 UX_DEVICE *parent_device; in _ux_host_class_video_configure() local
124 parent_device = video -> ux_host_class_video_device -> ux_device_parent; in _ux_host_class_video_configure()
128 …if ((parent_device != UX_NULL) && (parent_device -> ux_device_power_source == UX_DEVICE_BUS_POWERE… in _ux_host_class_video_configure()
Dux_host_class_hub_configure.c96 UX_DEVICE *parent_device; in _ux_host_class_hub_configure() local
164 parent_device = device -> ux_device_parent; in _ux_host_class_hub_configure()
168 …if ((parent_device != UX_NULL) && (parent_device -> ux_device_power_source == UX_DEVICE_BUS_POWERE… in _ux_host_class_hub_configure()
Dux_host_class_audio_configure.c88 UX_DEVICE *parent_device; in _ux_host_class_audio_configure() local
120 parent_device = audio -> ux_host_class_audio_device -> ux_device_parent; in _ux_host_class_audio_configure()
124 …if ((parent_device != UX_NULL) && (parent_device -> ux_device_power_source == UX_DEVICE_BUS_POWERE… in _ux_host_class_audio_configure()
/USBX-v6.2.1/test/regression/
Dusbx_cdc_acm_configure_test.c629 UX_DEVICE *parent_device; in tx_test_thread_host_simulation_entry() local
758 parent_device = _ux_host_stack_new_device_get(); in tx_test_thread_host_simulation_entry()
760 parent_device -> ux_device_power_source = UX_DEVICE_BUS_POWERED; in tx_test_thread_host_simulation_entry()
761 device -> ux_device_parent = parent_device; in tx_test_thread_host_simulation_entry()
790 parent_device -> ux_device_power_source = UX_DEVICE_SELF_POWERED; in tx_test_thread_host_simulation_entry()
Dusbx_ux_host_class_storage_configure_test.c492 UX_DEVICE parent_device; in tx_demo_thread_host_simulation_entry() local
563 parent_device.ux_device_power_source = UX_DEVICE_BUS_POWERED; in tx_demo_thread_host_simulation_entry()
565 device -> ux_device_parent = &parent_device; in tx_demo_thread_host_simulation_entry()
573 parent_device.ux_device_power_source = UX_DEVICE_SELF_POWERED; in tx_demo_thread_host_simulation_entry()