Searched refs:erase_shift (Results 1 – 7 of 7) sorted by relevance
188 len = this->chipsize >> (this->erase_shift + 2); in onenand_scan_bbt()200 bbm->bbt_erase_shift = this->erase_shift; in onenand_scan_bbt()
256 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 …]
418 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()
393 block += this->chipsize >> (this->erase_shift + 1); in onenand_command_handle()
1146 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()
99 unsigned int erase_shift; member
130 unsigned int erase_shift; /* if erase unit is power 2 */ member