Lines Matching refs:newcfi
718 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()
817 *pcfi = newcfi; in cfi_intelext_partition_fixup()