Searched refs:SM_SMALL_PAGE (Results 1 – 3 of 3) sorted by relevance
/drivers/mtd/ |
D | sm_ftl.c | 62 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 …]
|
/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()
|