Lines Matching full:metadata
65 ipu6_cpd_metadata_get_cmpnt(struct ipu6_device *isp, const void *metadata, in ipu6_cpd_metadata_get_cmpnt() argument
79 return metadata + extn_size + idx * isp->cpd_metadata_cmpnt_size; in ipu6_cpd_metadata_get_cmpnt()
83 const void *metadata, in ipu6_cpd_metadata_cmpnt_version() argument
88 cmpnt = ipu6_cpd_metadata_get_cmpnt(isp, metadata, metadata_size, idx); in ipu6_cpd_metadata_cmpnt_version()
96 const void *metadata, in ipu6_cpd_metadata_get_cmpnt_id() argument
101 cmpnt = ipu6_cpd_metadata_get_cmpnt(isp, metadata, metadata_size, idx); in ipu6_cpd_metadata_get_cmpnt_id()
112 u64 *pkg_dir, const void *metadata, in ipu6_cpd_parse_module_data() argument
138 id = ipu6_cpd_metadata_get_cmpnt_id(isp, metadata, in ipu6_cpd_parse_module_data()
145 ver = ipu6_cpd_metadata_cmpnt_version(isp, metadata, in ipu6_cpd_parse_module_data()
210 /* Copy metadata after manifest */ in ipu6_cpd_create_pkg_dir()
291 const void *metadata, u32 meta_size) in ipu6_cpd_validate_metadata() argument
293 const struct ipu6_cpd_metadata_extn *extn = metadata; in ipu6_cpd_validate_metadata()
295 /* Sanity check for metadata size */ in ipu6_cpd_validate_metadata()
297 dev_err(&isp->pdev->dev, "Invalid CPD metadata\n"); in ipu6_cpd_validate_metadata()
305 "Invalid CPD metadata descriptor img_type (%d)\n", in ipu6_cpd_validate_metadata()
310 /* Validate metadata size multiple of metadata components */ in ipu6_cpd_validate_metadata()
312 dev_err(&isp->pdev->dev, "Invalid CPD metadata size\n"); in ipu6_cpd_validate_metadata()
346 /* Validate metadata */ in ipu6_cpd_validate_cpd_file()
350 dev_err(&isp->pdev->dev, "Invalid CPD metadata\n"); in ipu6_cpd_validate_cpd_file()