Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/mtd/nand/raw/
H A Dfsmc_nand.c153 static int count_written_bits(uint8_t *buff, int size, int max_bits) in count_written_bits() function
222 int bits_ecc = count_written_bits(read_ecc, 13, 8); in fsmc_bch8_correct_data()
223 int bits_data = count_written_bits(dat, 512, 8); in fsmc_bch8_correct_data()
H A Dvf610_nfc.c539 static inline int count_written_bits(uint8_t *buff, int size, int max_bits) in count_written_bits() function
577 flips = count_written_bits(dat, nfc->chip.ecc.size, flips_threshold); in vf610_nfc_correct_data()
578 flips += count_written_bits(oob, mtd->oobsize, flips_threshold); in vf610_nfc_correct_data()
/OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/
H A Dfsmc_nand.c454 static int count_written_bits(u8 *buff, int size, int max_bits) in count_written_bits() function
798 int bits_ecc = count_written_bits(read_ecc, chip->ecc.bytes, 8); in fsmc_bch8_correct_data()
799 int bits_data = count_written_bits(dat, chip->ecc.size, 8); in fsmc_bch8_correct_data()