Lines Matching +full:record +full:- +full:size
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (C) 2018-2019, Intel Corporation. */
16 * structures is not guaranteed when reading. For this reason, all multi-byte
18 * Additionally, the standard specifies that multi-byte fields are in
26 /* UUID for PLDM firmware packages: f018878c-cb7d-4943-9800-a02f059aca02 */
44 __le16 size; /* PackageHeaderSize */ member
56 * The total size of this section is
62 /* Firmware Device ID Record */
80 * The total size of each record is
93 __le16 size; /* DescriptorSize */ member
100 /* This is not a struct type because the size of each record varies */
112 __le32 size; /* ComponentSize */ member
122 * The total size of this section is
131 /* This is not a struct type because the component size varies */
152 ((const struct __pldmfw_desc_tlv *)((desc)->data + \
153 get_unaligned_le16(&(desc)->size)))
163 * record.
175 * record.
182 * @record: pointer to a PLDM record
184 * Finds a pointer to the next record following a given record
186 #define pldm_next_record(record) \ argument
188 ((const u8 *)(record) + get_unaligned_le16(&(record)->record_len)))
192 * @i: variable to store record index
193 * @record: variable to store record pointer
199 #define pldm_for_each_record(i, record, start, count) \ argument
200 for ((i) = 0, (record) = pldm_first_record(start); \
202 (i)++, (record) = pldm_next_record(record))
221 ((const struct __pldmfw_component_info *)((component)->version_string + \
222 (component)->version_len))