Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/mtd/nand/raw/
Ddiskonchip.c1037 int numparts = 0; in nftl_partscan() local
1110 numparts = 1; in nftl_partscan()
1113 parts[numparts].name = " DiskOnChip BDTL partition"; in nftl_partscan()
1114 parts[numparts].offset = offs; in nftl_partscan()
1115 parts[numparts].size = (mh->NumEraseUnits - numheaders) << this->bbt_erase_shift; in nftl_partscan()
1117 offs += parts[numparts].size; in nftl_partscan()
1118 numparts++; in nftl_partscan()
1121 parts[numparts].name = " DiskOnChip Remainder partition"; in nftl_partscan()
1122 parts[numparts].offset = offs; in nftl_partscan()
1123 parts[numparts].size = mtd->size - offs; in nftl_partscan()
[all …]
/Linux-v5.4/drivers/mtd/chips/
Dcfi_cmdset_0001.c701 int offs, numregions, numparts, partshift, numvirtchips, i, j; in cfi_intelext_partition_fixup() local
719 numparts = 0; in cfi_intelext_partition_fixup()
723 numparts += rinfo->NumIdentPartitions; in cfi_intelext_partition_fixup()
729 if (!numparts) in cfi_intelext_partition_fixup()
730 numparts = 1; in cfi_intelext_partition_fixup()
749 partshift = cfi->chipshift - __ffs(numparts); in cfi_intelext_partition_fixup()
754 __func__, numparts); in cfi_intelext_partition_fixup()
758 numvirtchips = cfi->numchips * numparts; in cfi_intelext_partition_fixup()
778 for (j = 0; j < numparts; j++) { in cfi_intelext_partition_fixup()