Home
last modified time | relevance | path

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

/linux/drivers/mtd/
H A Dsm_ftl.c157 if (!memcmp(oob, erased_pattern, SM_OOB_SIZE)) in sm_read_lba()
260 ops.ooblen = SM_OOB_SIZE; in sm_read_sector()
296 WARN_ON(ops.oobretlen != SM_OOB_SIZE); in sm_read_sector()
344 ops.ooblen = SM_OOB_SIZE; in sm_write_sector()
360 WARN_ON(ops.oobretlen != SM_OOB_SIZE); in sm_write_sector()
379 memset(&oob, 0xFF, SM_OOB_SIZE); in sm_write_block()
441 memset(&oob, 0xFF, SM_OOB_SIZE); in sm_mark_block_bad()
635 if (!ftl->smallpagenand && mtd->oobsize < SM_OOB_SIZE) in sm_get_media_info()
/linux/drivers/mtd/nand/raw/
H A 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()
H A Dsm_common.h25 #define SM_OOB_SIZE 16 macro
H A Dr852.c825 chip->ecc.bytes = SM_OOB_SIZE; in r852_attach_chip()