Home
last modified time | relevance | path

Searched refs:chipsize (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/mtd/nand/raw/bcm47xxnflash/
A Dops_bcm4706.c378 unsigned long chipsize; /* MiB */ in bcm47xxnflash_ops_bcm4706_init() local
428 chipsize = nanddev_target_size(&b47n->nand_chip.base) >> 20; in bcm47xxnflash_ops_bcm4706_init()
429 tbits = ffs(chipsize); /* find first bit set */ in bcm47xxnflash_ops_bcm4706_init()
430 if (!tbits || tbits != fls(chipsize)) { in bcm47xxnflash_ops_bcm4706_init()
431 pr_err("Invalid flash size: 0x%lX\n", chipsize); in bcm47xxnflash_ops_bcm4706_init()
/linux/drivers/mtd/nand/onenand/
A Donenand_bbt.c79 numblocks = this->chipsize >> (bbm->bbt_erase_shift - 1); in create_bbt()
187 len = this->chipsize >> (this->erase_shift + 2); in onenand_scan_bbt()
A Donenand_samsung.c733 end = this->chipsize >> this->erase_shift; in s3c_onenand_check_lock_status()
776 size_t len = this->chipsize; in s3c_unlock_all()
792 ofs = this->chipsize >> 1; in s3c_unlock_all()
793 len = this->chipsize >> 1; in s3c_unlock_all()
A Donenand_base.c1275 unlikely(from == (this->chipsize >> 1))) { in onenand_read_ops_nolock()
2162 loff_t bdry_addr = this->chipsize >> 1; in onenand_multiblock_erase()
2611 end = this->chipsize >> this->erase_shift; in onenand_check_lock_status()
2671 ofs = this->chipsize >> 1; in onenand_unlock_all()
2672 len = this->chipsize >> 1; in onenand_unlock_all()
3729 this->chipsize = (16 << density) << 20; in onenand_probe()
3754 this->density_mask = this->chipsize >> (this->erase_shift + 1); in onenand_probe()
3763 mtd->size = this->chipsize; in onenand_probe()
/linux/include/linux/mtd/
A Drawnand.h1368 .chipsize = (chipsz), .erasesize = (erasesz), .options = (opts) }
1381 { .name = (nm), {{ .dev_id = (devid) }}, .chipsize = (chipsz), \
1424 unsigned int chipsize; member
A Donenand.h88 unsigned int chipsize; member
/linux/drivers/mtd/nand/raw/
A Dnand_base.c4843 DIV_ROUND_DOWN_ULL((u64)type->chipsize << 20, in find_full_id_nand()
5044 DIV_ROUND_DOWN_ULL((u64)type->chipsize << 20, in nand_detect()

Completed in 34 milliseconds