Lines Matching refs:density_mask
158 if (block & this->density_mask) in onenand_block_address()
159 return ONENAND_DDP_CHIP1 | (block ^ this->density_mask); in onenand_block_address()
175 if (block & this->density_mask) in onenand_bufferram_address()
247 blk += die ? this->density_mask : 0; in flexonenand_block()
270 if (ONENAND_IS_DDP(this) && block >= this->density_mask) { in flexonenand_addr()
271 block -= this->density_mask; in flexonenand_addr()
350 block = addr * this->density_mask; in onenand_command()
362 block = addr * this->density_mask; in onenand_command()
2466 old = this->boundary[die] + (die * this->density_mask); in flexonenand_set_boundary()
2467 new = boundary + (die * this->density_mask); in flexonenand_set_boundary()
2649 this->density_mask = this->chipsize >> (this->erase_shift + 1); in onenand_probe()