Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/chips/
H A Dcfi_cmdset_0001.c718 struct cfi_private *newcfi; in cfi_intelext_partition_fixup() local
780 newcfi = kmalloc(struct_size(newcfi, chips, numvirtchips), in cfi_intelext_partition_fixup()
782 if (!newcfi) in cfi_intelext_partition_fixup()
788 kfree(newcfi); in cfi_intelext_partition_fixup()
791 memcpy(newcfi, cfi, sizeof(struct cfi_private)); in cfi_intelext_partition_fixup()
792 newcfi->numchips = numvirtchips; in cfi_intelext_partition_fixup()
793 newcfi->chipshift = partshift; in cfi_intelext_partition_fixup()
795 chip = &newcfi->chips[0]; in cfi_intelext_partition_fixup()
814 newcfi->numchips, 1<<(newcfi->chipshift-10)); in cfi_intelext_partition_fixup()
816 map->fldrv_priv = newcfi; in cfi_intelext_partition_fixup()
[all …]