Home
last modified time | relevance | path

Searched refs:smallpagenand (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/mtd/
H A Dsm_ftl.c258 ops.mode = ftl->smallpagenand ? MTD_OPS_RAW : MTD_OPS_PLACE_OOB; in sm_read_sector()
311 (ftl->smallpagenand && sm_correct_sector(buffer, oob))) { in sm_read_sector()
340 ops.mode = ftl->smallpagenand ? MTD_OPS_RAW : MTD_OPS_PLACE_OOB; in sm_write_sector()
399 if (ftl->smallpagenand) { in sm_write_block()
573 ftl->smallpagenand = 0; in sm_get_media_info()
581 ftl->smallpagenand = 1; in sm_get_media_info()
590 ftl->smallpagenand = 1; in sm_get_media_info()
632 if (ftl->smallpagenand && mtd->oobsize < SM_SMALL_OOB_SIZE) in sm_get_media_info()
635 if (!ftl->smallpagenand && mtd->oobsize < SM_OOB_SIZE) in sm_get_media_info()
H A Dsm_ftl.h36 int smallpagenand; /* 256 bytes/page nand */ member