Searched refs:erase_shift (Results 1 – 6 of 6) sorted by relevance
312 blk = addr >> (this->erase_shift - 1); in flexonenand_block()323 return addr >> this->erase_shift; in onenand_block()355 return (loff_t)block << this->erase_shift; in onenand_addr()2357 block_size = 1 << this->erase_shift; in onenand_erase()2611 end = this->chipsize >> this->erase_shift; in onenand_check_lock_status()2697 block = (int) (addr >> this->erase_shift); in onenand_otp_command()2702 block = (int) (addr >> this->erase_shift); in onenand_otp_command()2792 block = (int) (to >> this->erase_shift); in onenand_otp_write_oob_nolock()3434 eraseshift = this->erase_shift - 1; in flexonenand_get_size()3470 mtd->erasesize = 1 << this->erase_shift; in flexonenand_get_size()[all …]
187 len = this->chipsize >> (this->erase_shift + 2); in onenand_scan_bbt()194 bbm->bbt_erase_shift = this->erase_shift; in onenand_scan_bbt()
386 fba = (int) (addr >> this->erase_shift); in s3c_onenand_command()733 end = this->chipsize >> this->erase_shift; in s3c_onenand_check_lock_status()752 start = ofs >> this->erase_shift; in s3c_onenand_do_lock_cmd()754 end = start + (len >> this->erase_shift) - 1; in s3c_onenand_do_lock_cmd()
1436 card->erase_shift = ffs(card->erase_size) - 1; in mmc_init_erase()1438 card->erase_shift = 0; in mmc_init_erase()1457 card->erase_shift = ffs(card->ssr.au) - 1; in mmc_init_erase()1610 if (card->erase_shift) in mmc_do_erase()1611 qty += ((to >> card->erase_shift) - in mmc_do_erase()1612 (from >> card->erase_shift)) + 1; in mmc_do_erase()1869 if (card->erase_shift) { in mmc_do_calc_max_discard()1870 max_qty = UINT_MAX >> card->erase_shift; in mmc_do_calc_max_discard()1871 min_qty = card->pref_erase >> card->erase_shift; in mmc_do_calc_max_discard()1928 if (card->erase_shift) in mmc_do_calc_max_discard()[all …]
96 unsigned int erase_shift; member
299 unsigned int erase_shift; /* if erase unit is power 2 */ member
Completed in 39 milliseconds