Lines Matching refs:attr_flags
636 * @attr_flags: List of flags indicating what attributes to add
640 static void fm10k_tlv_msg_test_generate_data(u32 *msg, u32 attr_flags)
642 if (attr_flags & BIT(FM10K_TEST_MSG_STRING))
645 if (attr_flags & BIT(FM10K_TEST_MSG_MAC_ADDR))
648 if (attr_flags & BIT(FM10K_TEST_MSG_U8))
650 if (attr_flags & BIT(FM10K_TEST_MSG_U16))
652 if (attr_flags & BIT(FM10K_TEST_MSG_U32))
654 if (attr_flags & BIT(FM10K_TEST_MSG_U64))
656 if (attr_flags & BIT(FM10K_TEST_MSG_S8))
658 if (attr_flags & BIT(FM10K_TEST_MSG_S16))
660 if (attr_flags & BIT(FM10K_TEST_MSG_S32))
662 if (attr_flags & BIT(FM10K_TEST_MSG_S64))
664 if (attr_flags & BIT(FM10K_TEST_MSG_LE_STRUCT))
672 * @attr_flags: List of flags indicating what attributes to add
677 void fm10k_tlv_msg_test_create(u32 *msg, u32 attr_flags)
683 fm10k_tlv_msg_test_generate_data(msg, attr_flags);
686 attr_flags >>= FM10K_TEST_MSG_NESTED;
688 if (attr_flags) {
691 fm10k_tlv_msg_test_generate_data(nest, attr_flags);