Lines Matching refs:SM_SMALL_PAGE
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()
730 ftl->cis_page_offset = SM_SMALL_PAGE; in sm_find_cis()