Lines Matching refs:completion_code
25 int encode_get_date_time_resp(uint8_t instance_id, uint8_t completion_code, in encode_get_date_time_resp() argument
47 response->completion_code = completion_code; in encode_get_date_time_resp()
48 if (response->completion_code == PLDM_SUCCESS) { in encode_get_date_time_resp()
49 response->completion_code = completion_code; in encode_get_date_time_resp()
62 uint8_t *completion_code, uint8_t *seconds, in decode_get_date_time_resp() argument
68 completion_code == NULL) { in decode_get_date_time_resp()
72 *completion_code = msg->payload[0]; in decode_get_date_time_resp()
73 if (PLDM_SUCCESS != *completion_code) { in decode_get_date_time_resp()
165 int encode_set_date_time_resp(uint8_t instance_id, uint8_t completion_code, in encode_set_date_time_resp() argument
188 response->completion_code = completion_code; in encode_set_date_time_resp()
195 uint8_t *completion_code) in decode_set_date_time_resp() argument
197 if (msg == NULL || completion_code == NULL) { in decode_set_date_time_resp()
201 *completion_code = msg->payload[0]; in decode_set_date_time_resp()
202 if (PLDM_SUCCESS != *completion_code) { in decode_set_date_time_resp()
214 int encode_get_bios_table_resp(uint8_t instance_id, uint8_t completion_code, in encode_get_bios_table_resp() argument
236 response->completion_code = completion_code; in encode_get_bios_table_resp()
237 if (response->completion_code == PLDM_SUCCESS) { in encode_get_bios_table_resp()
306 size_t payload_length, uint8_t *completion_code, in decode_get_bios_table_resp() argument
313 next_transfer_handle == NULL || completion_code == NULL) { in decode_get_bios_table_resp()
323 *completion_code = response->completion_code; in decode_get_bios_table_resp()
325 if (PLDM_SUCCESS != *completion_code) { in decode_get_bios_table_resp()
332 *bios_table_offset = sizeof(*completion_code) + in decode_get_bios_table_resp()
372 uint8_t *completion_code, uint32_t *next_transfer_handle, in decode_get_bios_attribute_current_value_by_handle_resp() argument
376 next_transfer_handle == NULL || completion_code == NULL) { in decode_get_bios_attribute_current_value_by_handle_resp()
384 *completion_code = response->completion_code; in decode_get_bios_attribute_current_value_by_handle_resp()
386 if (PLDM_SUCCESS != *completion_code) { in decode_get_bios_attribute_current_value_by_handle_resp()
431 uint8_t completion_code, in encode_get_bios_current_value_by_handle_resp() argument
456 response->completion_code = completion_code; in encode_get_bios_current_value_by_handle_resp()
457 if (response->completion_code == PLDM_SUCCESS) { in encode_get_bios_current_value_by_handle_resp()
510 uint8_t *completion_code, in decode_set_bios_attribute_current_value_resp() argument
513 if (msg == NULL || completion_code == NULL || in decode_set_bios_attribute_current_value_resp()
518 *completion_code = msg->payload[0]; in decode_set_bios_attribute_current_value_resp()
519 if (PLDM_SUCCESS != *completion_code) { in decode_set_bios_attribute_current_value_resp()
562 uint8_t completion_code, in encode_set_bios_attribute_current_value_resp() argument
583 response->completion_code = completion_code; in encode_set_bios_attribute_current_value_resp()
634 size_t payload_length, uint8_t *completion_code, in decode_set_bios_table_resp() argument
637 if (msg == NULL || completion_code == NULL || in decode_set_bios_table_resp()
642 *completion_code = msg->payload[0]; in decode_set_bios_table_resp()
643 if (PLDM_SUCCESS != *completion_code) { in decode_set_bios_table_resp()
660 int encode_set_bios_table_resp(uint8_t instance_id, uint8_t completion_code, in encode_set_bios_table_resp() argument
681 response->completion_code = completion_code; in encode_set_bios_table_resp()