Home
last modified time | relevance | path

Searched refs:SM_OOB_SIZE (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
Dsm_common.c106 memset(&oob, -1, SM_OOB_SIZE); in sm_block_markbad()
119 if (ret < 0 || ops.oobretlen != SM_OOB_SIZE) { in sm_block_markbad()
Dsm_common.h25 #define SM_OOB_SIZE 16 macro
Dr852.c827 chip->ecc.bytes = SM_OOB_SIZE; in r852_attach_chip()
/kernel/linux/linux-5.10/drivers/mtd/
Dsm_ftl.c157 if (!memcmp(oob, erased_pattern, SM_OOB_SIZE)) in sm_read_lba()
261 ops.ooblen = SM_OOB_SIZE; in sm_read_sector()
295 WARN_ON(ops.oobretlen != SM_OOB_SIZE); in sm_read_sector()
343 ops.ooblen = SM_OOB_SIZE; in sm_write_sector()
359 WARN_ON(ops.oobretlen != SM_OOB_SIZE); in sm_write_sector()
377 memset(&oob, 0xFF, SM_OOB_SIZE); in sm_write_block()
438 memset(&oob, 0xFF, SM_OOB_SIZE); in sm_mark_block_bad()
628 if (!ftl->smallpagenand && mtd->oobsize < SM_OOB_SIZE) in sm_get_media_info()