Home
last modified time | relevance | path

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

/linux/drivers/mtd/chips/
H A Dgen_probe.c102 cfi.numchips = 1; in genprobe_ident_chips()
137 retcfi = kmalloc(struct_size(retcfi, chips, cfi.numchips), GFP_KERNEL); in genprobe_ident_chips()
146 memset(&retcfi->chips[0], 0, sizeof(struct flchip) * cfi.numchips); in genprobe_ident_chips()
148 for (i = 0, j = 0; (j < cfi.numchips) && (i < max_chips); i++) { in genprobe_ident_chips()
H A Dcfi_cmdset_0001.c563 for (i=0; i< cfi->numchips; i++) { in cfi_cmdset_0001()
627 mtd->size = devsize * cfi->numchips; in cfi_intelext_setup()
629 mtd->numeraseregions = cfi->cfiq->NumEraseRegions * cfi->numchips; in cfi_intelext_setup()
644 for (j=0; j<cfi->numchips; j++) { in cfi_intelext_setup()
689 for (j=0; j<cfi->numchips; j++) in cfi_intelext_setup()
779 numvirtchips = cfi->numchips * numparts; in cfi_intelext_partition_fixup()
784 shared = kmalloc_array(cfi->numchips, in cfi_intelext_partition_fixup()
792 newcfi->numchips = numvirtchips; in cfi_intelext_partition_fixup()
796 for (i = 0; i < cfi->numchips; i++) { in cfi_intelext_partition_fixup()
813 map->name, cfi->numchips, cfi->interleave, in cfi_intelext_partition_fixup()
[all …]
H A Dcfi_cmdset_0020.c155 for (i=0; i< cfi->numchips; i++) { in cfi_cmdset_0020()
185 mtd->size = devsize * cfi->numchips; in cfi_staa_setup()
187 mtd->numeraseregions = cfi->cfiq->NumEraseRegions * cfi->numchips; in cfi_staa_setup()
205 for (j=0; j<cfi->numchips; j++) { in cfi_staa_setup()
399 if (chipnum >= cfi->numchips) in cfi_staa_read()
647 if (chipnum == cfi->numchips) in cfi_staa_write_buffers()
965 if (chipnum >= cfi->numchips) in cfi_staa_erase_varsize()
982 for (i=0; !ret && i<cfi->numchips; i++) { in cfi_staa_sync()
1172 if (chipnum >= cfi->numchips) in cfi_staa_lock()
1320 for (i=0; !ret && i<cfi->numchips; i++) { in cfi_staa_suspend()
[all …]
H A Dcfi_cmdset_0002.c730 for (i=0; i< cfi->numchips; i++) { in cfi_cmdset_0002()
774 (cfi->cfi_mode == CFI_MODE_CFI)?"CFI":"JEDEC",cfi->numchips); in cfi_amdstd_setup()
776 mtd->size = devsize * cfi->numchips; in cfi_amdstd_setup()
778 mtd->numeraseregions = cfi->cfiq->NumEraseRegions * cfi->numchips; in cfi_amdstd_setup()
793 for (j=0; j<cfi->numchips; j++) { in cfi_amdstd_setup()
1250 if (chipnum >= cfi->numchips) in cfi_amdstd_read()
1359 if (chipnum >= cfi->numchips) in cfi_amdstd_secsi_read()
1499 for (chipnum = 0; chipnum < cfi->numchips; chipnum++) { in cfi_amdstd_otp_walk()
1873 if (chipnum == cfi->numchips) in cfi_amdstd_write_words()
1897 if (chipnum == cfi->numchips) in cfi_amdstd_write_words()
[all …]
H A Dcfi_probe.c120 if (!cfi->numchips) { in cfi_probe_chip()
166 cfi->numchips++; in cfi_probe_chip()
H A Dcfi_util.c434 if (chipnum >= cfi->numchips) in cfi_varsize_frob()
H A Djedec_probe.c2158 if (!cfi->numchips) { in jedec_probe_chip()
2194 if (!cfi->numchips) { in jedec_probe_chip()
2267 cfi->numchips++; in jedec_probe_chip()
/linux/include/linux/mtd/
H A Dqinfo.h25 int numchips; member
27 struct flchip chips[] __counted_by(numchips);
H A Dcfi.h285 int numchips; member
290 struct flchip chips[] __counted_by(numchips); /* per-chip data structure for each chip */
H A Ddoc2000.h198 int numchips; member
/linux/kernel/irq/
H A Dgeneric-chip.c291 int numchips, i; in irq_domain_alloc_generic_chips() local
301 numchips = DIV_ROUND_UP(d->revmap_size, info->irqs_per_chip); in irq_domain_alloc_generic_chips()
302 if (!numchips) in irq_domain_alloc_generic_chips()
307 dgc_sz = struct_size(dgc, gc, numchips); in irq_domain_alloc_generic_chips()
308 sz = dgc_sz + numchips * gc_sz; in irq_domain_alloc_generic_chips()
314 dgc->num_chips = numchips; in irq_domain_alloc_generic_chips()
323 for (i = 0; i < numchips; i++) { in irq_domain_alloc_generic_chips()
/linux/drivers/mtd/lpddr/
H A Dqinfo_probe.c167 lpddr.numchips = 1; in lpddr_probe_chip()
169 numvirtchips = lpddr.numchips * lpddr.qinfo->HWPartsNum; in lpddr_probe_chip()
177 retlpddr->numchips = numvirtchips; in lpddr_probe_chip()
H A Dlpddr_cmds.c41 int numchips; in lpddr_cmdset() local
68 shared = kmalloc_array(lpddr->numchips, sizeof(struct flchip_shared), in lpddr_cmdset()
76 numchips = lpddr->numchips / lpddr->qinfo->HWPartsNum; in lpddr_cmdset()
77 for (i = 0; i < numchips; i++) { in lpddr_cmdset()
552 if (chipnum >= lpddr->numchips) in lpddr_point()
600 if (chipnum >= lpddr->numchips) in lpddr_unpoint()
/linux/drivers/mtd/nand/raw/
H A Ddiskonchip.c1308 int reg, len, numchips; in doc_probe() local
1488 numchips = doc2000_init(mtd); in doc_probe()
1490 numchips = doc2001plus_init(mtd); in doc_probe()
1492 numchips = doc2001_init(mtd); in doc_probe()
1494 ret = nand_scan(nand, numchips); in doc_probe()
/linux/drivers/mtd/maps/
H A Damd76xrom.c258 for(i = 0; i < cfi->numchips; i++) { in amd76xrom_init_one()
H A Dichxrom.c285 for(i = 0; i < cfi->numchips; i++) { in ichxrom_init_one()
H A Dck804xrom.c288 for(i = 0; i < cfi->numchips; i++) in ck804xrom_init_one()
H A Desb2rom.c350 for(i = 0; i < cfi->numchips; i++) in esb2rom_init_one()