Lines Matching refs:ptr

293 	const struct usb_desc_header **ptr = descriptors;  in test_uac2_descriptors()  local
300 iad = (const struct usb_association_descriptor *)*ptr; in test_uac2_descriptors()
310 ptr++; in test_uac2_descriptors()
313 iface = (const struct usb_if_descriptor *)*ptr; in test_uac2_descriptors()
324 ptr++; in test_uac2_descriptors()
327 zassert_mem_equal(reference_ac_interface_descriptor, *ptr, in test_uac2_descriptors()
329 ptr++; in test_uac2_descriptors()
330 zassert_mem_equal(reference_ac_clock_source_descriptor, *ptr, in test_uac2_descriptors()
332 ptr++; in test_uac2_descriptors()
333 zassert_mem_equal(reference_ac_hp_input_terminal_descriptor, *ptr, in test_uac2_descriptors()
335 ptr++; in test_uac2_descriptors()
336 zassert_mem_equal(reference_ac_hp_feature_unit_descriptor, *ptr, in test_uac2_descriptors()
338 ptr++; in test_uac2_descriptors()
339 zassert_mem_equal(reference_ac_hp_output_terminal_descriptor, *ptr, in test_uac2_descriptors()
341 ptr++; in test_uac2_descriptors()
342 zassert_mem_equal(reference_ac_mic_input_terminal_descriptor, *ptr, in test_uac2_descriptors()
344 ptr++; in test_uac2_descriptors()
345 zassert_mem_equal(reference_ac_mic_feature_unit_descriptor, *ptr, in test_uac2_descriptors()
347 ptr++; in test_uac2_descriptors()
348 zassert_mem_equal(reference_ac_mic_output_terminal_descriptor, *ptr, in test_uac2_descriptors()
350 ptr++; in test_uac2_descriptors()
353 iface = (const struct usb_if_descriptor *)*ptr; in test_uac2_descriptors()
364 ptr++; in test_uac2_descriptors()
367 iface = (const struct usb_if_descriptor *)*ptr; in test_uac2_descriptors()
378 ptr++; in test_uac2_descriptors()
381 zassert_mem_equal(reference_as_out_cs_general_descriptor, *ptr, in test_uac2_descriptors()
383 ptr++; in test_uac2_descriptors()
384 zassert_mem_equal(reference_as_out_cs_format_descriptor, *ptr, in test_uac2_descriptors()
386 ptr++; in test_uac2_descriptors()
389 ep = (const struct usb_ep_descriptor *)*ptr; in test_uac2_descriptors()
394 zassert_equal(ptr - descriptors, in test_uac2_descriptors()
406 ptr++; in test_uac2_descriptors()
409 zassert_mem_equal(reference_as_ep_descriptor, *ptr, in test_uac2_descriptors()
411 ptr++; in test_uac2_descriptors()
414 iface = (const struct usb_if_descriptor *)*ptr; in test_uac2_descriptors()
425 ptr++; in test_uac2_descriptors()
428 iface = (const struct usb_if_descriptor *)*ptr; in test_uac2_descriptors()
439 ptr++; in test_uac2_descriptors()
442 zassert_mem_equal(reference_as_in_cs_general_descriptor, *ptr, in test_uac2_descriptors()
444 ptr++; in test_uac2_descriptors()
445 zassert_mem_equal(reference_as_in_cs_format_descriptor, *ptr, in test_uac2_descriptors()
447 ptr++; in test_uac2_descriptors()
450 ep = (const struct usb_ep_descriptor *)*ptr; in test_uac2_descriptors()
455 zassert_equal(ptr - descriptors, in test_uac2_descriptors()
467 ptr++; in test_uac2_descriptors()
470 zassert_mem_equal(reference_as_ep_descriptor, *ptr, in test_uac2_descriptors()
472 ptr++; in test_uac2_descriptors()
475 zassert_equal(*ptr, NULL); in test_uac2_descriptors()
521 const struct usb_desc_header **ptr = hs_headphones_descriptor_set; in ZTEST() local
531 iad = (const struct usb_association_descriptor *)*ptr; in ZTEST()
541 ptr++; in ZTEST()
544 iface = (const struct usb_if_descriptor *)*ptr; in ZTEST()
555 ptr++; in ZTEST()
558 zassert_mem_equal(reference_hs_ac_interface_descriptor, *ptr, in ZTEST()
560 ptr++; in ZTEST()
561 zassert_mem_equal(reference_hs_ac_clock_source_descriptor, *ptr, in ZTEST()
563 ptr++; in ZTEST()
564 zassert_mem_equal(reference_hs_ac_input_terminal_descriptor, *ptr, in ZTEST()
566 ptr++; in ZTEST()
567 zassert_mem_equal(reference_hs_ac_output_terminal_descriptor, *ptr, in ZTEST()
569 ptr++; in ZTEST()
572 iface = (const struct usb_if_descriptor *)*ptr; in ZTEST()
583 ptr++; in ZTEST()
586 iface = (const struct usb_if_descriptor *)*ptr; in ZTEST()
597 ptr++; in ZTEST()
600 zassert_mem_equal(reference_hs_as_cs_general_descriptor, *ptr, in ZTEST()
602 ptr++; in ZTEST()
603 zassert_mem_equal(reference_hs_as_cs_format_descriptor, *ptr, in ZTEST()
605 ptr++; in ZTEST()
608 ep = (const struct usb_ep_descriptor *)*ptr; in ZTEST()
613 zassert_equal(ptr - hs_headphones_descriptor_set, in ZTEST()
620 ptr++; in ZTEST()
623 zassert_mem_equal(reference_as_ep_descriptor, *ptr, in ZTEST()
625 ptr++; in ZTEST()
628 ep = (const struct usb_ep_descriptor *)*ptr; in ZTEST()
633 zassert_equal(ptr - hs_headphones_descriptor_set, in ZTEST()
640 ptr++; in ZTEST()
643 zassert_equal(*ptr, NULL); in ZTEST()