Home
last modified time | relevance | path

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

/linux/drivers/mtd/
A Dsm_ftl.c62 SM_SMALL_PAGE - SM_CIS_VENDOR_OFFSET, GFP_KERNEL); in sm_create_sysfs_attributes()
222 ecc_sw_hamming_calculate(buffer, SM_SMALL_PAGE, ecc, sm_order); in sm_correct_sector()
223 if (ecc_sw_hamming_correct(buffer, ecc, oob->ecc1, SM_SMALL_PAGE, in sm_correct_sector()
227 buffer += SM_SMALL_PAGE; in sm_correct_sector()
229 ecc_sw_hamming_calculate(buffer, SM_SMALL_PAGE, ecc, sm_order); in sm_correct_sector()
230 if (ecc_sw_hamming_correct(buffer, ecc, oob->ecc2, SM_SMALL_PAGE, in sm_correct_sector()
401 SM_SMALL_PAGE, oob.ecc1, in sm_write_block()
404 ecc_sw_hamming_calculate(buf + boffset + SM_SMALL_PAGE, in sm_write_block()
405 SM_SMALL_PAGE, oob.ecc2, in sm_write_block()
586 if (mtd->writesize == SM_SMALL_PAGE) { in sm_get_media_info()
[all …]
/linux/drivers/mtd/nand/raw/
A Dsm_common.h32 #define SM_SMALL_PAGE 256 macro
A Dsm_common.c173 else if (mtd->writesize == SM_SMALL_PAGE) in sm_attach_chip()

Completed in 5 milliseconds