Home
last modified time | relevance | path

Searched refs:SM_SMALL_PAGE (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/mtd/
Dsm_ftl.c62 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/
Dsm_common.h32 #define SM_SMALL_PAGE 256 macro
Dsm_common.c173 else if (mtd->writesize == SM_SMALL_PAGE) in sm_attach_chip()