Home
last modified time | relevance | path

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

/external/u-boot/tools/
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()
/external/u-boot/drivers/mtd/nand/
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()
Dmxs_nand.h34 unsigned int block_mark_bit_offset; member