Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dfsmc_nand.c152 static int count_written_bits(uint8_t *buff, int size, int max_bits) in count_written_bits() function
221 int bits_ecc = count_written_bits(read_ecc, 13, 8); in fsmc_bch8_correct_data()
222 int bits_data = count_written_bits(dat, 512, 8); in fsmc_bch8_correct_data()
H A Dvf610_nfc.c538 static inline int count_written_bits(uint8_t *buff, int size, int max_bits) in count_written_bits() function
576 flips = count_written_bits(dat, nfc->chip.ecc.size, flips_threshold); in vf610_nfc_correct_data()
577 flips += count_written_bits(oob, mtd->oobsize, flips_threshold); in vf610_nfc_correct_data()
/openbmc/linux/drivers/mtd/nand/raw/
H A Dfsmc_nand.c465 static int count_written_bits(u8 *buff, int size, int max_bits) in count_written_bits() function
809 int bits_ecc = count_written_bits(read_ecc, chip->ecc.bytes, 8); in fsmc_bch8_correct_data()
810 int bits_data = count_written_bits(dat, chip->ecc.size, 8); in fsmc_bch8_correct_data()