Home
last modified time | relevance | path

Searched refs:cdc_ecm_device (Results 1 – 20 of 20) sorted by relevance

/USBX-v6.2.1/test/regression/
Dusbx_ux_device_class_cdc_ecm_bulkin_thread_test.c83 UX_TEST_ASSERT(cdc_ecm_device != UX_NULL); in post_init_host()
87 _ux_utility_thread_suspend(&cdc_ecm_device->ux_slave_class_cdc_ecm_bulkout_thread); in post_init_host()
88 _ux_utility_thread_suspend(&cdc_ecm_device->ux_slave_class_cdc_ecm_interrupt_thread); in post_init_host()
92 ep = cdc_ecm_device->ux_slave_class_cdc_ecm_bulkin_endpoint; in post_init_host()
93 cdc_ecm_device->ux_slave_class_cdc_ecm_bulkin_endpoint = UX_NULL; in post_init_host()
94 …_ux_utility_event_flags_set(&cdc_ecm_device -> ux_slave_class_cdc_ecm_event_flags_group, UX_DEVICE… in post_init_host()
96 cdc_ecm_device->ux_slave_class_cdc_ecm_bulkin_endpoint = ep; in post_init_host()
97 _ux_utility_thread_resume(&cdc_ecm_device->ux_slave_class_cdc_ecm_bulkin_thread); in post_init_host()
100 i = (cdc_ecm_device -> ux_slave_class_cdc_ecm_link_state == 0) ? 1 : 0; in post_init_host()
106 ux_device_class_cdc_ecm_write(cdc_ecm_device, &packet); in post_init_host()
[all …]
Dusbx_ux_device_class_cdc_ecm_interrupt_thread_test.c64 UX_TEST_ASSERT(cdc_ecm_device != UX_NULL); in post_init_host()
67 _ux_utility_thread_suspend(&cdc_ecm_device->ux_slave_class_cdc_ecm_bulkin_thread); in post_init_host()
68 _ux_utility_thread_suspend(&cdc_ecm_device->ux_slave_class_cdc_ecm_bulkout_thread); in post_init_host()
72 _ux_utility_event_flags_delete(&cdc_ecm_device -> ux_slave_class_cdc_ecm_event_flags_group); in post_init_host()
77 …_ux_utility_event_flags_create(&cdc_ecm_device -> ux_slave_class_cdc_ecm_event_flags_group, "ux_de… in post_init_host()
78 …_ux_utility_event_flags_set(&cdc_ecm_device -> ux_slave_class_cdc_ecm_event_flags_group, UX_DEVICE… in post_init_host()
86 …_ux_utility_event_flags_set(&cdc_ecm_device -> ux_slave_class_cdc_ecm_event_flags_group, UX_DEVICE… in post_init_host()
94 …_ux_utility_event_flags_set(&cdc_ecm_device -> ux_slave_class_cdc_ecm_event_flags_group, UX_DEVICE… in post_init_host()
Dusbx_ux_device_class_cdc_ecm_bulkout_thread_test.c94 UX_TEST_ASSERT(cdc_ecm_device != UX_NULL); in post_init_host()
97 _ux_utility_thread_suspend(&cdc_ecm_device->ux_slave_class_cdc_ecm_bulkin_thread); in post_init_host()
99 _ux_utility_thread_suspend(&cdc_ecm_device->ux_slave_class_cdc_ecm_interrupt_thread); in post_init_host()
132 ux_nx_device = (USB_NETWORK_DEVICE_TYPE *)cdc_ecm_device->ux_slave_class_cdc_ecm_network_handle; in post_init_host()
136 cdc_ecm_device -> ux_slave_class_cdc_ecm_packet_pool = UX_NULL; in post_init_host()
142 …UX_TEST_ASSERT(cdc_ecm_device -> ux_slave_class_cdc_ecm_packet_pool == ip -> nx_ip_default_packet_… in post_init_host()
145 endpoint = cdc_ecm_device -> ux_slave_class_cdc_ecm_bulkout_endpoint; in post_init_host()
146 cdc_ecm_device -> ux_slave_class_cdc_ecm_bulkout_endpoint = UX_NULL; in post_init_host()
149 cdc_ecm_device -> ux_slave_class_cdc_ecm_bulkout_endpoint = endpoint; in post_init_host()
Dusbx_ux_device_class_cdc_ecm_deactivate_test.c26 UX_TEST_ASSERT(cdc_ecm_device != UX_NULL); in post_init_host()
27cdc_ecm_device -> ux_slave_class_cdc_ecm_parameter.ux_slave_class_cdc_ecm_instance_deactivate = UX… in post_init_host()
34 UX_TEST_ASSERT(cdc_ecm_device != UX_NULL); in post_init_host()
Dusbx_ux_host_class_cdc_ecm_interrupt_notification_test.c62 ux_test_device_class_cdc_ecm_set_link_state(cdc_ecm_device, 1); in post_init_host()
71 ux_test_device_class_cdc_ecm_set_link_state(cdc_ecm_device, 1); in post_init_host()
81 ux_test_device_class_cdc_ecm_set_link_state(cdc_ecm_device, 0); in post_init_host()
90 ux_test_device_class_cdc_ecm_set_link_state(cdc_ecm_device, 0); in post_init_host()
102 ux_test_device_class_cdc_ecm_set_link_state(cdc_ecm_device, 0); in post_init_host()
Dusbx_cdc_ecm_link_down_while_ongoing_transfers_test.c81 …ux_test_device_class_cdc_ecm_set_link_state(cdc_ecm_device, UX_DEVICE_CLASS_CDC_ECM_LINK_STATE_DOW… in basic_test_device()
88 …ux_test_device_class_cdc_ecm_set_link_state(cdc_ecm_device, UX_DEVICE_CLASS_CDC_ECM_LINK_STATE_UP); in basic_test_device()
143 …ux_test_device_class_cdc_ecm_set_link_state(cdc_ecm_device, UX_DEVICE_CLASS_CDC_ECM_LINK_STATE_DOW… in ongoing_writes_test_host()
181 …ux_test_device_class_cdc_ecm_set_link_state(cdc_ecm_device, UX_DEVICE_CLASS_CDC_ECM_LINK_STATE_UP); in ongoing_writes_test_device()
Dusbx_cdc_ecm_host_non_ip_packet_received_test.c38 _ux_device_class_cdc_ecm_write(cdc_ecm_device, out_packet); in post_init_host()
53 _ux_device_class_cdc_ecm_write(cdc_ecm_device, out_packet); in post_init_host()
Dusbx_msrc_81024_host_cdc_ecm_rx_length_less_than_14.c29 packet_pool = cdc_ecm_device->ux_slave_class_cdc_ecm_packet_pool; in msrc_81024_test()
39 UX_TEST_CHECK_SUCCESS(_ux_device_class_cdc_ecm_write(cdc_ecm_device, packet)); in msrc_81024_test()
Dusbx_ux_device_class_cdc_ecm_uninitialize_test.c49 static UX_SLAVE_CLASS_CDC_ECM *cdc_ecm_device; variable
238 cdc_ecm_device = (UX_SLAVE_CLASS_CDC_ECM *) cdc_ecm_instance; in demo_cdc_ecm_instance_activate()
245 cdc_ecm_device = UX_NULL; in demo_cdc_ecm_instance_deactivate()
Dusbx_cdc_ecm_basic_ipv6_test.c74 static UX_SLAVE_CLASS_CDC_ECM *cdc_ecm_device; variable
361 cdc_ecm_device = (UX_SLAVE_CLASS_CDC_ECM *) cdc_ecm_instance; in demo_cdc_ecm_instance_activate()
368 cdc_ecm_device = UX_NULL; in demo_cdc_ecm_instance_deactivate()
376 cdc_ecm_device -> ux_slave_class_cdc_ecm_link_state = new_link_state; in ux_test_device_class_cdc_ecm_set_link_state()
380 …UX_TEST_CHECK_SUCCESS(_ux_utility_event_flags_set(&cdc_ecm_device -> ux_slave_class_cdc_ecm_event_… in ux_test_device_class_cdc_ecm_set_link_state()
636 UX_TEST_CHECK_SUCCESS(ux_test_wait_for_non_null((VOID **)&cdc_ecm_device)); in thread_entry_device()
637 …UX_TEST_CHECK_SUCCESS(ux_test_wait_for_value_ulong(&cdc_ecm_device->ux_slave_class_cdc_ecm_link_st… in thread_entry_device()
Dusbx_ux_test_cdc_ecm.h94 static UX_SLAVE_CLASS_CDC_ECM *cdc_ecm_device; variable
378 cdc_ecm_device = (UX_SLAVE_CLASS_CDC_ECM *) cdc_ecm_instance; in demo_cdc_ecm_instance_activate()
385 cdc_ecm_device = UX_NULL; in demo_cdc_ecm_instance_deactivate()
393 cdc_ecm_device -> ux_slave_class_cdc_ecm_link_state = new_link_state; in ux_test_device_class_cdc_ecm_set_link_state()
397 …UX_TEST_CHECK_SUCCESS(_ux_utility_event_flags_set(&cdc_ecm_device -> ux_slave_class_cdc_ecm_event_… in ux_test_device_class_cdc_ecm_set_link_state()
757 UX_TEST_CHECK_SUCCESS(ux_test_wait_for_non_null((VOID **)&cdc_ecm_device)); in thread_entry_device()
758 …UX_TEST_CHECK_SUCCESS(ux_test_wait_for_value_ulong(&cdc_ecm_device->ux_slave_class_cdc_ecm_link_st… in thread_entry_device()
Dusbx_cdc_ecm_alternate_setting_change_to_zero_test.c47cdc_ecm_device->ux_slave_class_cdc_ecm_parameter.ux_slave_class_cdc_ecm_instance_deactivate = UX_N… in post_init_host()
Dusbx_ux_device_class_cdc_ecm_entry_test.c48 UX_TEST_ASSERT(cdc_ecm_device != UX_NULL); in post_init_host()
Dusbx_cdc_ecm_host_thread_link_down_before_transfer_test.c56 ux_test_device_class_cdc_ecm_set_link_state(cdc_ecm_device, 0); in post_init_host()
Dusbx_cdc_ecm_host_bulk_in_transfer_arming_during_link_down_test.c64 ux_test_device_class_cdc_ecm_set_link_state(cdc_ecm_device, 0); in post_init_host()
Dusbx_cdc_ecm_host_bulki_arm_err_dueto_link_dn_thread_wait_test.c61 ux_test_device_class_cdc_ecm_set_link_state(cdc_ecm_device, 0); in post_init_host()
Dusbx_cdc_ecm_host_bulko_transfer_arming_during_link_dn_test.c73 ux_test_device_class_cdc_ecm_set_link_state(cdc_ecm_device, 0); in post_init_host()
Dusbx_ux_device_class_cdc_ecm_activate_test.c149 UX_TEST_ASSERT(cdc_ecm_device != UX_NULL); in post_init_host()
150 cdc_ecm_device_bak = cdc_ecm_device; in post_init_host()
Dusbx_ux_device_class_cdc_ecm_control_request_test.c52 UX_TEST_ASSERT(cdc_ecm_device != UX_NULL); in post_init_host()
Dusbx_ux_device_class_cdc_ecm_change_test.c146 UX_TEST_ASSERT(cdc_ecm_device != UX_NULL); in post_init_host()