Lines Matching refs:oobbuf
291 memset(spinand->oobbuf, 0xff, nanddev_per_page_oobsize(nand)); in spinand_ondie_ecc_prepare_io_req()
379 buf = spinand->oobbuf; in spinand_read_from_cache_op()
408 mtd_ooblayout_get_databytes(mtd, req->oobbuf.in, in spinand_read_from_cache_op()
409 spinand->oobbuf, in spinand_read_from_cache_op()
413 memcpy(req->oobbuf.in, spinand->oobbuf + req->ooboffs, in spinand_read_from_cache_op()
449 mtd_ooblayout_set_databytes(mtd, req->oobbuf.out, in spinand_write_to_cache_op()
450 spinand->oobbuf, in spinand_write_to_cache_op()
454 memcpy(spinand->oobbuf + req->ooboffs, req->oobbuf.out, in spinand_write_to_cache_op()
732 .oobbuf.in = marker, in spinand_isbad()
767 .oobbuf.out = marker, in spinand_markbad()
1246 spinand->oobbuf = spinand->databuf + nanddev_page_size(nand); in spinand_init()