Searched refs:parthdr (Results 1 – 1 of 1) sorted by relevance
324 struct partition_header parthdr = { in bif_add_part() local348 parthdr.offset = cpu_to_le32(bf->offset / 4); in bif_add_part()357 parthdr.len = cpu_to_le32((bf->offset + len - in bif_add_part()359 parthdr.len_enc = parthdr.len; in bif_add_part()360 parthdr.len_unenc = parthdr.len; in bif_add_part()366 parthdr.attributes |= bf->dest_dev; in bif_add_part()367 parthdr.attributes |= bf->dest_cpu; in bif_add_part()369 parthdr.attributes |= PART_ATTR_TZ_SECURE; in bif_add_part()382 csum = zynqmp_csum(&parthdr, &parthdr.checksum); in bif_add_part()383 parthdr.checksum = cpu_to_le32(csum); in bif_add_part()[all …]