Lines Matching full:multi
55 * The first multi TLV is treated as package descriptor, and expected to have a
59 * multi TLV.
63 * The multi TLVs following the package descriptor are treated as device
71 * The multi TLVs following the device descriptor multi TLVs are treated as
96 const struct mlxfw_mfa2_tlv_multi *multi) in mlxfw_mfa2_tlv_multi_validate() argument
102 mlxfw_mfa2_tlv_multi_foreach(mfa2_file, tlv, idx, multi) { in mlxfw_mfa2_tlv_multi_validate()
104 pr_err("Multi has invalid child"); in mlxfw_mfa2_tlv_multi_validate()
117 const struct mlxfw_mfa2_tlv_multi *multi; in mlxfw_mfa2_file_dev_validate() local
126 multi = mlxfw_mfa2_tlv_multi_get(mfa2_file, dev_tlv); in mlxfw_mfa2_file_dev_validate()
127 if (!multi) { in mlxfw_mfa2_file_dev_validate()
132 if (!mlxfw_mfa2_tlv_multi_validate(mfa2_file, multi)) in mlxfw_mfa2_file_dev_validate()
136 tlv = mlxfw_mfa2_tlv_multi_child_find(mfa2_file, multi, in mlxfw_mfa2_file_dev_validate()
153 err = mlxfw_mfa2_tlv_multi_child_count(mfa2_file, multi, in mlxfw_mfa2_file_dev_validate()
165 tlv = mlxfw_mfa2_tlv_multi_child_find(mfa2_file, multi, in mlxfw_mfa2_file_dev_validate()
190 const struct mlxfw_mfa2_tlv_multi *multi; in mlxfw_mfa2_file_comp_validate() local
195 multi = mlxfw_mfa2_tlv_multi_get(mfa2_file, comp_tlv); in mlxfw_mfa2_file_comp_validate()
196 if (!multi) { in mlxfw_mfa2_file_comp_validate()
201 if (!mlxfw_mfa2_tlv_multi_validate(mfa2_file, multi)) in mlxfw_mfa2_file_comp_validate()
205 tlv = mlxfw_mfa2_tlv_multi_child(mfa2_file, multi); in mlxfw_mfa2_file_comp_validate()
207 pr_err("Component descriptor %d multi TLV error\n", comp_idx); in mlxfw_mfa2_file_comp_validate()
263 const struct mlxfw_mfa2_tlv_multi *multi; in mlxfw_mfa2_file_init() local
282 multi = mlxfw_mfa2_tlv_multi_get(mfa2_file, first_tlv); in mlxfw_mfa2_file_init()
283 if (!multi) { in mlxfw_mfa2_file_init()
284 pr_err("First TLV is not of valid multi type\n"); in mlxfw_mfa2_file_init()
288 multi_child = mlxfw_mfa2_tlv_multi_child(mfa2_file, multi); in mlxfw_mfa2_file_init()
474 const struct mlxfw_mfa2_tlv_multi *multi; in mlxfw_mfa2_file_component_tlv_get() local
486 multi = mlxfw_mfa2_tlv_multi_get(mfa2_file, comp_tlv); in mlxfw_mfa2_file_component_tlv_get()
487 if (!multi) in mlxfw_mfa2_file_component_tlv_get()
490 multi_child = mlxfw_mfa2_tlv_multi_child(mfa2_file, multi); in mlxfw_mfa2_file_component_tlv_get()