Searched refs:chipsize (Results 1 - 14 of 14) sorted by relevance
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/bcm47xxnflash/ |
H A D | ops_bcm4706.c | 378 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()
|
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/bcm47xxnflash/ |
H A D | ops_bcm4706.c | 378 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()
|
/kernel/linux/linux-5.10/drivers/mtd/nand/onenand/ |
H A D | onenand_bbt.c | 79 numblocks = this->chipsize >> (bbm->bbt_erase_shift - 1); in create_bbt() 187 len = this->chipsize >> (this->erase_shift + 2); in onenand_scan_bbt()
|
H A D | onenand_samsung.c | 732 end = this->chipsize >> this->erase_shift; in s3c_onenand_check_lock_status() 775 size_t len = this->chipsize; in s3c_unlock_all() 791 ofs = this->chipsize >> 1; in s3c_unlock_all() 792 len = this->chipsize >> 1; in s3c_unlock_all()
|
H A D | onenand_base.c | 1275 unlikely(from == (this->chipsize >> 1))) { in onenand_read_ops_nolock() 2165 loff_t bdry_addr = this->chipsize >> 1; in onenand_multiblock_erase() 2614 end = this->chipsize >> this->erase_shift; in onenand_check_lock_status() 2674 ofs = this->chipsize >> 1; in onenand_unlock_all() 2675 len = this->chipsize >> 1; in onenand_unlock_all() 3731 * For Flex-OneNAND, chipsize represents maximum possible device size. in onenand_probe() 3734 this->chipsize = (16 << density) << 20; in onenand_probe() 3759 this->density_mask = this->chipsize >> (this->erase_shift + 1); in onenand_probe() 3768 mtd->size = this->chipsize; in onenand_probe()
|
/kernel/linux/linux-6.6/drivers/mtd/nand/onenand/ |
H A D | onenand_bbt.c | 79 numblocks = this->chipsize >> (bbm->bbt_erase_shift - 1); in create_bbt() 187 len = this->chipsize >> (this->erase_shift + 2); in onenand_scan_bbt()
|
H A D | onenand_samsung.c | 733 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()
|
H A D | onenand_base.c | 1275 unlikely(from == (this->chipsize >> 1))) { in onenand_read_ops_nolock() 2174 loff_t bdry_addr = this->chipsize >> 1; in onenand_multiblock_erase() 2623 end = this->chipsize >> this->erase_shift; in onenand_check_lock_status() 2683 ofs = this->chipsize >> 1; in onenand_unlock_all() 2684 len = this->chipsize >> 1; in onenand_unlock_all() 3738 * For Flex-OneNAND, chipsize represents maximum possible device size. in onenand_probe() 3741 this->chipsize = (16 << density) << 20; in onenand_probe() 3766 this->density_mask = this->chipsize >> (this->erase_shift + 1); in onenand_probe() 3775 mtd->size = this->chipsize; in onenand_probe()
|
/kernel/linux/linux-5.10/include/linux/mtd/ |
H A D | onenand.h | 40 * @chipsize: [INTERN] the size of one chip for multichip arrays 41 * FIXME For Flex-OneNAND, chipsize holds maximum possible 88 unsigned int chipsize; member
|
H A D | rawnand.h | 1330 .chipsize = (chipsz), .erasesize = (erasesz), .options = (opts) } 1343 { .name = (nm), {{ .dev_id = (devid) }}, .chipsize = (chipsz), \ 1363 * @chipsize: total chip size in MiB 1386 unsigned int chipsize; member
|
/kernel/linux/linux-6.6/include/linux/mtd/ |
H A D | onenand.h | 40 * @chipsize: [INTERN] the size of one chip for multichip arrays 41 * FIXME For Flex-OneNAND, chipsize holds maximum possible 88 unsigned int chipsize; member
|
H A D | rawnand.h | 1395 .chipsize = (chipsz), .erasesize = (erasesz), .options = (opts) } 1408 { .name = (nm), {{ .dev_id = (devid) }}, .chipsize = (chipsz), \ 1428 * @chipsize: total chip size in MiB 1451 unsigned int chipsize; member
|
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
H A D | nand_base.c | 4608 DIV_ROUND_DOWN_ULL((u64)type->chipsize << 20, in find_full_id_nand() 4809 DIV_ROUND_DOWN_ULL((u64)type->chipsize << 20, in nand_detect() 4840 /* Convert chipsize to number of pages per chip -1 */ in nand_detect()
|
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/ |
H A D | nand_base.c | 5067 DIV_ROUND_DOWN_ULL((u64)type->chipsize << 20, in find_full_id_nand() 5322 DIV_ROUND_DOWN_ULL((u64)type->chipsize << 20, in nand_detect() 5353 /* Convert chipsize to number of pages per chip -1 */ in nand_detect()
|
Completed in 35 milliseconds