Home
last modified time | relevance | path

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

/external/vboot_reference/firmware/lib20/
Dcommon.c27 const ptrdiff_t data_offs = member_offs + member_data_offset; in vb2_verify_member_inside() local
28 const ptrdiff_t data_end_offs = data_offs + member_data_size; in vb2_verify_member_inside()
45 if (member_data_size > 0 && data_offs < member_end_offs) in vb2_verify_member_inside()
49 if (member_data_size < 0 || data_end_offs < data_offs) in vb2_verify_member_inside()
51 if (data_offs < 0 || data_offs > parent_size || in vb2_verify_member_inside()
/external/u-boot/tools/
Dsunxi-spl-image-builder.c178 int ecc_offs, data_offs; in write_page() local
184 data_offs = i * (info->ecc_step_size + eccbytes + 4); in write_page()
185 ecc_offs = data_offs + info->ecc_step_size + 4; in write_page()
187 data_offs = i * info->ecc_step_size; in write_page()
221 fseek(dst, pos + data_offs, SEEK_SET); in write_page()
/external/u-boot/drivers/mtd/nand/raw/
Dzynq_nand.c511 struct nand_chip *chip, u32 data_offs, in zynq_nand_read_subpage_raw() argument
514 if (data_offs != 0) { in zynq_nand_read_subpage_raw()
515 chip->cmdfunc(mtd, NAND_CMD_RNDOUT, data_offs, -1); in zynq_nand_read_subpage_raw()
516 buf += data_offs; in zynq_nand_read_subpage_raw()
Dsunxi_nand.c1043 uint32_t data_offs, uint32_t readlen, in sunxi_nfc_hw_ecc_read_subpage() argument
1053 for (i = data_offs / ecc->size; in sunxi_nfc_hw_ecc_read_subpage()
1054 i < DIV_ROUND_UP(data_offs + readlen, ecc->size); i++) { in sunxi_nfc_hw_ecc_read_subpage()
1106 u32 data_offs, u32 data_len, in sunxi_nfc_hw_ecc_write_subpage() argument
1115 for (i = data_offs / ecc->size; in sunxi_nfc_hw_ecc_write_subpage()
1116 i < DIV_ROUND_UP(data_offs + data_len, ecc->size); i++) { in sunxi_nfc_hw_ecc_write_subpage()
Dnand_base.c1898 uint32_t data_offs, uint32_t readlen, uint8_t *bufpoi, in nand_read_subpage() argument
1912 start_step = data_offs / chip->ecc.size; in nand_read_subpage()
1913 end_step = (data_offs + readlen - 1) / chip->ecc.size; in nand_read_subpage()