Lines Matching refs:expected
276 static const u32 expected[ASYNC_HEADER_QUADLET_COUNT] = { in test_async_header_write_quadlet_request() local
293 deserialize_async_header_quadlet_request(expected, &dst_id, &tlabel, &retry, &tcode, in test_async_header_write_quadlet_request()
295 quadlet_data = async_header_get_quadlet_data(expected); in test_async_header_write_quadlet_request()
310 KUNIT_EXPECT_MEMEQ(test, header, expected, sizeof(expected)); in test_async_header_write_quadlet_request()
315 static const u32 expected[ASYNC_HEADER_QUADLET_COUNT] = { in test_async_header_write_block_request() local
333 deserialize_async_header_block_request(expected, &dst_id, &tlabel, &retry, &tcode, in test_async_header_write_block_request()
350 KUNIT_EXPECT_MEMEQ(test, header, expected, sizeof(expected)); in test_async_header_write_block_request()
355 static const u32 expected[ASYNC_HEADER_QUADLET_COUNT] = { in test_async_header_write_response() local
371 deserialize_async_header_quadlet_response(expected, &dst_id, &tlabel, &retry, &tcode, in test_async_header_write_response()
385 KUNIT_EXPECT_MEMEQ(test, header, expected, sizeof(expected) - sizeof(expected[0])); in test_async_header_write_response()
390 static const u32 expected[ASYNC_HEADER_QUADLET_COUNT] = { in test_async_header_read_quadlet_request() local
406 deserialize_async_header_quadlet_request(expected, &dst_id, &tlabel, &retry, &tcode, in test_async_header_read_quadlet_request()
420 KUNIT_EXPECT_MEMEQ(test, header, expected, sizeof(expected)); in test_async_header_read_quadlet_request()
425 static const u32 expected[ASYNC_HEADER_QUADLET_COUNT] = { in test_async_header_read_quadlet_response() local
442 deserialize_async_header_quadlet_response(expected, &dst_id, &tlabel, &retry, &tcode, in test_async_header_read_quadlet_response()
444 quadlet_data = async_header_get_quadlet_data(expected); in test_async_header_read_quadlet_response()
459 KUNIT_EXPECT_MEMEQ(test, header, expected, sizeof(expected)); in test_async_header_read_quadlet_response()
464 static const u32 expected[ASYNC_HEADER_QUADLET_COUNT] = { in test_async_header_read_block_request() local
482 deserialize_async_header_block_request(expected, &dst_id, &tlabel, &retry, &tcode, in test_async_header_read_block_request()
499 KUNIT_EXPECT_MEMEQ(test, header, expected, sizeof(expected)); in test_async_header_read_block_request()
504 static const u32 expected[ASYNC_HEADER_QUADLET_COUNT] = { in test_async_header_read_block_response() local
522 deserialize_async_header_block_response(expected, &dst_id, &tlabel, &retry, &tcode, in test_async_header_read_block_response()
539 KUNIT_EXPECT_MEMEQ(test, header, expected, sizeof(expected)); in test_async_header_read_block_response()
544 static const u32 expected[ASYNC_HEADER_QUADLET_COUNT] = { in test_async_header_lock_request() local
562 deserialize_async_header_block_request(expected, &dst_id, &tlabel, &retry, &tcode, in test_async_header_lock_request()
579 KUNIT_EXPECT_MEMEQ(test, header, expected, sizeof(expected)); in test_async_header_lock_request()
584 static const u32 expected[ASYNC_HEADER_QUADLET_COUNT] = { in test_async_header_lock_response() local
602 deserialize_async_header_block_response(expected, &dst_id, &tlabel, &retry, &tcode, in test_async_header_lock_response()
619 KUNIT_EXPECT_MEMEQ(test, header, expected, sizeof(expected)); in test_async_header_lock_response()
624 const u32 expected = 0x00d08dec; in test_isoc_header() local
633 deserialize_isoc_header(expected, &data_length, &tag, &channel, &tcode, &sy); in test_isoc_header()
643 KUNIT_EXPECT_EQ(test, header, expected); in test_isoc_header()
649 const u32 expected[] = {0x80458c80}; in test_phy_packet_self_id_zero_case0() local
665 deserialize_phy_packet_self_id_zero(expected[0], &packet_identifier, &phy_id, &extended, in test_phy_packet_self_id_zero_case0()
686 self_id_sequence_get_port_status(expected, ARRAY_SIZE(expected), port_index); in test_phy_packet_self_id_zero_case0()
698 KUNIT_EXPECT_MEMEQ(test, quadlets, expected, sizeof(expected)); in test_phy_packet_self_id_zero_case0()
704 const u32 expected[] = {0x817fcc5e}; in test_phy_packet_self_id_zero_case1() local
720 deserialize_phy_packet_self_id_zero(expected[0], &packet_identifier, &phy_id, &extended, in test_phy_packet_self_id_zero_case1()
741 self_id_sequence_get_port_status(expected, ARRAY_SIZE(expected), port_index); in test_phy_packet_self_id_zero_case1()
753 KUNIT_EXPECT_MEMEQ(test, quadlets, expected, sizeof(expected)); in test_phy_packet_self_id_zero_case1()
759 const u32 expected[] = { in test_phy_packet_self_id_zero_and_one() local
780 deserialize_phy_packet_self_id_zero(expected[0], &packet_identifier, &phy_id, &extended, in test_phy_packet_self_id_zero_and_one()
799 deserialize_phy_packet_self_id_extended(expected[1], &packet_identifier, &phy_id, &extended, in test_phy_packet_self_id_zero_and_one()
814 self_id_sequence_get_port_status(expected, ARRAY_SIZE(expected), port_index); in test_phy_packet_self_id_zero_and_one()
834 KUNIT_EXPECT_MEMEQ(test, quadlets, expected, sizeof(expected)); in test_phy_packet_self_id_zero_and_one()
839 const u32 expected = 0x02800000; in test_phy_packet_phy_config_force_root_node() local
848 deserialize_phy_packet_phy_config(expected, &packet_identifier, &root_id, in test_phy_packet_phy_config_force_root_node()
861 KUNIT_EXPECT_EQ(test, quadlet, expected); in test_phy_packet_phy_config_force_root_node()
866 const u32 expected = 0x034f0000; in test_phy_packet_phy_config_gap_count_optimization() local
875 deserialize_phy_packet_phy_config(expected, &packet_identifier, &root_id, in test_phy_packet_phy_config_gap_count_optimization()
888 KUNIT_EXPECT_EQ(test, quadlet, expected); in test_phy_packet_phy_config_gap_count_optimization()