Home
last modified time | relevance | path

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

/openbmc/u-boot/tools/
H A Dmxsboot.c170 uint32_t block_mark_bit_offset; in mx28_nand_get_mark_offset() local
179 block_mark_bit_offset = page_data_size * 8; in mx28_nand_get_mark_offset()
182 block_mark_bit_offset -= MXS_NAND_METADATA_SIZE * 8; in mx28_nand_get_mark_offset()
189 block_mark_bit_offset / chunk_total_size_in_bits; in mx28_nand_get_mark_offset()
195 block_mark_chunk_bit_offset = block_mark_bit_offset - in mx28_nand_get_mark_offset()
205 block_mark_bit_offset -= in mx28_nand_get_mark_offset()
208 return block_mark_bit_offset; in mx28_nand_get_mark_offset()
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dmxs_nand.c122 uint32_t block_mark_bit_offset; in mxs_nand_calc_mark_offset() local
128 block_mark_bit_offset = page_data_size * 8; in mxs_nand_calc_mark_offset()
131 block_mark_bit_offset -= MXS_NAND_METADATA_SIZE * 8; in mxs_nand_calc_mark_offset()
138 block_mark_bit_offset / chunk_total_size_in_bits; in mxs_nand_calc_mark_offset()
144 block_mark_chunk_bit_offset = block_mark_bit_offset - in mxs_nand_calc_mark_offset()
154 block_mark_bit_offset -= in mxs_nand_calc_mark_offset()
157 geo->block_mark_byte_offset = block_mark_bit_offset >> 3; in mxs_nand_calc_mark_offset()
158 geo->block_mark_bit_offset = block_mark_bit_offset & 0x7; in mxs_nand_calc_mark_offset()
377 uint32_t bit_offset = geo->block_mark_bit_offset; in mxs_nand_swap_block_mark()
H A Dmxs_nand.h34 unsigned int block_mark_bit_offset; member
/openbmc/linux/drivers/mtd/nand/raw/gpmi-nand/
H A Dgpmi-nand.c238 geo->block_mark_bit_offset); in gpmi_dump_info()
313 unsigned int block_mark_bit_offset; in set_geometry_by_ecc_info() local
409 block_mark_bit_offset = mtd->writesize * 8 - in set_geometry_by_ecc_info()
413 geo->block_mark_byte_offset = block_mark_bit_offset / 8; in set_geometry_by_ecc_info()
414 geo->block_mark_bit_offset = block_mark_bit_offset % 8; in set_geometry_by_ecc_info()
456 unsigned int block_mark_bit_offset; in set_geometry_for_large_oob() local
537 block_mark_bit_offset = mtd->writesize * 8 - in set_geometry_for_large_oob()
541 geo->block_mark_byte_offset = block_mark_bit_offset / 8; in set_geometry_for_large_oob()
542 geo->block_mark_bit_offset = block_mark_bit_offset % 8; in set_geometry_for_large_oob()
570 geo->block_mark_bit_offset, in set_geometry_for_large_oob()
[all …]
H A Dgpmi-nand.h60 unsigned int block_mark_bit_offset; member