Searched refs:sectorsize (Results 1 – 5 of 5) sorted by relevance
226 if (req->ecc.sectorsize == 512) { in atmel_pmecc_create_gf_tables()260 if (req->ecc.sectorsize == 512) in atmel_pmecc_get_gf_tables()289 if (req->ecc.sectorsize == ATMEL_PMECC_SECTOR_SIZE_AUTO) { in atmel_pmecc_prepare_user_req()294 req->ecc.sectorsize = 1024; in atmel_pmecc_prepare_user_req()296 req->ecc.sectorsize = 512; in atmel_pmecc_prepare_user_req()299 if (req->ecc.sectorsize != 512 && req->ecc.sectorsize != 1024) in atmel_pmecc_prepare_user_req()302 if (req->pagesize % req->ecc.sectorsize) in atmel_pmecc_prepare_user_req()305 req->ecc.nsectors = req->pagesize / req->ecc.sectorsize; in atmel_pmecc_prepare_user_req()316 nbytes = DIV_ROUND_UP(strength * fls(8 * req->ecc.sectorsize), in atmel_pmecc_prepare_user_req()400 if (req->ecc.sectorsize == 1024) in atmel_pmecc_create_user()[all …]
47 int sectorsize; member
1150 req.ecc.sectorsize = chip->ecc.size; in atmel_nand_pmecc_init()1152 req.ecc.sectorsize = requirements->step_size; in atmel_nand_pmecc_init()1154 req.ecc.sectorsize = ATMEL_PMECC_SECTOR_SIZE_AUTO; in atmel_nand_pmecc_init()1172 chip->ecc.size = req.ecc.sectorsize; in atmel_nand_pmecc_init()
86 __le32 sectorsize; member107 u32 sectorsize; member240 lc->sectorsize - entrylen - datalen); in write_metadata()243 ret = bio_add_page(bio, page, lc->sectorsize, 0); in write_metadata()244 if (ret != lc->sectorsize) { in write_metadata()282 pg_sectorlen = ALIGN(pg_datalen, lc->sectorsize); in write_inline_data()408 super.sectorsize = cpu_to_le32(lc->sectorsize); in log_super()550 lc->sectorsize = bdev_logical_block_size(lc->dev->bdev); in log_writes_ctr()551 lc->sectorshift = ilog2(lc->sectorsize); in log_writes_ctr()566 lc->next_sector = lc->sectorsize >> SECTOR_SHIFT; in log_writes_ctr()[all …]
101 unsigned long sectorsize; member111 .sectorsize = ssize, \894 flash->mtd.erasesize = flash_devices[flash_index].sectorsize; in spear_smi_setup_banks()