Searched refs:chipsize (Results 1 – 13 of 13) sorted by relevance
/external/u-boot/drivers/mtd/ |
D | mtd_uboot.c | 45 loff_t *maxsize, int devtype, uint64_t chipsize) in mtd_arg_off() argument 50 if (*off >= chipsize) { in mtd_arg_off() 55 *maxsize = chipsize - *off; in mtd_arg_off() 62 uint64_t chipsize) in mtd_arg_off_size() argument 68 *size = chipsize; in mtd_arg_off_size() 74 chipsize); in mtd_arg_off_size() 93 if (*size == chipsize) in mtd_arg_off_size()
|
/external/u-boot/drivers/mtd/nand/ |
D | mxs_nand_spl.c | 32 if (chip->chipsize > (128 << 20)) in mxs_nand_command() 117 chip->chipsize = le32_to_cpu(p->blocks_per_lun); in mxs_flash_onfi_ident() 118 chip->chipsize *= (uint64_t)mtd->erasesize * p->lun_count; in mxs_flash_onfi_ident() 123 chip->pagemask = (chip->chipsize >> chip->page_shift) - 1; in mxs_flash_onfi_ident() 129 debug("chipsize=%lld\n", chip->chipsize); in mxs_flash_onfi_ident() 201 mtd->size = nand_chip.chipsize; in mxs_nand_init()
|
D | nand_bbt.c | 272 this->chipsize >> this->bbt_erase_shift, in read_abs_bbt() 276 offs += this->chipsize >> this->bbt_erase_shift; in read_abs_bbt() 477 numblocks = this->chipsize >> this->bbt_erase_shift; in create_bbt() 543 bbtblocks = this->chipsize >> this->bbt_erase_shift; in search_bbt() 571 startblock += this->chipsize >> this->bbt_erase_shift; in search_bbt() 639 numblocks = (int)(this->chipsize >> this->bbt_erase_shift); in write_bbt() 970 nrblocks = (int)(this->chipsize >> this->bbt_erase_shift); in mark_bbt_region() 1051 table_size = this->chipsize >> this->bbt_erase_shift; in verify_bbt_descr()
|
D | nand_base.c | 3327 chip->chipsize = 1 << (fls(le32_to_cpu(p->blocks_per_lun)) - 1); in nand_flash_detect_onfi() 3328 chip->chipsize *= (uint64_t)mtd->erasesize * p->lun_count; in nand_flash_detect_onfi() 3430 chip->chipsize = 1 << (fls(le32_to_cpu(p->blocks_per_lun)) - 1); in nand_flash_detect_jedec() 3431 chip->chipsize *= (uint64_t)mtd->erasesize * p->lun_count; in nand_flash_detect_jedec() 3738 chip->chipsize = (uint64_t)type->chipsize << 20; in find_full_id_nand() 3831 chip->chipsize = (uint64_t)type->chipsize << 20; in nand_get_flash_type() 3879 chip->pagemask = (chip->chipsize >> chip->page_shift) - 1; in nand_get_flash_type() 3883 if (chip->chipsize & 0xffffffff) in nand_get_flash_type() 3884 chip->chip_shift = ffs((unsigned)chip->chipsize) - 1; in nand_get_flash_type() 3886 chip->chip_shift = ffs((unsigned)(chip->chipsize >> 32)); in nand_get_flash_type() [all …]
|
D | zynq_nand.c | 876 if (chip->chipsize > (128 << 20)) { in zynq_nand_cmd_function()
|
D | denali.c | 1211 chip->chipsize <<= 1; in denali_multidev_fixup()
|
/external/u-boot/drivers/mtd/onenand/ |
D | samsung.c | 452 end = this->chipsize >> this->erase_shift; in s3c_onenand_check_lock_status() 490 size_t len = this->chipsize; in s3c_onenand_unlock_all() 510 ofs = this->chipsize >> 1; in s3c_onenand_unlock_all() 511 len = this->chipsize >> 1; in s3c_onenand_unlock_all()
|
D | onenand_bbt.c | 86 numblocks = this->chipsize >> (bbm->bbt_erase_shift - 1); in create_bbt() 198 len = this->chipsize >> (this->erase_shift + 2); in onenand_scan_bbt()
|
D | onenand_uboot.c | 55 print_size(onenand_chip.chipsize, "\n"); in onenand_init()
|
D | onenand_base.c | 915 unlikely(from == (this->chipsize >> 1))) { in onenand_read_ops_nolock() 2068 end = this->chipsize >> this->erase_shift; in onenand_check_lock_status() 2123 ofs = this->chipsize >> 1; in onenand_unlock_all() 2124 len = this->chipsize >> 1; in onenand_unlock_all() 2619 this->chipsize = (16 << density) << 20; in onenand_probe() 2646 this->density_mask = this->chipsize >> (this->erase_shift + 1); in onenand_probe() 2655 mtd->size = this->chipsize; in onenand_probe()
|
/external/u-boot/include/linux/mtd/ |
D | rawnand.h | 915 uint64_t chipsize; member 1004 .chipsize = (chipsz), .erasesize = (erasesz), .options = (opts) } 1017 { .name = (nm), {{ .dev_id = (devid) }}, .chipsize = (chipsz), \ 1064 unsigned int chipsize; member
|
D | onenand.h | 76 unsigned int chipsize; member
|
D | mtd.h | 523 loff_t *maxsize, int devtype, uint64_t chipsize); 526 uint64_t chipsize);
|