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

/linux-4.1.27/drivers/mtd/chips/
H A Dcfi_cmdset_0001.c679 struct cfi_private *newcfi; cfi_intelext_partition_fixup() local
740 newcfi = kmalloc(sizeof(struct cfi_private) + numvirtchips * sizeof(struct flchip), GFP_KERNEL); cfi_intelext_partition_fixup()
741 if (!newcfi) cfi_intelext_partition_fixup()
745 kfree(newcfi); cfi_intelext_partition_fixup()
748 memcpy(newcfi, cfi, sizeof(struct cfi_private)); cfi_intelext_partition_fixup()
749 newcfi->numchips = numvirtchips; cfi_intelext_partition_fixup()
750 newcfi->chipshift = partshift; cfi_intelext_partition_fixup()
752 chip = &newcfi->chips[0]; cfi_intelext_partition_fixup()
771 newcfi->numchips, 1<<(newcfi->chipshift-10)); cfi_intelext_partition_fixup()
773 map->fldrv_priv = newcfi; cfi_intelext_partition_fixup()
774 *pcfi = newcfi; cfi_intelext_partition_fixup()

Completed in 69 milliseconds