Searched refs:SM_SMALL_PAGE (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/drivers/mtd/ |
D | sm_ftl.c | 62 SM_SMALL_PAGE - SM_CIS_VENDOR_OFFSET, GFP_KERNEL); in sm_create_sysfs_attributes() 221 __nand_calculate_ecc(buffer, SM_SMALL_PAGE, ecc, in sm_correct_sector() 223 if (__nand_correct_data(buffer, ecc, oob->ecc1, SM_SMALL_PAGE, 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() 231 if (__nand_correct_data(buffer, ecc, oob->ecc2, SM_SMALL_PAGE, in sm_correct_sector() 397 __nand_calculate_ecc(buf + boffset, SM_SMALL_PAGE, in sm_write_block() 401 __nand_calculate_ecc(buf + boffset + SM_SMALL_PAGE, in sm_write_block() 402 SM_SMALL_PAGE, oob.ecc2, in sm_write_block() 579 if (mtd->writesize == SM_SMALL_PAGE) { in sm_get_media_info() [all …]
|
/Linux-v5.4/drivers/mtd/nand/raw/ |
D | sm_common.h | 32 #define SM_SMALL_PAGE 256 macro
|
D | sm_common.c | 173 else if (mtd->writesize == SM_SMALL_PAGE) in sm_attach_chip()
|