Home
last modified time | relevance | path

Searched refs:smallpagenand (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/mtd/
H A Dsm_ftl.c259 ops.mode = ftl->smallpagenand ? MTD_OPS_RAW : MTD_OPS_PLACE_OOB; in sm_read_sector()
310 (ftl->smallpagenand && sm_correct_sector(buffer, oob))) { in sm_read_sector()
339 ops.mode = ftl->smallpagenand ? MTD_OPS_RAW : MTD_OPS_PLACE_OOB; in sm_write_sector()
397 if (ftl->smallpagenand) { in sm_write_block()
567 ftl->smallpagenand = 0; in sm_get_media_info()
575 ftl->smallpagenand = 1; in sm_get_media_info()
584 ftl->smallpagenand = 1; in sm_get_media_info()
625 if (ftl->smallpagenand && mtd->oobsize < SM_SMALL_OOB_SIZE) in sm_get_media_info()
628 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
/kernel/linux/linux-6.6/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

Completed in 4 milliseconds