Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/mtd/parsers/
Dqcomsmempart.c53 __le32 numparts; member
62 int ret, i, j, tmpparts, numparts = 0; in parse_qcomsmem_part() local
91 tmpparts = le32_to_cpu(ptable->numparts); in parse_qcomsmem_part()
123 numparts++; in parse_qcomsmem_part()
126 parts = kcalloc(numparts, sizeof(*parts), GFP_KERNEL); in parse_qcomsmem_part()
159 return numparts; in parse_qcomsmem_part()
/linux-6.12.1/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-6.12.1/drivers/mtd/chips/
Dcfi_cmdset_0001.c721 int numregions, numparts, partshift, numvirtchips, i, j; in cfi_intelext_partition_fixup() local
740 numparts = 0; in cfi_intelext_partition_fixup()
744 numparts += rinfo->NumIdentPartitions; in cfi_intelext_partition_fixup()
750 if (!numparts) in cfi_intelext_partition_fixup()
751 numparts = 1; in cfi_intelext_partition_fixup()
770 partshift = cfi->chipshift - __ffs(numparts); in cfi_intelext_partition_fixup()
775 __func__, numparts); in cfi_intelext_partition_fixup()
779 numvirtchips = cfi->numchips * numparts; in cfi_intelext_partition_fixup()
799 for (j = 0; j < numparts; j++) { in cfi_intelext_partition_fixup()