Searched refs:SM_OOB_SIZE (Results 1 – 4 of 4) sorted by relevance
106 memset(&oob, -1, SM_OOB_SIZE); in sm_block_markbad()119 if (ret < 0 || ops.oobretlen != SM_OOB_SIZE) { in sm_block_markbad()
25 #define SM_OOB_SIZE 16 macro
827 chip->ecc.bytes = SM_OOB_SIZE; in r852_attach_chip()
157 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()