Searched refs:parser (Results 1 – 5 of 5) sorted by relevance
| /USBX-v6.2.1/common/usbx_host_classes/src/ |
| D | ux_host_class_audio_raw_sampling_parse.c | 160 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 …]
|
| D | ux_host_class_audio_alternate_setting_locate.c | 274 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 …]
|
| D | ux_host_class_video_activate.c | 58 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/ |
| D | usbx_msrc_73492_host_vc_header_parse.c | 823 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() 826 …parser->parsed_interface[parser->parsed_count] = packed_interface_descriptor - parser->descriptor_… in tx_test_video_descriptors_parser() 827 …parser->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 …]
|
| D | usbx_ux_host_class_video_basic_tests.c | 823 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() 826 …parser->parsed_interface[parser->parsed_count] = packed_interface_descriptor - parser->descriptor_… in tx_test_video_descriptors_parser() 827 …parser->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 …]
|