Home
last modified time | relevance | path

Searched refs:parser (Results 1 – 5 of 5) sorted by relevance

/USBX-v6.2.1/common/usbx_host_classes/src/
Dux_host_class_audio_raw_sampling_parse.c160 struct UX_HOST_CLASS_AUDIO10_SAM_PARSER *parser = (struct UX_HOST_CLASS_AUDIO10_SAM_PARSE… in _ux_host_class_audio10_sam_parse_func() local
169 parser -> audio -> ux_host_class_audio_streaming_interface -> in _ux_host_class_audio10_sam_parse_func()
211 status = parser->parse_function(parser->arg, packed_interface_descriptor, &sam_attr); in _ux_host_class_audio10_sam_parse_func()
232 status = parser->parse_function(parser->arg, packed_interface_descriptor, &sam_attr); in _ux_host_class_audio10_sam_parse_func()
249 struct UX_HOST_CLASS_AUDIO10_SAM_PARSER parser; in _ux_host_class_audio10_sampling_parse() local
253 parser.parse_function = parse_function; in _ux_host_class_audio10_sampling_parse()
254 parser.arg = arg; in _ux_host_class_audio10_sampling_parse()
255 parser.audio = audio; in _ux_host_class_audio10_sampling_parse()
257 _ux_host_class_audio10_sam_parse_func, (VOID *)&parser)); in _ux_host_class_audio10_sampling_parse()
537 struct UX_HOST_CLASS_AUDIO20_SAM_PARSER *parser = (struct UX_HOST_CLASS_AUDIO20_SAM_PARSER … in _ux_host_class_audio20_sam_parse_func() local
[all …]
Dux_host_class_audio_alternate_setting_locate.c274 struct UX_HOST_CLASS_AUDIO_ALT_LOCATE_PARSER *parser = (struct UX_HOST_CLASS_AUDIO_ALT_LOCATE_PA… in _ux_host_class_audio_alt_locate_parse() local
275 UX_HOST_CLASS_AUDIO_SAMPLING *sampling = parser -> sampling; in _ux_host_class_audio_alt_locate_parse()
294 parser -> status = UX_MATH_OVERFLOW; in _ux_host_class_audio_alt_locate_parse()
306 parser -> status = UX_MATH_OVERFLOW; in _ux_host_class_audio_alt_locate_parse()
318 parser -> alt = (ULONG)packed_interface_descriptor[3]; in _ux_host_class_audio_alt_locate_parse()
321 parser -> clock_descriptor = in _ux_host_class_audio_alt_locate_parse()
334 struct UX_HOST_CLASS_AUDIO_ALT_LOCATE_PARSER parser; in _ux_host_class_audio_alternate_setting_locate_2() local
338 parser.sampling = audio_sampling; in _ux_host_class_audio_alternate_setting_locate_2()
339 parser.clock_descriptor = UX_NULL; in _ux_host_class_audio_alternate_setting_locate_2()
340 parser.alt = 0xFF; in _ux_host_class_audio_alternate_setting_locate_2()
[all …]
Dux_host_class_video_activate.c58 UX_HOST_CLASS_VIDEO_DESCRIPTORS_PARSER *parser; in _ux_host_class_video_descriptors_parser() local
65 parser = (UX_HOST_CLASS_VIDEO_DESCRIPTORS_PARSER *)arg; in _ux_host_class_video_descriptors_parser()
68 video = parser -> video; in _ux_host_class_video_descriptors_parser()
103 parser -> parsed_flags |= UX_HOST_CLASS_VIDEO_DESCRIPTORS_PARSER_VC_HEADER; in _ux_host_class_video_descriptors_parser()
125 parser -> parsed_flags |= UX_HOST_CLASS_VIDEO_DESCRIPTORS_PARSER_VC_PU; in _ux_host_class_video_descriptors_parser()
135 parser -> parsed_flags |= UX_HOST_CLASS_VIDEO_DESCRIPTORS_PARSER_VC_IT; in _ux_host_class_video_descriptors_parser()
151 parser -> parsed_flags |= UX_HOST_CLASS_VIDEO_DESCRIPTORS_PARSER_VS_HEADER; in _ux_host_class_video_descriptors_parser()
241 UX_HOST_CLASS_VIDEO_DESCRIPTORS_PARSER parser; in _ux_host_class_video_activate() local
285 parser.video = video; in _ux_host_class_video_activate()
286 parser.parsed_flags = 0; in _ux_host_class_video_activate()
[all …]
/USBX-v6.2.1/test/regression/
Dusbx_msrc_73492_host_vc_header_parse.c823 TX_TEST_VIDEO_PARSER *parser; in tx_test_video_descriptors_parser() local
825 parser = (TX_TEST_VIDEO_PARSER *)arg; in tx_test_video_descriptors_parser()
826parser->parsed_interface[parser->parsed_count] = packed_interface_descriptor - parser->descriptor_… in tx_test_video_descriptors_parser()
827parser->parsed_entity [parser->parsed_count] = packed_entity_descriptor - parser->descriptor_… in tx_test_video_descriptors_parser()
828 parser->parsed_count ++; in tx_test_video_descriptors_parser()
839 TX_TEST_VIDEO_PARSER parser; in tx_test_thread_host_simulation_entry() local
973 ux_utility_memory_set(&parser, 0, sizeof(parser)); in tx_test_thread_host_simulation_entry()
974 parser.descriptor_base = host_video->ux_host_class_video_configuration_descriptor; in tx_test_thread_host_simulation_entry()
975 …tatus = _ux_host_class_video_entities_parse(host_video, tx_test_video_descriptors_parser, &parser); in tx_test_thread_host_simulation_entry()
981 for(loop = 0; loop < parser.parsed_count; loop++) in tx_test_thread_host_simulation_entry()
[all …]
Dusbx_ux_host_class_video_basic_tests.c823 TX_TEST_VIDEO_PARSER *parser; in tx_test_video_descriptors_parser() local
825 parser = (TX_TEST_VIDEO_PARSER *)arg; in tx_test_video_descriptors_parser()
826parser->parsed_interface[parser->parsed_count] = packed_interface_descriptor - parser->descriptor_… in tx_test_video_descriptors_parser()
827parser->parsed_entity [parser->parsed_count] = packed_entity_descriptor - parser->descriptor_… in tx_test_video_descriptors_parser()
828 parser->parsed_count ++; in tx_test_video_descriptors_parser()
839 TX_TEST_VIDEO_PARSER parser; in tx_test_thread_host_simulation_entry() local
972 ux_utility_memory_set(&parser, 0, sizeof(parser)); in tx_test_thread_host_simulation_entry()
973 parser.descriptor_base = host_video->ux_host_class_video_configuration_descriptor; in tx_test_thread_host_simulation_entry()
974 …tatus = _ux_host_class_video_entities_parse(host_video, tx_test_video_descriptors_parser, &parser); in tx_test_thread_host_simulation_entry()
980 for(loop = 0; loop < parser.parsed_count; loop++) in tx_test_thread_host_simulation_entry()
[all …]