Searched refs:SM_SMALL_PAGE (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/mtd/ |
| H A D | sm_ftl.c | 61 SM_SMALL_PAGE - SM_CIS_VENDOR_OFFSET, GFP_KERNEL); in sm_create_sysfs_attributes() 220 ecc_sw_hamming_calculate(buffer, SM_SMALL_PAGE, ecc, sm_order); in sm_correct_sector() 221 if (ecc_sw_hamming_correct(buffer, ecc, oob->ecc1, SM_SMALL_PAGE, in sm_correct_sector() 225 buffer += SM_SMALL_PAGE; in sm_correct_sector() 227 ecc_sw_hamming_calculate(buffer, SM_SMALL_PAGE, ecc, sm_order); in sm_correct_sector() 228 if (ecc_sw_hamming_correct(buffer, ecc, oob->ecc2, SM_SMALL_PAGE, in sm_correct_sector() 399 SM_SMALL_PAGE, oob.ecc1, in sm_write_block() 402 ecc_sw_hamming_calculate(buf + boffset + SM_SMALL_PAGE, in sm_write_block() 403 SM_SMALL_PAGE, oob.ecc2, in sm_write_block() 584 if (mtd->writesize == SM_SMALL_PAGE) { in sm_get_media_info() [all …]
|
| /linux/drivers/mtd/nand/raw/ |
| H A D | sm_common.h | 32 #define SM_SMALL_PAGE 256 macro
|
| H A D | sm_common.c | 173 else if (mtd->writesize == SM_SMALL_PAGE) in sm_attach_chip()
|