Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/mtd/
Dsm_ftl.c194 WARN_ON(boffset & (SM_SECTOR_SIZE - 1)); in sm_mkoffset()
250 memset(buffer, 0xFF, SM_SECTOR_SIZE); in sm_read_sector()
262 ops.len = SM_SECTOR_SIZE; in sm_read_sector()
295 WARN_ON(buffer && ops.retlen != SM_SECTOR_SIZE); in sm_read_sector()
339 ops.len = SM_SECTOR_SIZE; in sm_write_sector()
359 WARN_ON(buffer && ops.retlen != SM_SECTOR_SIZE); in sm_write_sector()
383 boffset += SM_SECTOR_SIZE) { in sm_write_block()
387 if (test_bit(boffset / SM_SECTOR_SIZE, &invalid_bitmap)) { in sm_write_block()
391 boffset / SM_SECTOR_SIZE, lba, zone); in sm_write_block()
451 for (boffset = 0; boffset < ftl->block_size; boffset += SM_SECTOR_SIZE) in sm_mark_block_bad()
[all …]
/Linux-v5.4/drivers/mtd/nand/raw/
Dsm_common.h22 #define SM_SECTOR_SIZE 512 macro
Dsm_common.c171 if (mtd->writesize == SM_SECTOR_SIZE) in sm_attach_chip()
Dr852.c896 dev->tmp_buffer = kzalloc(SM_SECTOR_SIZE, GFP_KERNEL); in r852_probe()