Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/mtd/nand/onenand/
A Donenand_base.c312 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()
2369 block_size = 1 << this->erase_shift; in onenand_erase()
2623 end = this->chipsize >> this->erase_shift; in onenand_check_lock_status()
2709 block = (int) (addr >> this->erase_shift); in onenand_otp_command()
2714 block = (int) (addr >> this->erase_shift); in onenand_otp_command()
2804 block = (int) (to >> this->erase_shift); in onenand_otp_write_oob_nolock()
3446 eraseshift = this->erase_shift - 1; in flexonenand_get_size()
3482 mtd->erasesize = 1 << this->erase_shift; in flexonenand_get_size()
[all …]
A Donenand_bbt.c187 len = this->chipsize >> (this->erase_shift + 2); in onenand_scan_bbt()
194 bbm->bbt_erase_shift = this->erase_shift; in onenand_scan_bbt()
A Donenand_samsung.c386 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()
/linux-6.3-rc2/drivers/mmc/core/
A Dcore.c1443 card->erase_shift = ffs(card->erase_size) - 1; in mmc_init_erase()
1445 card->erase_shift = 0; in mmc_init_erase()
1464 card->erase_shift = ffs(card->ssr.au) - 1; in mmc_init_erase()
1622 if (card->erase_shift) in mmc_do_erase()
1623 qty += ((to >> card->erase_shift) - in mmc_do_erase()
1624 (from >> card->erase_shift)) + 1; in mmc_do_erase()
1881 if (card->erase_shift) { in mmc_do_calc_max_discard()
1882 max_qty = UINT_MAX >> card->erase_shift; in mmc_do_calc_max_discard()
1883 min_qty = card->pref_erase >> card->erase_shift; in mmc_do_calc_max_discard()
1940 if (card->erase_shift) in mmc_do_calc_max_discard()
[all …]
/linux-6.3-rc2/include/linux/mtd/
A Donenand.h96 unsigned int erase_shift; member
/linux-6.3-rc2/include/linux/mmc/
A Dcard.h301 unsigned int erase_shift; /* if erase unit is power 2 */ member

Completed in 30 milliseconds