Home
last modified time | relevance | path

Searched refs:cpd_hdr (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/media/pci/intel/ipu6/
Dipu6-cpd.c53 const struct ipu6_cpd_hdr *cpd_hdr = cpd; in ipu6_cpd_get_entry() local
56 ent = (const struct ipu6_cpd_ent *)((const u8 *)cpd + cpd_hdr->hdr_len); in ipu6_cpd_get_entry()
232 const struct ipu6_cpd_hdr *cpd_hdr = cpd; in ipu6_cpd_validate_cpd() local
237 len = cpd_hdr->hdr_len; in ipu6_cpd_validate_cpd()
246 if ((cpd_size - len) / sizeof(*ent) < cpd_hdr->ent_cnt) { in ipu6_cpd_validate_cpd()
252 ent = (const struct ipu6_cpd_ent *)(((const u8 *)cpd_hdr) + len); in ipu6_cpd_validate_cpd()
253 for (i = 0; i < cpd_hdr->ent_cnt; i++, ent++) { in ipu6_cpd_validate_cpd()