Home
last modified time | relevance | path

Searched refs:SM_SECTOR_SIZE (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/drivers/mtd/
Dsm_ftl.c197 WARN_ON(boffset & (SM_SECTOR_SIZE - 1)); in sm_mkoffset()
248 memset(buffer, 0xFF, SM_SECTOR_SIZE); in sm_read_sector()
260 ops.len = SM_SECTOR_SIZE; in sm_read_sector()
293 WARN_ON(buffer && ops.retlen != SM_SECTOR_SIZE); in sm_read_sector()
337 ops.len = SM_SECTOR_SIZE; in sm_write_sector()
357 WARN_ON(buffer && ops.retlen != SM_SECTOR_SIZE); in sm_write_sector()
381 boffset += SM_SECTOR_SIZE) { in sm_write_block()
385 if (test_bit(boffset / SM_SECTOR_SIZE, &invalid_bitmap)) { in sm_write_block()
389 boffset / SM_SECTOR_SIZE, lba, zone); in sm_write_block()
447 for (boffset = 0; boffset < ftl->block_size; boffset += SM_SECTOR_SIZE) in sm_mark_block_bad()
[all …]
/linux-4.4.14/drivers/mtd/nand/
Dsm_common.h25 #define SM_SECTOR_SIZE 512 macro
Dsm_common.c123 if (mtd->writesize == SM_SECTOR_SIZE) in sm_register_device()
Dr852.c907 dev->tmp_buffer = kzalloc(SM_SECTOR_SIZE, GFP_KERNEL); in r852_probe()