Home
last modified time | relevance | path

Searched refs:numparts (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/mtd/nand/raw/
Ddiskonchip.c914 int numparts = 0; in nftl_partscan() local
987 numparts = 1; in nftl_partscan()
990 parts[numparts].name = " DiskOnChip BDTL partition"; in nftl_partscan()
991 parts[numparts].offset = offs; in nftl_partscan()
992 parts[numparts].size = (mh->NumEraseUnits - numheaders) << this->bbt_erase_shift; in nftl_partscan()
994 offs += parts[numparts].size; in nftl_partscan()
995 numparts++; in nftl_partscan()
998 parts[numparts].name = " DiskOnChip Remainder partition"; in nftl_partscan()
999 parts[numparts].offset = offs; in nftl_partscan()
1000 parts[numparts].size = mtd->size - offs; in nftl_partscan()
[all …]
/Linux-v5.10/drivers/mtd/chips/
Dcfi_cmdset_0001.c703 int numregions, numparts, partshift, numvirtchips, i, j; in cfi_intelext_partition_fixup() local
722 numparts = 0; in cfi_intelext_partition_fixup()
726 numparts += rinfo->NumIdentPartitions; in cfi_intelext_partition_fixup()
732 if (!numparts) in cfi_intelext_partition_fixup()
733 numparts = 1; in cfi_intelext_partition_fixup()
752 partshift = cfi->chipshift - __ffs(numparts); in cfi_intelext_partition_fixup()
757 __func__, numparts); in cfi_intelext_partition_fixup()
761 numvirtchips = cfi->numchips * numparts; in cfi_intelext_partition_fixup()
781 for (j = 0; j < numparts; j++) { in cfi_intelext_partition_fixup()