Home
last modified time | relevance | path

Searched refs:erase_shift (Results 1 – 7 of 7) sorted by relevance

/linux-2.6.39/drivers/mtd/onenand/
Donenand_bbt.c188 len = this->chipsize >> (this->erase_shift + 2); in onenand_scan_bbt()
200 bbm->bbt_erase_shift = this->erase_shift; in onenand_scan_bbt()
Donenand_base.c256 blk = addr >> (this->erase_shift - 1); in flexonenand_block()
267 return addr >> this->erase_shift; in onenand_block()
290 ofs += (loff_t)block << (this->erase_shift - 1); in flexonenand_addr()
292 ofs += (loff_t)(block - boundary - 1) << (this->erase_shift - 1); in flexonenand_addr()
299 return (loff_t)block << this->erase_shift; in onenand_addr()
823 block = (int) (addr >> this->erase_shift) & ~1; in onenand_get_2x_blockpage()
1058 if (mtd->eraseregions[i].erasesize < (1 << this->erase_shift)) in onenand_recover_lsb()
2235 unsigned int block_size = (1 << this->erase_shift); in onenand_multiblock_erase_verify()
2278 bdry_block = bdry_addr >> this->erase_shift; in onenand_multiblock_erase()
2308 int this_block = (addr >> this->erase_shift); in onenand_multiblock_erase()
[all …]
Dsamsung.c418 fba = (int) (addr >> this->erase_shift); in s3c_onenand_command()
765 end = this->chipsize >> this->erase_shift; in s3c_onenand_check_lock_status()
784 start = ofs >> this->erase_shift; in s3c_onenand_do_lock_cmd()
786 end = start + (len >> this->erase_shift) - 1; in s3c_onenand_do_lock_cmd()
Donenand_sim.c393 block += this->chipsize >> (this->erase_shift + 1); in onenand_command_handle()
/linux-2.6.39/drivers/mmc/core/
Dcore.c1146 card->erase_shift = ffs(card->erase_size) - 1; in mmc_init_erase()
1148 card->erase_shift = 0; in mmc_init_erase()
1167 card->erase_shift = ffs(card->ssr.au) - 1; in mmc_init_erase()
1306 if (card->erase_shift) in mmc_do_erase()
1307 qty += ((to >> card->erase_shift) - in mmc_do_erase()
1308 (from >> card->erase_shift)) + 1; in mmc_do_erase()
/linux-2.6.39/include/linux/mtd/
Donenand.h99 unsigned int erase_shift; member
/linux-2.6.39/include/linux/mmc/
Dcard.h130 unsigned int erase_shift; /* if erase unit is power 2 */ member