Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/chips/
H A Dgen_probe.c62 struct cfi_private *retcfi; in genprobe_ident_chips() local
137 retcfi = kmalloc(struct_size(retcfi, chips, cfi.numchips), GFP_KERNEL); in genprobe_ident_chips()
139 if (!retcfi) { in genprobe_ident_chips()
145 memcpy(retcfi, &cfi, sizeof(cfi)); in genprobe_ident_chips()
146 memset(&retcfi->chips[0], 0, sizeof(struct flchip) * cfi.numchips); in genprobe_ident_chips()
150 struct flchip *pchip = &retcfi->chips[j++]; in genprobe_ident_chips()
160 return retcfi; in genprobe_ident_chips()