Searched refs:numblocks (Results 1 – 9 of 9) sorted by relevance
| /rk3399_rockchip-uboot/drivers/mtd/ |
| H A D | cfi_mtd.c | 138 int numblocks = 0; in cfi_mtd_set_erasesize() local 174 mtd->eraseregions[regions].numblocks = numblocks; in cfi_mtd_set_erasesize() 176 numblocks = 0; in cfi_mtd_set_erasesize() 180 numblocks++; in cfi_mtd_set_erasesize() 196 mtd->eraseregions[regions].numblocks = numblocks; in cfi_mtd_set_erasesize()
|
| H A D | mtdconcat.c | 911 erase_region_p->numblocks = tmp64; in mtd_concat_create() 930 erase_region_p->numblocks = tmp64; in mtd_concat_create() 940 numblocks * (uint64_t)curr_erasesize; in mtd_concat_create() 949 erase_region_p->numblocks = tmp64; in mtd_concat_create()
|
| /rk3399_rockchip-uboot/drivers/mtd/nand/raw/ |
| H A D | nand_bbt.c | 456 int i, numblocks, numpages; in create_bbt() local 468 numblocks = mtd->size >> this->bbt_erase_shift; in create_bbt() 477 numblocks = this->chipsize >> this->bbt_erase_shift; in create_bbt() 478 startblock = chip * numblocks; in create_bbt() 479 numblocks += startblock; in create_bbt() 486 for (i = startblock; i < numblocks; i++) { in create_bbt() 624 int bits, startblock, dir, page, offs, numblocks, sft, sftmsk; in write_bbt() local 641 numblocks = (int)(this->chipsize >> this->bbt_erase_shift); in write_bbt() 650 numblocks = (int)(mtd->size >> this->bbt_erase_shift); in write_bbt() 671 startblock = numblocks * (chip + 1) - 1; in write_bbt() [all …]
|
| /rk3399_rockchip-uboot/drivers/mtd/onenand/ |
| H A D | onenand_bbt.c | 67 int i, j, numblocks, len, scanlen; in create_bbt() local 86 numblocks = this->chipsize >> (bbm->bbt_erase_shift - 1); in create_bbt() 95 for (i = startblock; i < numblocks;) { in create_bbt()
|
| H A D | onenand_base.c | 1748 + region->erasesize * region->numblocks; in onenand_erase() 1820 + region->erasesize * region->numblocks; in onenand_erase() 2335 mtd->eraseregions[i].numblocks = in flexonenand_get_size() 2337 ofs += mtd->eraseregions[i].numblocks << eraseshift; in flexonenand_get_size() 2341 mtd->eraseregions[i].numblocks += in flexonenand_get_size() 2349 mtd->eraseregions[i].numblocks = maxbdry ^ in flexonenand_get_size() 2351 ofs += mtd->eraseregions[i].numblocks << eraseshift; in flexonenand_get_size() 2367 mtd->eraseregions[i].numblocks); in flexonenand_get_size()
|
| /rk3399_rockchip-uboot/env/ |
| H A D | onenand.c | 89 instr.len <<= onenand_mtd.eraseregions[0].numblocks == 1 ? in env_onenand_save()
|
| /rk3399_rockchip-uboot/include/mtd/ |
| H A D | mtd-abi.h | 131 __u32 numblocks; /* Number of blocks in this region */ member
|
| /rk3399_rockchip-uboot/include/linux/mtd/ |
| H A D | mtd.h | 65 uint32_t numblocks; /* Number of blocks of erasesize in this region */ member
|
| /rk3399_rockchip-uboot/cmd/ |
| H A D | mtdparts.c | 369 for (j = 0; j < mtd->eraseregions[i].numblocks; j++) { in part_validate_eraseblock() 385 for (j = 0; j < mtd->eraseregions[i].numblocks; j++) { in part_validate_eraseblock()
|