Lines Matching defs:results

461  *  @results: Pointer array to store pointers to attributes
465 * up into an array of pointers stored in results. The function will
471 static s32 fm10k_tlv_attr_parse(u32 *attr, u32 **results,
479 if (!attr || !results)
482 /* initialize results to NULL */
484 results[i] = NULL;
495 results[0] = attr;
515 results[attr_id] = attr;
548 u32 *results[FM10K_TLV_RESULTS_MAX];
572 /* parse the attributes into the results list */
573 err = fm10k_tlv_attr_parse(msg, results, data->attr);
577 return data->func(hw, results, mbx);
583 * @results: Pointer array to message, results[0] is pointer to message
591 u32 __always_unused **results,
698 * fm10k_tlv_msg_test - Validate all results on test message receive
700 * @results: Pointer array to attributes in the message
707 s32 fm10k_tlv_msg_test(struct fm10k_hw *hw, u32 **results,
726 /* retrieve results of a previous test */
727 if (!!results[FM10K_TEST_MSG_RESULT])
728 return fm10k_tlv_attr_get_s32(results[FM10K_TEST_MSG_RESULT],
732 if (!!results[FM10K_TEST_MSG_STRING]) {
734 results[FM10K_TEST_MSG_STRING],
741 if (!!results[FM10K_TEST_MSG_MAC_ADDR]) {
743 results[FM10K_TEST_MSG_MAC_ADDR],
752 if (!!results[FM10K_TEST_MSG_U8]) {
753 err = fm10k_tlv_attr_get_u8(results[FM10K_TEST_MSG_U8],
760 if (!!results[FM10K_TEST_MSG_U16]) {
761 err = fm10k_tlv_attr_get_u16(results[FM10K_TEST_MSG_U16],
768 if (!!results[FM10K_TEST_MSG_U32]) {
769 err = fm10k_tlv_attr_get_u32(results[FM10K_TEST_MSG_U32],
776 if (!!results[FM10K_TEST_MSG_U64]) {
777 err = fm10k_tlv_attr_get_u64(results[FM10K_TEST_MSG_U64],
784 if (!!results[FM10K_TEST_MSG_S8]) {
785 err = fm10k_tlv_attr_get_s8(results[FM10K_TEST_MSG_S8],
792 if (!!results[FM10K_TEST_MSG_S16]) {
793 err = fm10k_tlv_attr_get_s16(results[FM10K_TEST_MSG_S16],
800 if (!!results[FM10K_TEST_MSG_S32]) {
801 err = fm10k_tlv_attr_get_s32(results[FM10K_TEST_MSG_S32],
808 if (!!results[FM10K_TEST_MSG_S64]) {
809 err = fm10k_tlv_attr_get_s64(results[FM10K_TEST_MSG_S64],
816 if (!!results[FM10K_TEST_MSG_LE_STRUCT]) {
818 results[FM10K_TEST_MSG_LE_STRUCT],
827 if (!!results[FM10K_TEST_MSG_NESTED]) {
831 /* parse the nested attributes into the nest results list */
832 err = fm10k_tlv_attr_parse(results[FM10K_TEST_MSG_NESTED],
839 results = nest_results;