Home
last modified time | relevance | path

Searched refs:ptr (Results 1 – 24 of 24) sorted by relevance

/USBX-v6.2.1/test/regression/
Dusbx_ux_utility_memory_safe_test.c296 VOID *ptr; in test_application_define() local
345 ptr = _ux_utility_memory_allocate_add_safe(UX_NO_ALIGN, UX_REGULAR_MEMORY, 3, 13); in test_application_define()
346 if (ptr != ref_mem_ptr || in test_application_define()
353 ux_utility_memory_free(ptr); in test_application_define()
361 ptr = _ux_utility_memory_allocate_mulc_safe(UX_NO_ALIGN, UX_REGULAR_MEMORY, 2, 8); in test_application_define()
362 if (ptr != ref_mem_ptr || in test_application_define()
369 ux_utility_memory_free(ptr); in test_application_define()
377 ptr = _ux_utility_memory_allocate_mulv_safe(UX_NO_ALIGN, UX_REGULAR_MEMORY, 16, 1); in test_application_define()
378 if (ptr != ref_mem_ptr || in test_application_define()
385 ux_utility_memory_free(ptr); in test_application_define()
[all …]
Dusbx_ux_host_class_hid_local_item_parse_test.c124 static inline void hid_usage_min_max_add(UCHAR *ptr, UCHAR min, UCHAR max) in hid_usage_min_max_add() argument
126 ptr[0] = 0x19; in hid_usage_min_max_add()
127 ptr[1] = min; in hid_usage_min_max_add()
128 ptr[2] = 0x29; in hid_usage_min_max_add()
129 ptr[3] = max; in hid_usage_min_max_add()
132 static inline void hid_usage_add(UCHAR *ptr, UCHAR usage) in hid_usage_add() argument
134 ptr[0] = 0x09; in hid_usage_add()
135 ptr[1] = usage; in hid_usage_add()
154 UCHAR *ptr = hid_report_descriptor_mem; in hid_report_descriptor_generate() local
158 _ux_utility_memory_copy(ptr, hid_report_descriptor + _P1_START, _P1_SIZE); in hid_report_descriptor_generate()
[all …]
Dusbx_ux_utility_memory_test.c300 VOID *ptr; in test_application_define() local
431 ptr = ux_utility_memory_allocate(aligns[j], flags[i], 8); in test_application_define()
437 if (ptr != UX_NULL) in test_application_define()
448 if (ptr == UX_NULL) in test_application_define()
466 ux_utility_memory_free(ptr); in test_application_define()
525 ptr = _ux_utility_memory_allocate_mulc_safe(UX_NO_ALIGN, UX_REGULAR_MEMORY, 1, 0); in test_application_define()
526 if (ptr) in test_application_define()
528 _ux_utility_memory_free(ptr); in test_application_define()
Dusbx_msrc_81426_host_audio_type_get_fail_ac_link_test.c804 static UINT test_wait_until_expected(VOID **ptr, ULONG loop, VOID *expected) in test_wait_until_expected() argument
809 if (*ptr == expected) in test_wait_until_expected()
814 static UINT test_wait_until_not_expected(VOID **ptr, ULONG loop, VOID *expected) in test_wait_until_not_expected() argument
819 if (*ptr != expected) in test_wait_until_not_expected()
824 #define test_wait_until_not_null(ptr, loop) test_wait_until_not_expected(ptr, loop, UX_NULL) argument
825 #define test_wait_until_null(ptr, loop) test_wait_until_expected(ptr, loop, UX_NULL) argument
Dusbx_msrc_81184_host_audio_desc_validate_test.c792 static UINT test_wait_until_expected(VOID **ptr, ULONG loop, VOID *expected) in test_wait_until_expected() argument
797 if (*ptr == expected) in test_wait_until_expected()
802 static UINT test_wait_until_not_expected(VOID **ptr, ULONG loop, VOID *expected) in test_wait_until_not_expected() argument
807 if (*ptr != expected) in test_wait_until_not_expected()
812 #define test_wait_until_not_null(ptr, loop) test_wait_until_not_expected(ptr, loop, UX_NULL) argument
813 #define test_wait_until_null(ptr, loop) test_wait_until_expected(ptr, loop, UX_NULL) argument
Dusbx_msrc_81428_81429_host_audio_ac_search_test.c804 static UINT test_wait_until_expected(VOID **ptr, ULONG loop, VOID *expected) in test_wait_until_expected() argument
809 if (*ptr == expected) in test_wait_until_expected()
814 static UINT test_wait_until_not_expected(VOID **ptr, ULONG loop, VOID *expected) in test_wait_until_not_expected() argument
819 if (*ptr != expected) in test_wait_until_not_expected()
824 #define test_wait_until_not_null(ptr, loop) test_wait_until_not_expected(ptr, loop, UX_NULL) argument
825 #define test_wait_until_null(ptr, loop) test_wait_until_expected(ptr, loop, UX_NULL) argument
Dusbx_audio10_iad_device_control_test.c828 static UINT test_wait_until_expected(VOID **ptr, ULONG loop, VOID *expected) in test_wait_until_expected() argument
833 if (*ptr == expected) in test_wait_until_expected()
838 static UINT test_wait_until_not_expected(VOID **ptr, ULONG loop, VOID *expected) in test_wait_until_not_expected() argument
843 if (*ptr != expected) in test_wait_until_not_expected()
848 #define test_wait_until_not_null(ptr, loop) test_wait_until_not_expected(ptr, loop, UX_NULL) argument
849 #define test_wait_until_null(ptr, loop) test_wait_until_expected(ptr, loop, UX_NULL) argument
Dusbx_audio10_iad_device_interrupt_test.c838 static UINT test_wait_until_expected(VOID **ptr, ULONG loop, VOID *expected) in test_wait_until_expected() argument
843 if (*ptr == expected) in test_wait_until_expected()
848 static UINT test_wait_until_not_expected(VOID **ptr, ULONG loop, VOID *expected) in test_wait_until_not_expected() argument
853 if (*ptr != expected) in test_wait_until_not_expected()
858 #define test_wait_until_not_null(ptr, loop) test_wait_until_not_expected(ptr, loop, UX_NULL) argument
859 #define test_wait_until_null(ptr, loop) test_wait_until_expected(ptr, loop, UX_NULL) argument
Dusbx_audio10_iad_device_basic_test.c795 static UINT test_wait_until_expected(VOID **ptr, ULONG loop, VOID *expected) in test_wait_until_expected() argument
800 if (*ptr == expected) in test_wait_until_expected()
805 static UINT test_wait_until_not_expected(VOID **ptr, ULONG loop, VOID *expected) in test_wait_until_not_expected() argument
810 if (*ptr != expected) in test_wait_until_not_expected()
815 #define test_wait_until_not_null(ptr, loop) test_wait_until_not_expected(ptr, loop, UX_NULL) argument
816 #define test_wait_until_null(ptr, loop) test_wait_until_expected(ptr, loop, UX_NULL) argument
Dusbx_audio10_device_basic_test.c820 static UINT test_wait_until_expected(VOID **ptr, ULONG loop, VOID *expected) in test_wait_until_expected() argument
825 if (*ptr == expected) in test_wait_until_expected()
830 static UINT test_wait_until_not_expected(VOID **ptr, ULONG loop, VOID *expected) in test_wait_until_not_expected() argument
835 if (*ptr != expected) in test_wait_until_not_expected()
840 #define test_wait_until_not_null(ptr, loop) test_wait_until_not_expected(ptr, loop, UX_NULL) argument
841 #define test_wait_until_null(ptr, loop) test_wait_until_expected(ptr, loop, UX_NULL) argument
Dusbx_ux_device_class_video_basic_tests.c799 static UINT test_wait_until_expected(VOID **ptr, ULONG loop, VOID *expected) in test_wait_until_expected() argument
804 if (*ptr == expected) in test_wait_until_expected()
809 static UINT test_wait_until_not_expected(VOID **ptr, ULONG loop, VOID *expected) in test_wait_until_not_expected() argument
814 if (*ptr != expected) in test_wait_until_not_expected()
819 #define test_wait_until_not_null(ptr, loop) test_wait_until_not_expected(ptr, loop, UX_NULL) argument
820 #define test_wait_until_null(ptr, loop) test_wait_until_expected(ptr, loop, UX_NULL) argument
Dusbx_audio10_device_feedback_test.c899 static UINT test_wait_until_expected(VOID **ptr, ULONG loop, VOID *expected) in test_wait_until_expected() argument
904 if (*ptr == expected) in test_wait_until_expected()
909 static UINT test_wait_until_not_expected(VOID **ptr, ULONG loop, VOID *expected) in test_wait_until_not_expected() argument
914 if (*ptr != expected) in test_wait_until_not_expected()
919 #define test_wait_until_not_null(ptr, loop) test_wait_until_not_expected(ptr, loop, UX_NULL) argument
920 #define test_wait_until_null(ptr, loop) test_wait_until_expected(ptr, loop, UX_NULL) argument
Dusbx_audio20_device_controls_test.c936 static UINT test_wait_until_expected(VOID **ptr, ULONG loop, VOID *expected) in test_wait_until_expected() argument
941 if (*ptr == expected) in test_wait_until_expected()
946 static UINT test_wait_until_not_expected(VOID **ptr, ULONG loop, VOID *expected) in test_wait_until_not_expected() argument
951 if (*ptr != expected) in test_wait_until_not_expected()
956 #define test_wait_until_not_null(ptr, loop) test_wait_until_not_expected(ptr, loop, UX_NULL) argument
957 #define test_wait_until_null(ptr, loop) test_wait_until_expected(ptr, loop, UX_NULL) argument
Dusbx_test_USBX_6_ux_version_id.c83 VOID *ptr; in test_application_define() local
Dusbx_audio10_iad_host_basic_test.c938 static UINT test_wait_until_expected(VOID **ptr, ULONG loop, VOID *expected) in test_wait_until_expected() argument
943 if (*ptr == expected) in test_wait_until_expected()
948 static UINT test_wait_until_not_expected(VOID **ptr, ULONG loop, VOID *expected) in test_wait_until_not_expected() argument
953 if (*ptr != expected) in test_wait_until_not_expected()
958 #define test_wait_until_not_null(ptr, loop) test_wait_until_not_expected(ptr, loop, UX_NULL) argument
959 #define test_wait_until_null(ptr, loop) test_wait_until_expected(ptr, loop, UX_NULL) argument
Dusbx_audio20_device_basic_test.c845 static UINT test_wait_until_expected(VOID **ptr, ULONG loop, VOID *expected) in test_wait_until_expected() argument
850 if (*ptr == expected) in test_wait_until_expected()
855 static UINT test_wait_until_not_expected(VOID **ptr, ULONG loop, VOID *expected) in test_wait_until_not_expected() argument
860 if (*ptr != expected) in test_wait_until_not_expected()
865 #define test_wait_until_not_null(ptr, loop) test_wait_until_not_expected(ptr, loop, UX_NULL) argument
866 #define test_wait_until_null(ptr, loop) test_wait_until_expected(ptr, loop, UX_NULL) argument
Dusbx_audio20_device_feedback_test.c948 static UINT test_wait_until_expected(VOID **ptr, ULONG loop, VOID *expected) in test_wait_until_expected() argument
953 if (*ptr == expected) in test_wait_until_expected()
958 static UINT test_wait_until_not_expected(VOID **ptr, ULONG loop, VOID *expected) in test_wait_until_not_expected() argument
963 if (*ptr != expected) in test_wait_until_not_expected()
968 #define test_wait_until_not_null(ptr, loop) test_wait_until_not_expected(ptr, loop, UX_NULL) argument
969 #define test_wait_until_null(ptr, loop) test_wait_until_expected(ptr, loop, UX_NULL) argument
Dusbx_host_class_hub_port_change_connection_process_coverage_test.c38 static UINT change_function(ULONG status, UX_HOST_CLASS *host_class_ptr, VOID* ptr) in change_function() argument
Dusbx_audio20_host_basic_test.c1112 static UINT test_wait_until_expected(VOID **ptr, ULONG loop, VOID *expected) in test_wait_until_expected() argument
1117 if (*ptr == expected) in test_wait_until_expected()
1122 static UINT test_wait_until_not_expected(VOID **ptr, ULONG loop, VOID *expected) in test_wait_until_not_expected() argument
1127 if (*ptr != expected) in test_wait_until_not_expected()
1132 #define test_wait_until_not_null(ptr, loop) test_wait_until_not_expected(ptr, loop, UX_NULL) argument
1133 #define test_wait_until_null(ptr, loop) test_wait_until_expected(ptr, loop, UX_NULL) argument
Dux_test.c1778 char *ptr = path, *slash = path; in ux_test_file_base_name() local
1782 if (*ptr == 0) in ux_test_file_base_name()
1784 if (*ptr == '\\' || *ptr == '/') in ux_test_file_base_name()
1785 slash = ptr + 1; in ux_test_file_base_name()
1786 ptr ++; in ux_test_file_base_name()
/USBX-v6.2.1/common/core/src/
Dux_host_stack_tasks_run.c381 command -> ux_host_class_command_container = device -> ux_device_enum_inst.ptr; in _ux_host_stack_interface_activate_wait()
755 _ux_utility_memory_free(device -> ux_device_enum_inst.ptr); in _ux_host_stack_device_enum_run()
925 class_command.ux_host_class_command_container = device -> ux_device_enum_inst.ptr; in _ux_host_stack_device_enum_run()
984 _ux_utility_memory_free(device -> ux_device_enum_inst.ptr); in _ux_host_stack_device_enum_run()
985 device -> ux_device_enum_inst.ptr = UX_NULL; in _ux_host_stack_device_enum_run()
1002 _ux_utility_memory_free(device -> ux_device_enum_inst.ptr); in _ux_host_stack_device_enum_run()
1003 device -> ux_device_enum_inst.ptr = UX_NULL; in _ux_host_stack_device_enum_run()
Dux_host_stack_device_resources_free.c136 _ux_utility_memory_free(device -> ux_device_enum_inst.ptr); in _ux_host_stack_device_resources_free()
/USBX-v6.2.1/common/core/inc/
Dux_api.h2025 VOID *ptr; member
/USBX-v6.2.1/docs/
Drevision_history.txt1899 ux_host_class_asix_reception_callback.c Ensure proper alignment for prepend ptr