Lines Matching refs:header_size
403 tparams->header_size = sizeof(union lk_hdr); in mtk_image_vrec_header()
405 memset(&hdr_tmp, 0xff, tparams->header_size); in mtk_image_vrec_header()
410 tparams->header_size = 2 * le16_to_cpu(hdr_nand->pagesize); in mtk_image_vrec_header()
412 tparams->header_size = sizeof(struct gen_device_header); in mtk_image_vrec_header()
414 tparams->header_size += sizeof(struct gfh_header); in mtk_image_vrec_header()
417 memset(&hdr_tmp, 0xff, tparams->header_size); in mtk_image_vrec_header()
456 gfh = (struct gfh_header *)(ptr + le32_to_cpu(bh->header_size)); in mtk_image_verify_gen_header()
685 hdr->brlyt.header_size = cpu_to_le32(sizeof(struct gen_device_header)); in mtk_image_set_gen_header()
687 hdr->brlyt.header_size_2 = hdr->brlyt.header_size; in mtk_image_set_gen_header()
719 brlyt->header_size = cpu_to_le32(2); in mtk_image_set_nand_header()
721 brlyt->header_size_2 = brlyt->header_size; in mtk_image_set_nand_header()