Searched refs:SM_SMALL_PAGE (Results 1 – 3 of 3) sorted by relevance
/linux-4.1.27/drivers/mtd/ |
D | sm_ftl.c | 65 SM_SMALL_PAGE - SM_CIS_VENDOR_OFFSET, GFP_KERNEL); in sm_create_sysfs_attributes() 223 __nand_calculate_ecc(buffer, SM_SMALL_PAGE, ecc); in sm_correct_sector() 224 if (__nand_correct_data(buffer, ecc, oob->ecc1, SM_SMALL_PAGE) < 0) in sm_correct_sector() 227 buffer += SM_SMALL_PAGE; in sm_correct_sector() 229 __nand_calculate_ecc(buffer, SM_SMALL_PAGE, ecc); in sm_correct_sector() 230 if (__nand_correct_data(buffer, ecc, oob->ecc2, SM_SMALL_PAGE) < 0) in sm_correct_sector() 396 SM_SMALL_PAGE, oob.ecc1); in sm_write_block() 398 __nand_calculate_ecc(buf + boffset + SM_SMALL_PAGE, in sm_write_block() 399 SM_SMALL_PAGE, oob.ecc2); in sm_write_block() 593 if (mtd->writesize == SM_SMALL_PAGE) { in sm_get_media_info() [all …]
|
/linux-4.1.27/drivers/mtd/nand/ |
D | sm_common.h | 35 #define SM_SMALL_PAGE 256 macro
|
D | sm_common.c | 125 else if (mtd->writesize == SM_SMALL_PAGE) in sm_register_device()
|