Lines Matching full:header

133 	struct pldm_header_info header = { 0 };  in encode_get_types_req()  local
134 header.instance = instance_id; in encode_get_types_req()
135 header.msg_type = PLDM_REQUEST; in encode_get_types_req()
136 header.command = PLDM_GET_PLDM_TYPES; in encode_get_types_req()
138 return pack_pldm_header(&header, &(msg->hdr)); in encode_get_types_req()
149 struct pldm_header_info header = { 0 }; in encode_get_commands_req() local
150 header.instance = instance_id; in encode_get_commands_req()
151 header.msg_type = PLDM_REQUEST; in encode_get_commands_req()
152 header.command = PLDM_GET_PLDM_COMMANDS; in encode_get_commands_req()
154 uint8_t rc = pack_pldm_header(&header, &(msg->hdr)); in encode_get_commands_req()
176 struct pldm_header_info header = { 0 }; in encode_get_types_resp() local
177 header.instance = instance_id; in encode_get_types_resp()
178 header.msg_type = PLDM_RESPONSE; in encode_get_types_resp()
179 header.command = PLDM_GET_PLDM_TYPES; in encode_get_types_resp()
181 uint8_t rc = pack_pldm_header(&header, &(msg->hdr)); in encode_get_types_resp()
226 struct pldm_header_info header = { 0 }; in encode_get_commands_resp() local
227 header.instance = instance_id; in encode_get_commands_resp()
228 header.msg_type = PLDM_RESPONSE; in encode_get_commands_resp()
229 header.command = PLDM_GET_PLDM_COMMANDS; in encode_get_commands_resp()
230 uint8_t rc = pack_pldm_header(&header, &(msg->hdr)); in encode_get_commands_resp()
309 struct pldm_header_info header = { 0 }; in encode_get_version_req() local
310 header.msg_type = PLDM_REQUEST; in encode_get_version_req()
311 header.instance = instance_id; in encode_get_version_req()
312 header.pldm_type = PLDM_BASE; in encode_get_version_req()
313 header.command = PLDM_GET_PLDM_VERSION; in encode_get_version_req()
315 uint8_t rc = pack_pldm_header(&header, &(msg->hdr)); in encode_get_version_req()
340 struct pldm_header_info header = { 0 }; in encode_get_version_resp() local
341 header.msg_type = PLDM_RESPONSE; in encode_get_version_resp()
342 header.instance = instance_id; in encode_get_version_resp()
343 header.pldm_type = PLDM_BASE; in encode_get_version_resp()
344 header.command = PLDM_GET_PLDM_VERSION; in encode_get_version_resp()
346 uint8_t rc = pack_pldm_header(&header, &(msg->hdr)); in encode_get_version_resp()
417 struct pldm_header_info header = { 0 }; in encode_get_tid_req() local
418 header.instance = instance_id; in encode_get_tid_req()
419 header.msg_type = PLDM_REQUEST; in encode_get_tid_req()
420 header.command = PLDM_GET_TID; in encode_get_tid_req()
422 return pack_pldm_header(&header, &(msg->hdr)); in encode_get_tid_req()
433 struct pldm_header_info header = { 0 }; in encode_get_tid_resp() local
434 header.instance = instance_id; in encode_get_tid_resp()
435 header.msg_type = PLDM_RESPONSE; in encode_get_tid_resp()
436 header.command = PLDM_GET_TID; in encode_get_tid_resp()
438 uint8_t rc = pack_pldm_header(&header, &(msg->hdr)); in encode_get_tid_resp()
487 struct pldm_header_info header = { 0 }; in encode_set_tid_req() local
488 header.instance = instance_id; in encode_set_tid_req()
489 header.msg_type = PLDM_REQUEST; in encode_set_tid_req()
490 header.command = PLDM_SET_TID; in encode_set_tid_req()
492 uint8_t rc = pack_pldm_header(&header, &(msg->hdr)); in encode_set_tid_req()
566 struct pldm_header_info header = { 0 }; in encode_cc_only_resp() local
567 header.instance = instance_id; in encode_cc_only_resp()
568 header.msg_type = PLDM_RESPONSE; in encode_cc_only_resp()
569 header.pldm_type = type; in encode_cc_only_resp()
570 header.command = command; in encode_cc_only_resp()
572 uint8_t rc = pack_pldm_header(&header, &msg->hdr); in encode_cc_only_resp()
590 struct pldm_header_info header = { 0 }; in encode_pldm_header_only_errno() local
591 header.msg_type = msg_type; in encode_pldm_header_only_errno()
592 header.instance = instance_id; in encode_pldm_header_only_errno()
593 header.pldm_type = pldm_type; in encode_pldm_header_only_errno()
594 header.command = command; in encode_pldm_header_only_errno()
595 return pack_pldm_header_errno(&header, &(msg->hdr)); in encode_pldm_header_only_errno()