Searched refs:chipsize (Results 1 – 22 of 22) sorted by relevance
384 unsigned long chipsize; /* MiB */ in bcm47xxnflash_ops_bcm4706_init() local431 chipsize = b47n->nand_chip.chipsize >> 20; in bcm47xxnflash_ops_bcm4706_init()432 tbits = ffs(chipsize); /* find first bit set */ in bcm47xxnflash_ops_bcm4706_init()433 if (!tbits || tbits != fls(chipsize)) { in bcm47xxnflash_ops_bcm4706_init()434 pr_err("Invalid flash size: 0x%lX\n", chipsize); in bcm47xxnflash_ops_bcm4706_init()
80 numblocks = this->chipsize >> (bbm->bbt_erase_shift - 1); in create_bbt()188 len = this->chipsize >> (this->erase_shift + 2); in onenand_scan_bbt()
741 end = this->chipsize >> this->erase_shift; in s3c_onenand_check_lock_status()784 size_t len = this->chipsize; in s3c_unlock_all()800 ofs = this->chipsize >> 1; in s3c_unlock_all()801 len = this->chipsize >> 1; in s3c_unlock_all()
1279 unlikely(from == (this->chipsize >> 1))) { in onenand_read_ops_nolock()2283 loff_t bdry_addr = this->chipsize >> 1; in onenand_multiblock_erase()2746 end = this->chipsize >> this->erase_shift; in onenand_check_lock_status()2806 ofs = this->chipsize >> 1; in onenand_unlock_all()2807 len = this->chipsize >> 1; in onenand_unlock_all()3858 this->chipsize = (16 << density) << 20; in onenand_probe()3883 this->density_mask = this->chipsize >> (this->erase_shift + 1); in onenand_probe()3892 mtd->size = this->chipsize; in onenand_probe()
277 this->chipsize >> this->bbt_erase_shift, in read_abs_bbt()281 offs += this->chipsize >> this->bbt_erase_shift; in read_abs_bbt()482 numblocks = this->chipsize >> this->bbt_erase_shift; in create_bbt()548 bbtblocks = this->chipsize >> this->bbt_erase_shift; in search_bbt()576 startblock += this->chipsize >> this->bbt_erase_shift; in search_bbt()644 numblocks = (int)(this->chipsize >> this->bbt_erase_shift); in write_bbt()975 nrblocks = (int)(this->chipsize >> this->bbt_erase_shift); in mark_bbt_region()1056 table_size = this->chipsize >> this->bbt_erase_shift; in verify_bbt_descr()
639 if (chip->chipsize > (32 << 20)) in nand_command()732 if (chip->chipsize > (128 << 20)) in nand_command_lp()3216 chip->chipsize = 1 << (fls(le32_to_cpu(p->blocks_per_lun)) - 1); in nand_flash_detect_onfi()3217 chip->chipsize *= (uint64_t)mtd->erasesize * p->lun_count; in nand_flash_detect_onfi()3312 chip->chipsize = 1 << (fls(le32_to_cpu(p->blocks_per_lun)) - 1); in nand_flash_detect_jedec()3313 chip->chipsize *= (uint64_t)mtd->erasesize * p->lun_count; in nand_flash_detect_jedec()3620 chip->chipsize = (uint64_t)type->chipsize << 20; in find_full_id_nand()3713 chip->chipsize = (uint64_t)type->chipsize << 20; in nand_get_flash_type()3764 chip->pagemask = (chip->chipsize >> chip->page_shift) - 1; in nand_get_flash_type()3768 if (chip->chipsize & 0xffffffff) in nand_get_flash_type()[all …]
959 if (chip->chipsize > (32 << 20)) { in flctl_chip_init_tail()963 } else if (chip->chipsize > (2 << 16)) { in flctl_chip_init_tail()973 if (chip->chipsize > (128 << 20)) { in flctl_chip_init_tail()977 } else if (chip->chipsize > (8 << 16)) { in flctl_chip_init_tail()
163 if (chip->chipsize > (128 << 20)) { in nuc900_nand_command_lp()
1471 uint64_t chipsize; in pxa3xx_nand_scan() local1529 chipsize = (uint64_t)f->num_blocks * f->page_per_block * f->page_size; in pxa3xx_nand_scan()1530 pxa3xx_flash_ids[0].chipsize = chipsize >> 20; in pxa3xx_nand_scan()
334 if (this->chipsize > (32 << 20)) in au1550_command()
1508 denali->nand.chipsize <<= (denali->devnum - 1); in denali_init()1510 denali->nand.pagemask = (denali->nand.chipsize >> in denali_init()1518 denali->mtd.size = denali->nand.numchips * denali->nand.chipsize; in denali_init()
389 mtd->size += chip->chipsize; in jz_nand_detect_bank()
438 if (chip->chipsize > (128 << 20)) { in set_addr()
640 chip->chipsize); in fsl_elbc_chip_init_tail()
789 chip->chipsize); in fsl_ifc_chip_init_tail()
2362 chip->chipsize = new_size; in ns_init_module()2364 chip->pagemask = (chip->chipsize >> chip->page_shift) - 1; in ns_init_module()
1213 nand->chipsize = DOCG4_CHIP_SIZE; in init_mtd_structs()
710 if (this->chipsize & 0x0c000000) { in doc2001plus_command()
1824 if (chip->chipsize > (128 << 20)) in nfc_make_addr()
684 uint64_t chipsize; member751 .chipsize = (chipsz), .erasesize = (erasesz), .options = (opts) }764 { .name = (nm), {{ .dev_id = (devid) }}, .chipsize = (chipsz), \811 unsigned int chipsize; member
92 unsigned int chipsize; member
1763 block_count = chip->chipsize >> chip->phys_erase_shift; in mx23_boot_init()