Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/mtd/chips/
H A Dgen_probe.c62 struct cfi_private *retcfi; in genprobe_ident_chips() local
138 retcfi = kmalloc(struct_size(retcfi, chips, cfi.numchips), GFP_KERNEL); in genprobe_ident_chips()
140 if (!retcfi) { in genprobe_ident_chips()
146 memcpy(retcfi, &cfi, sizeof(cfi)); in genprobe_ident_chips()
147 memset(&retcfi->chips[0], 0, sizeof(struct flchip) * cfi.numchips); in genprobe_ident_chips()
151 struct flchip *pchip = &retcfi->chips[j++]; in genprobe_ident_chips()
161 return retcfi; in genprobe_ident_chips()
/kernel/linux/linux-6.6/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()

Completed in 1 milliseconds