Searched refs:chipsize (Results 1 – 21 of 21) 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()
274 this->chipsize >> this->bbt_erase_shift, in read_abs_bbt()278 offs += this->chipsize >> this->bbt_erase_shift; in read_abs_bbt()479 numblocks = this->chipsize >> this->bbt_erase_shift; in create_bbt()545 bbtblocks = this->chipsize >> this->bbt_erase_shift; in search_bbt()573 startblock += this->chipsize >> this->bbt_erase_shift; in search_bbt()641 numblocks = (int)(this->chipsize >> this->bbt_erase_shift); in write_bbt()972 nrblocks = (int)(this->chipsize >> this->bbt_erase_shift); in mark_bbt_region()1053 table_size = this->chipsize >> this->bbt_erase_shift; in verify_bbt_descr()
647 if (chip->chipsize > (32 << 20)) in nand_command()740 if (chip->chipsize > (128 << 20)) in nand_command_lp()3358 chip->chipsize = 1 << (fls(le32_to_cpu(p->blocks_per_lun)) - 1); in nand_flash_detect_onfi()3359 chip->chipsize *= (uint64_t)mtd->erasesize * p->lun_count; in nand_flash_detect_onfi()3454 chip->chipsize = 1 << (fls(le32_to_cpu(p->blocks_per_lun)) - 1); in nand_flash_detect_jedec()3455 chip->chipsize *= (uint64_t)mtd->erasesize * p->lun_count; in nand_flash_detect_jedec()3762 chip->chipsize = (uint64_t)type->chipsize << 20; in find_full_id_nand()3855 chip->chipsize = (uint64_t)type->chipsize << 20; in nand_get_flash_type()3903 chip->pagemask = (chip->chipsize >> chip->page_shift) - 1; in nand_get_flash_type()3907 if (chip->chipsize & 0xffffffff) in nand_get_flash_type()[all …]
960 if (chip->chipsize > (32 << 20)) { in flctl_chip_init_tail()964 } else if (chip->chipsize > (2 << 16)) { in flctl_chip_init_tail()974 if (chip->chipsize > (128 << 20)) { in flctl_chip_init_tail()978 } else if (chip->chipsize > (8 << 16)) { in flctl_chip_init_tail()
163 if (chip->chipsize > (128 << 20)) { in nuc900_nand_command_lp()
334 if (this->chipsize > (32 << 20)) in au1550_command()
1517 denali->nand.chipsize <<= (denali->devnum - 1); in denali_init()1519 denali->nand.pagemask = (denali->nand.chipsize >> in denali_init()1527 denali->mtd.size = denali->nand.numchips * denali->nand.chipsize; in denali_init()
390 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()
791 chip->chipsize); in fsl_ifc_chip_init_tail()
2361 chip->chipsize = new_size; in ns_init_module()2363 chip->pagemask = (chip->chipsize >> chip->page_shift) - 1; in ns_init_module()
1213 nand->chipsize = DOCG4_CHIP_SIZE; in init_mtd_structs()
713 if (this->chipsize & 0x0c000000) { in doc2001plus_command()
1825 if (chip->chipsize > (128 << 20)) in nfc_make_addr()
683 uint64_t chipsize; member750 .chipsize = (chipsz), .erasesize = (erasesz), .options = (opts) }763 { .name = (nm), {{ .dev_id = (devid) }}, .chipsize = (chipsz), \810 unsigned int chipsize; member
92 unsigned int chipsize; member
1763 block_count = chip->chipsize >> chip->phys_erase_shift; in mx23_boot_init()