Searched refs:erase_shift (Results 1 – 5 of 5) sorted by relevance
65 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()161 (u32)(ofs >> this->erase_shift), (u32)ofs); in onenand_block_write()194 int blocksize = 1 << this->erase_shift; in onenand_block_erase()200 (u32)(ofs >> this->erase_shift), (u32)ofs); in onenand_block_erase()211 (u32)(ofs >> this->erase_shift), (u32)ofs); in onenand_block_erase()229 int blocksize = 1 << this->erase_shift; in onenand_block_test()[all …]
240 blk = addr >> (this->erase_shift - 1); in flexonenand_block()251 return addr >> this->erase_shift; in onenand_block()274 ofs += (loff_t) block << (this->erase_shift - 1); in flexonenand_addr()277 << (this->erase_shift - 1); in flexonenand_addr()284 return (loff_t) block << this->erase_shift; in onenand_addr()622 block = (int) (addr >> this->erase_shift) & ~1; in onenand_get_2x_blockpage()828 if (mtd->eraseregions[i].erasesize < (1 << this->erase_shift)) in onenand_recover_lsb()1758 block_size = 1 << this->erase_shift; in onenand_erase()2068 end = this->chipsize >> this->erase_shift; in onenand_check_lock_status()2318 blksperdie = ((loff_t)(16 << density) << 20) >> (this->erase_shift); in flexonenand_get_size()[all …]
280 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()
198 len = this->chipsize >> (this->erase_shift + 2); in onenand_scan_bbt()210 bbm->bbt_erase_shift = this->erase_shift; in onenand_scan_bbt()
83 unsigned int erase_shift; member