Home
last modified time | relevance | path

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

/u-boot/cmd/
A Donenand.c65 int blocks = (int) len >> this->erase_shift; in onenand_block_read()
66 int blocksize = (1 << this->erase_shift); in onenand_block_read()
82 (u32)(ofs >> this->erase_shift), (u32)ofs); in onenand_block_read()
136 int blocks = len >> this->erase_shift; in onenand_block_write()
137 int blocksize = (1 << this->erase_shift); in onenand_block_write()
194 int blocksize = 1 << this->erase_shift; in onenand_block_erase()
229 int blocksize = 1 << this->erase_shift; in onenand_block_test()
248 start_block = start >> this->erase_shift; in onenand_block_test()
249 end_block = (start + size) >> this->erase_shift; in onenand_block_test()
255 if (end_block > (mtd->size >> this->erase_shift)) in onenand_block_test()
[all …]
/u-boot/drivers/mtd/onenand/
A Donenand_bbt.c199 len = this->chipsize >> (this->erase_shift + 2); in onenand_scan_bbt()
211 bbm->bbt_erase_shift = this->erase_shift; in onenand_scan_bbt()
A Donenand_base.c243 blk = addr >> (this->erase_shift - 1); in flexonenand_block()
254 return addr >> this->erase_shift; in onenand_block()
280 << (this->erase_shift - 1); in flexonenand_addr()
287 return (loff_t) block << this->erase_shift; in onenand_addr()
625 block = (int) (addr >> this->erase_shift) & ~1; in onenand_get_2x_blockpage()
1761 block_size = 1 << this->erase_shift; in onenand_erase()
2071 end = this->chipsize >> this->erase_shift; in onenand_check_lock_status()
2324 eraseshift = this->erase_shift - 1; in flexonenand_get_size()
2361 mtd->erasesize = 1 << this->erase_shift; in flexonenand_get_size()
2375 << (this->erase_shift - 1); in flexonenand_get_size()
[all …]
A Dsamsung.c280 fba = (int) (addr >> this->erase_shift); in s3c_onenand_command()
452 end = this->chipsize >> this->erase_shift; in s3c_onenand_check_lock_status()
470 start = ofs >> this->erase_shift; in s3c_onenand_do_lock_cmd()
472 end = start + (len >> this->erase_shift) - 1; in s3c_onenand_do_lock_cmd()
/u-boot/include/linux/mtd/
A Donenand.h83 unsigned int erase_shift; member

Completed in 11 milliseconds