Searched refs:SM_SMALL_PAGE (Results 1 – 3 of 3) sorted by relevance
| /Linux-v4.19/drivers/mtd/ |
| D | sm_ftl.c | 65 SM_SMALL_PAGE - SM_CIS_VENDOR_OFFSET, GFP_KERNEL); in sm_create_sysfs_attributes() 224 __nand_calculate_ecc(buffer, SM_SMALL_PAGE, ecc); in sm_correct_sector() 225 if (__nand_correct_data(buffer, ecc, oob->ecc1, SM_SMALL_PAGE) < 0) in sm_correct_sector() 228 buffer += SM_SMALL_PAGE; in sm_correct_sector() 230 __nand_calculate_ecc(buffer, SM_SMALL_PAGE, ecc); in sm_correct_sector() 231 if (__nand_correct_data(buffer, ecc, oob->ecc2, SM_SMALL_PAGE) < 0) in sm_correct_sector() 397 SM_SMALL_PAGE, oob.ecc1); in sm_write_block() 399 __nand_calculate_ecc(buf + boffset + SM_SMALL_PAGE, in sm_write_block() 400 SM_SMALL_PAGE, oob.ecc2); in sm_write_block() 576 if (mtd->writesize == SM_SMALL_PAGE) { in sm_get_media_info() [all …]
|
| /Linux-v4.19/drivers/mtd/nand/raw/ |
| D | sm_common.h | 35 #define SM_SMALL_PAGE 256 macro
|
| D | sm_common.c | 175 else if (mtd->writesize == SM_SMALL_PAGE) in sm_attach_chip()
|