Searched refs:chipsize (Results 1 - 7 of 7) sorted by last modified time

/linux-master/drivers/mtd/nand/raw/
H A Dnand_base.c5093 DIV_ROUND_DOWN_ULL((u64)type->chipsize << 20,
5357 DIV_ROUND_DOWN_ULL((u64)type->chipsize << 20,
5388 /* Convert chipsize to number of pages per chip -1 */
/linux-master/include/linux/mtd/
H A Drawnand.h1408 .chipsize = (chipsz), .erasesize = (erasesz), .options = (opts) }
1421 { .name = (nm), {{ .dev_id = (devid) }}, .chipsize = (chipsz), \
1441 * @chipsize: total chip size in MiB
1464 unsigned int chipsize; member in struct:nand_flash_dev
H A Donenand.h40 * @chipsize: [INTERN] the size of one chip for multichip arrays
41 * FIXME For Flex-OneNAND, chipsize holds maximum possible
88 unsigned int chipsize; member in struct:onenand_chip
/linux-master/drivers/mtd/nand/onenand/
H A Donenand_samsung.c733 end = this->chipsize >> this->erase_shift;
776 size_t len = this->chipsize;
792 ofs = this->chipsize >> 1;
793 len = this->chipsize >> 1;
H A Donenand_bbt.c79 numblocks = this->chipsize >> (bbm->bbt_erase_shift - 1);
187 len = this->chipsize >> (this->erase_shift + 2);
H A Donenand_base.c1275 unlikely(from == (this->chipsize >> 1))) {
2174 loff_t bdry_addr = this->chipsize >> 1;
2623 end = this->chipsize >> this->erase_shift;
2683 ofs = this->chipsize >> 1;
2684 len = this->chipsize >> 1;
3738 * For Flex-OneNAND, chipsize represents maximum possible device size.
3741 this->chipsize = (16 << density) << 20;
3766 this->density_mask = this->chipsize >> (this->erase_shift + 1);
3775 mtd->size = this->chipsize;
/linux-master/drivers/mtd/nand/raw/bcm47xxnflash/
H A Dops_bcm4706.c378 unsigned long chipsize; /* MiB */ local
428 chipsize = nanddev_target_size(&b47n->nand_chip.base) >> 20;
429 tbits = ffs(chipsize); /* find first bit set */
430 if (!tbits || tbits != fls(chipsize)) {
431 pr_err("Invalid flash size: 0x%lX\n", chipsize);

Completed in 491 milliseconds