Lines Matching refs:header
16 struct pldm_header_info header = { 0 }; in encode_get_date_time_req() local
17 header.msg_type = PLDM_REQUEST; in encode_get_date_time_req()
18 header.instance = instance_id; in encode_get_date_time_req()
19 header.pldm_type = PLDM_BIOS; in encode_get_date_time_req()
20 header.command = PLDM_GET_DATE_TIME; in encode_get_date_time_req()
21 return pack_pldm_header(&header, &(msg->hdr)); in encode_get_date_time_req()
34 struct pldm_header_info header = { 0 }; in encode_get_date_time_resp() local
35 header.msg_type = PLDM_RESPONSE; in encode_get_date_time_resp()
36 header.instance = instance_id; in encode_get_date_time_resp()
37 header.pldm_type = PLDM_BIOS; in encode_get_date_time_resp()
38 header.command = PLDM_GET_DATE_TIME; in encode_get_date_time_resp()
40 uint8_t rc = pack_pldm_header(&header, &(msg->hdr)); in encode_get_date_time_resp()
111 struct pldm_header_info header = { 0 }; in encode_set_date_time_req() local
112 header.instance = instance_id; in encode_set_date_time_req()
113 header.msg_type = PLDM_REQUEST; in encode_set_date_time_req()
114 header.pldm_type = PLDM_BIOS; in encode_set_date_time_req()
115 header.command = PLDM_SET_DATE_TIME; in encode_set_date_time_req()
117 uint8_t rc = pack_pldm_header(&header, &msg->hdr); in encode_set_date_time_req()
175 struct pldm_header_info header = { 0 }; in encode_set_date_time_resp() local
176 header.instance = instance_id; in encode_set_date_time_resp()
177 header.msg_type = PLDM_RESPONSE; in encode_set_date_time_resp()
178 header.pldm_type = PLDM_BIOS; in encode_set_date_time_resp()
179 header.command = PLDM_SET_DATE_TIME; in encode_set_date_time_resp()
181 uint8_t rc = pack_pldm_header(&header, &msg->hdr); in encode_set_date_time_resp()
223 struct pldm_header_info header = { 0 }; in encode_get_bios_table_resp() local
224 header.msg_type = PLDM_RESPONSE; in encode_get_bios_table_resp()
225 header.instance = instance_id; in encode_get_bios_table_resp()
226 header.pldm_type = PLDM_BIOS; in encode_get_bios_table_resp()
227 header.command = PLDM_GET_BIOS_TABLE; in encode_get_bios_table_resp()
229 uint8_t rc = pack_pldm_header(&header, &(msg->hdr)); in encode_get_bios_table_resp()
261 struct pldm_header_info header = { 0 }; in encode_get_bios_table_req() local
262 header.msg_type = PLDM_REQUEST; in encode_get_bios_table_req()
263 header.instance = instance_id; in encode_get_bios_table_req()
264 header.pldm_type = PLDM_BIOS; in encode_get_bios_table_req()
265 header.command = PLDM_GET_BIOS_TABLE; in encode_get_bios_table_req()
267 uint8_t rc = pack_pldm_header(&header, &(msg->hdr)); in encode_get_bios_table_req()
348 struct pldm_header_info header = { 0 }; in encode_get_bios_attribute_current_value_by_handle_req() local
349 header.msg_type = PLDM_REQUEST; in encode_get_bios_attribute_current_value_by_handle_req()
350 header.instance = instance_id; in encode_get_bios_attribute_current_value_by_handle_req()
351 header.pldm_type = PLDM_BIOS; in encode_get_bios_attribute_current_value_by_handle_req()
352 header.command = PLDM_GET_BIOS_ATTRIBUTE_CURRENT_VALUE_BY_HANDLE; in encode_get_bios_attribute_current_value_by_handle_req()
354 uint8_t rc = pack_pldm_header(&header, &(msg->hdr)); in encode_get_bios_attribute_current_value_by_handle_req()
442 struct pldm_header_info header = { 0 }; in encode_get_bios_current_value_by_handle_resp() local
443 header.msg_type = PLDM_RESPONSE; in encode_get_bios_current_value_by_handle_resp()
444 header.instance = instance_id; in encode_get_bios_current_value_by_handle_resp()
445 header.pldm_type = PLDM_BIOS; in encode_get_bios_current_value_by_handle_resp()
446 header.command = PLDM_GET_BIOS_ATTRIBUTE_CURRENT_VALUE_BY_HANDLE; in encode_get_bios_current_value_by_handle_resp()
448 uint8_t rc = pack_pldm_header(&header, &(msg->hdr)); in encode_get_bios_current_value_by_handle_resp()
487 struct pldm_header_info header = { 0 }; in encode_set_bios_attribute_current_value_req() local
488 header.instance = instance_id; in encode_set_bios_attribute_current_value_req()
489 header.msg_type = PLDM_REQUEST; in encode_set_bios_attribute_current_value_req()
490 header.pldm_type = PLDM_BIOS; in encode_set_bios_attribute_current_value_req()
491 header.command = PLDM_SET_BIOS_ATTRIBUTE_CURRENT_VALUE; in encode_set_bios_attribute_current_value_req()
493 uint8_t rc = pack_pldm_header(&header, &msg->hdr); in encode_set_bios_attribute_current_value_req()
569 struct pldm_header_info header = { 0 }; in encode_set_bios_attribute_current_value_resp() local
570 header.instance = instance_id; in encode_set_bios_attribute_current_value_resp()
571 header.msg_type = PLDM_RESPONSE; in encode_set_bios_attribute_current_value_resp()
572 header.pldm_type = PLDM_BIOS; in encode_set_bios_attribute_current_value_resp()
573 header.command = PLDM_SET_BIOS_ATTRIBUTE_CURRENT_VALUE; in encode_set_bios_attribute_current_value_resp()
575 uint8_t rc = pack_pldm_header(&header, &msg->hdr); in encode_set_bios_attribute_current_value_resp()
611 struct pldm_header_info header = { 0 }; in encode_set_bios_table_req() local
612 header.instance = instance_id; in encode_set_bios_table_req()
613 header.msg_type = PLDM_REQUEST; in encode_set_bios_table_req()
614 header.pldm_type = PLDM_BIOS; in encode_set_bios_table_req()
615 header.command = PLDM_SET_BIOS_TABLE; in encode_set_bios_table_req()
617 uint8_t rc = pack_pldm_header(&header, &(msg->hdr)); in encode_set_bios_table_req()
668 struct pldm_header_info header = { 0 }; in encode_set_bios_table_resp() local
669 header.instance = instance_id; in encode_set_bios_table_resp()
670 header.msg_type = PLDM_RESPONSE; in encode_set_bios_table_resp()
671 header.pldm_type = PLDM_BIOS; in encode_set_bios_table_resp()
672 header.command = PLDM_SET_BIOS_TABLE; in encode_set_bios_table_resp()
674 uint8_t rc = pack_pldm_header(&header, &(msg->hdr)); in encode_set_bios_table_resp()