Lines Matching refs:results
471 static s32 fm10k_tlv_attr_parse(u32 *attr, u32 **results, in fm10k_tlv_attr_parse() argument
479 if (!attr || !results) in fm10k_tlv_attr_parse()
484 results[i] = NULL; in fm10k_tlv_attr_parse()
495 results[0] = attr; in fm10k_tlv_attr_parse()
515 results[attr_id] = attr; in fm10k_tlv_attr_parse()
548 u32 *results[FM10K_TLV_RESULTS_MAX]; in fm10k_tlv_msg_parse() local
573 err = fm10k_tlv_attr_parse(msg, results, data->attr); in fm10k_tlv_msg_parse()
577 return data->func(hw, results, mbx); in fm10k_tlv_msg_parse()
591 u32 __always_unused **results, in fm10k_tlv_msg_error() argument
707 s32 fm10k_tlv_msg_test(struct fm10k_hw *hw, u32 **results, in fm10k_tlv_msg_test() argument
727 if (!!results[FM10K_TEST_MSG_RESULT]) in fm10k_tlv_msg_test()
728 return fm10k_tlv_attr_get_s32(results[FM10K_TEST_MSG_RESULT], in fm10k_tlv_msg_test()
732 if (!!results[FM10K_TEST_MSG_STRING]) { in fm10k_tlv_msg_test()
734 results[FM10K_TEST_MSG_STRING], in fm10k_tlv_msg_test()
741 if (!!results[FM10K_TEST_MSG_MAC_ADDR]) { in fm10k_tlv_msg_test()
743 results[FM10K_TEST_MSG_MAC_ADDR], in fm10k_tlv_msg_test()
752 if (!!results[FM10K_TEST_MSG_U8]) { in fm10k_tlv_msg_test()
753 err = fm10k_tlv_attr_get_u8(results[FM10K_TEST_MSG_U8], in fm10k_tlv_msg_test()
760 if (!!results[FM10K_TEST_MSG_U16]) { in fm10k_tlv_msg_test()
761 err = fm10k_tlv_attr_get_u16(results[FM10K_TEST_MSG_U16], in fm10k_tlv_msg_test()
768 if (!!results[FM10K_TEST_MSG_U32]) { in fm10k_tlv_msg_test()
769 err = fm10k_tlv_attr_get_u32(results[FM10K_TEST_MSG_U32], in fm10k_tlv_msg_test()
776 if (!!results[FM10K_TEST_MSG_U64]) { in fm10k_tlv_msg_test()
777 err = fm10k_tlv_attr_get_u64(results[FM10K_TEST_MSG_U64], in fm10k_tlv_msg_test()
784 if (!!results[FM10K_TEST_MSG_S8]) { in fm10k_tlv_msg_test()
785 err = fm10k_tlv_attr_get_s8(results[FM10K_TEST_MSG_S8], in fm10k_tlv_msg_test()
792 if (!!results[FM10K_TEST_MSG_S16]) { in fm10k_tlv_msg_test()
793 err = fm10k_tlv_attr_get_s16(results[FM10K_TEST_MSG_S16], in fm10k_tlv_msg_test()
800 if (!!results[FM10K_TEST_MSG_S32]) { in fm10k_tlv_msg_test()
801 err = fm10k_tlv_attr_get_s32(results[FM10K_TEST_MSG_S32], in fm10k_tlv_msg_test()
808 if (!!results[FM10K_TEST_MSG_S64]) { in fm10k_tlv_msg_test()
809 err = fm10k_tlv_attr_get_s64(results[FM10K_TEST_MSG_S64], in fm10k_tlv_msg_test()
816 if (!!results[FM10K_TEST_MSG_LE_STRUCT]) { in fm10k_tlv_msg_test()
818 results[FM10K_TEST_MSG_LE_STRUCT], in fm10k_tlv_msg_test()
827 if (!!results[FM10K_TEST_MSG_NESTED]) { in fm10k_tlv_msg_test()
832 err = fm10k_tlv_attr_parse(results[FM10K_TEST_MSG_NESTED], in fm10k_tlv_msg_test()
839 results = nest_results; in fm10k_tlv_msg_test()