Lines Matching refs:rawbuf
62 void *rawbuf; member
242 ret = nand_read_page_op(chip, page, 0, micron->ecc.rawbuf, in micron_nand_on_die_ecc_status_4()
249 u8 *rawbuf, *corrbuf; in micron_nand_on_die_ecc_status_4() local
252 rawbuf = micron->ecc.rawbuf + offs; in micron_nand_on_die_ecc_status_4()
256 nbitflips += hweight8(corrbuf[i] ^ rawbuf[i]); in micron_nand_on_die_ecc_status_4()
259 rawbuf = micron->ecc.rawbuf + mtd->writesize + offs; in micron_nand_on_die_ecc_status_4()
263 nbitflips += hweight8(corrbuf[i] ^ rawbuf[i]); in micron_nand_on_die_ecc_status_4()
532 micron->ecc.rawbuf = kmalloc(mtd->writesize + in micron_nand_init()
535 if (!micron->ecc.rawbuf) { in micron_nand_init()
569 kfree(micron->ecc.rawbuf); in micron_nand_init()
579 kfree(micron->ecc.rawbuf); in micron_nand_cleanup()