Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/mtd/chips/
Dcfi_cmdset_0001.c700 struct cfi_private *newcfi; in cfi_intelext_partition_fixup() local
762 newcfi = kmalloc(struct_size(newcfi, chips, numvirtchips), in cfi_intelext_partition_fixup()
764 if (!newcfi) in cfi_intelext_partition_fixup()
770 kfree(newcfi); in cfi_intelext_partition_fixup()
773 memcpy(newcfi, cfi, sizeof(struct cfi_private)); in cfi_intelext_partition_fixup()
774 newcfi->numchips = numvirtchips; in cfi_intelext_partition_fixup()
775 newcfi->chipshift = partshift; in cfi_intelext_partition_fixup()
777 chip = &newcfi->chips[0]; in cfi_intelext_partition_fixup()
796 newcfi->numchips, 1<<(newcfi->chipshift-10)); in cfi_intelext_partition_fixup()
798 map->fldrv_priv = newcfi; in cfi_intelext_partition_fixup()
[all …]