Lines Matching refs:packet_identifier

191 static void serialize_phy_packet_self_id_zero(u32 *quadlet, unsigned int packet_identifier,  in serialize_phy_packet_self_id_zero()  argument
198 phy_packet_set_packet_identifier(quadlet, packet_identifier); in serialize_phy_packet_self_id_zero()
210 static void deserialize_phy_packet_self_id_zero(u32 quadlet, unsigned int *packet_identifier, in deserialize_phy_packet_self_id_zero() argument
217 *packet_identifier = phy_packet_get_packet_identifier(quadlet); in deserialize_phy_packet_self_id_zero()
229 static void serialize_phy_packet_self_id_extended(u32 *quadlet, unsigned int packet_identifier, in serialize_phy_packet_self_id_extended() argument
233 phy_packet_set_packet_identifier(quadlet, packet_identifier); in serialize_phy_packet_self_id_extended()
240 static void deserialize_phy_packet_self_id_extended(u32 quadlet, unsigned int *packet_identifier, in deserialize_phy_packet_self_id_extended() argument
244 *packet_identifier = phy_packet_get_packet_identifier(quadlet); in deserialize_phy_packet_self_id_extended()
251 static void serialize_phy_packet_phy_config(u32 *quadlet, unsigned int packet_identifier, in serialize_phy_packet_phy_config() argument
255 phy_packet_set_packet_identifier(quadlet, packet_identifier); in serialize_phy_packet_phy_config()
262 static void deserialize_phy_packet_phy_config(u32 quadlet, unsigned int *packet_identifier, in deserialize_phy_packet_phy_config() argument
267 *packet_identifier = phy_packet_get_packet_identifier(quadlet); in deserialize_phy_packet_phy_config()
652 unsigned int packet_identifier; 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()
669 KUNIT_EXPECT_EQ(test, PHY_PACKET_PACKET_IDENTIFIER_SELF_ID, packet_identifier); in test_phy_packet_self_id_zero_case0()
680 serialize_phy_packet_self_id_zero(quadlets, packet_identifier, phy_id, extended, in test_phy_packet_self_id_zero_case0()
707 unsigned int packet_identifier; 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()
724 KUNIT_EXPECT_EQ(test, PHY_PACKET_PACKET_IDENTIFIER_SELF_ID, packet_identifier); in test_phy_packet_self_id_zero_case1()
735 serialize_phy_packet_self_id_zero(quadlets, packet_identifier, phy_id, extended, in test_phy_packet_self_id_zero_case1()
765 unsigned int packet_identifier; 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()
784 KUNIT_EXPECT_EQ(test, PHY_PACKET_PACKET_IDENTIFIER_SELF_ID, packet_identifier); in test_phy_packet_self_id_zero_and_one()
795 serialize_phy_packet_self_id_zero(quadlets, 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()
802 KUNIT_EXPECT_EQ(test, PHY_PACKET_PACKET_IDENTIFIER_SELF_ID, packet_identifier); in test_phy_packet_self_id_zero_and_one()
808 serialize_phy_packet_self_id_extended(&quadlets[1], packet_identifier, phy_id, extended, in test_phy_packet_self_id_zero_and_one()
842 unsigned int packet_identifier; 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()
852 KUNIT_EXPECT_EQ(test, PHY_PACKET_PACKET_IDENTIFIER_PHY_CONFIG, packet_identifier); in test_phy_packet_phy_config_force_root_node()
858 serialize_phy_packet_phy_config(&quadlet, packet_identifier, root_id, has_force_root_node, in test_phy_packet_phy_config_force_root_node()
869 unsigned int packet_identifier; 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()
879 KUNIT_EXPECT_EQ(test, PHY_PACKET_PACKET_IDENTIFIER_PHY_CONFIG, packet_identifier); in test_phy_packet_phy_config_gap_count_optimization()
885 serialize_phy_packet_phy_config(&quadlet, packet_identifier, root_id, has_force_root_node, in test_phy_packet_phy_config_gap_count_optimization()