Home
last modified time | relevance | path

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

/tools/
A Dmxsboot.c137 static inline uint32_t mx28_nand_ecc_size_in_bits(uint32_t ecc_strength) in mx28_nand_ecc_size_in_bits() argument
139 return ecc_strength * MXS_NAND_BITS_PER_ECC_LEVEL; in mx28_nand_ecc_size_in_bits()
145 int ecc_strength; in mx28_nand_get_ecc_strength() local
155 ecc_strength = ((page_oob_size - MXS_NAND_METADATA_SIZE) * 8) in mx28_nand_get_ecc_strength()
159 return round_down(ecc_strength, 2); in mx28_nand_get_ecc_strength()
163 uint32_t ecc_strength) in mx28_nand_get_mark_offset() argument
173 chunk_ecc_size_in_bits = mx28_nand_ecc_size_in_bits(ecc_strength); in mx28_nand_get_mark_offset()
213 uint32_t ecc_strength; in mx28_nand_mark_byte_offset() local
215 return mx28_nand_get_mark_offset(nand_writesize, ecc_strength) >> 3; in mx28_nand_mark_byte_offset()
220 uint32_t ecc_strength; in mx28_nand_mark_bit_offset() local
[all …]
A Dsunxi-spl-image-builder.c22 int ecc_strength; member
118 int eccbytes = DIV_ROUND_UP(info->ecc_strength * 14, 8); in write_page()
245 bch = init_bch(14, info->ecc_strength, BCH_PRIMITIVE_POLY); in create_image()
371 if (valid_ecc_strengths[i] == info->ecc_strength) in check_image_info()
377 info->ecc_strength); in check_image_info()
381 eccbytes = DIV_ROUND_UP(info->ecc_strength * 14, 8); in check_image_info()
435 info.ecc_strength = strtol(optarg, &endptr, 0); in main()

Completed in 5 milliseconds