Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/tools/
H A Dmxsboot.c171 uint32_t block_mark_bit_offset; in mx28_nand_get_mark_offset() local
180 block_mark_bit_offset = page_data_size * 8; in mx28_nand_get_mark_offset()
183 block_mark_bit_offset -= MXS_NAND_METADATA_SIZE * 8; in mx28_nand_get_mark_offset()
190 block_mark_bit_offset / chunk_total_size_in_bits; in mx28_nand_get_mark_offset()
196 block_mark_chunk_bit_offset = block_mark_bit_offset - in mx28_nand_get_mark_offset()
206 block_mark_bit_offset -= in mx28_nand_get_mark_offset()
209 return block_mark_bit_offset; in mx28_nand_get_mark_offset()
/OK3568_Linux_fs/u-boot/drivers/mtd/nand/raw/
H A Dmxs_nand.c123 uint32_t block_mark_bit_offset; in mxs_nand_calc_mark_offset() local
129 block_mark_bit_offset = page_data_size * 8; in mxs_nand_calc_mark_offset()
132 block_mark_bit_offset -= MXS_NAND_METADATA_SIZE * 8; in mxs_nand_calc_mark_offset()
139 block_mark_bit_offset / chunk_total_size_in_bits; in mxs_nand_calc_mark_offset()
145 block_mark_chunk_bit_offset = block_mark_bit_offset - in mxs_nand_calc_mark_offset()
155 block_mark_bit_offset -= in mxs_nand_calc_mark_offset()
158 geo->block_mark_byte_offset = block_mark_bit_offset >> 3; in mxs_nand_calc_mark_offset()
159 geo->block_mark_bit_offset = block_mark_bit_offset & 0x7; in mxs_nand_calc_mark_offset()
378 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
/OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/gpmi-nand/
H A Dgpmi-nand.c236 geo->block_mark_bit_offset); in gpmi_dump_info()
265 unsigned int block_mark_bit_offset; in set_geometry_by_ecc_info() local
360 block_mark_bit_offset = mtd->writesize * 8 - in set_geometry_by_ecc_info()
364 geo->block_mark_byte_offset = block_mark_bit_offset / 8; in set_geometry_by_ecc_info()
365 geo->block_mark_bit_offset = block_mark_bit_offset % 8; in set_geometry_by_ecc_info()
406 unsigned int block_mark_bit_offset; in legacy_set_geometry() local
503 block_mark_bit_offset = mtd->writesize * 8 - in legacy_set_geometry()
507 geo->block_mark_byte_offset = block_mark_bit_offset / 8; in legacy_set_geometry()
508 geo->block_mark_bit_offset = block_mark_bit_offset % 8; in legacy_set_geometry()
1178 bit = nfc_geo->block_mark_bit_offset; in block_mark_swapping()
H A Dgpmi-nand.h57 unsigned int block_mark_bit_offset; member