Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/mtd/chips/
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()
Dcfi_cmdset_0001.c546 for (i=0; i< cfi->numchips; i++) { in cfi_cmdset_0001()
610 mtd->size = devsize * cfi->numchips; in cfi_intelext_setup()
612 mtd->numeraseregions = cfi->cfiq->NumEraseRegions * cfi->numchips; in cfi_intelext_setup()
627 for (j=0; j<cfi->numchips; j++) { in cfi_intelext_setup()
672 for (j=0; j<cfi->numchips; j++) in cfi_intelext_setup()
762 numvirtchips = cfi->numchips * numparts; in cfi_intelext_partition_fixup()
767 shared = kmalloc_array(cfi->numchips, in cfi_intelext_partition_fixup()
775 newcfi->numchips = numvirtchips; in cfi_intelext_partition_fixup()
779 for (i = 0; i < cfi->numchips; i++) { in cfi_intelext_partition_fixup()
796 map->name, cfi->numchips, cfi->interleave, in cfi_intelext_partition_fixup()
[all …]
Dcfi_cmdset_0020.c154 for (i=0; i< cfi->numchips; i++) { in cfi_cmdset_0020()
184 mtd->size = devsize * cfi->numchips; in cfi_staa_setup()
186 mtd->numeraseregions = cfi->cfiq->NumEraseRegions * cfi->numchips; in cfi_staa_setup()
204 for (j=0; j<cfi->numchips; j++) { in cfi_staa_setup()
398 if (chipnum >= cfi->numchips) in cfi_staa_read()
646 if (chipnum == cfi->numchips) in cfi_staa_write_buffers()
964 if (chipnum >= cfi->numchips) in cfi_staa_erase_varsize()
981 for (i=0; !ret && i<cfi->numchips; i++) { in cfi_staa_sync()
1171 if (chipnum >= cfi->numchips) in cfi_staa_lock()
1319 for (i=0; !ret && i<cfi->numchips; i++) { in cfi_staa_suspend()
[all …]
Dcfi_cmdset_0002.c732 for (i=0; i< cfi->numchips; i++) { in cfi_cmdset_0002()
776 (cfi->cfi_mode == CFI_MODE_CFI)?"CFI":"JEDEC",cfi->numchips); in cfi_amdstd_setup()
778 mtd->size = devsize * cfi->numchips; in cfi_amdstd_setup()
780 mtd->numeraseregions = cfi->cfiq->NumEraseRegions * cfi->numchips; in cfi_amdstd_setup()
795 for (j=0; j<cfi->numchips; j++) { in cfi_amdstd_setup()
1252 if (chipnum >= cfi->numchips) in cfi_amdstd_read()
1361 if (chipnum >= cfi->numchips) in cfi_amdstd_secsi_read()
1501 for (chipnum = 0; chipnum < cfi->numchips; chipnum++) { in cfi_amdstd_otp_walk()
1875 if (chipnum == cfi->numchips) in cfi_amdstd_write_words()
1899 if (chipnum == cfi->numchips) in cfi_amdstd_write_words()
[all …]
Dcfi_probe.c119 if (!cfi->numchips) { in cfi_probe_chip()
165 cfi->numchips++; in cfi_probe_chip()
Dcfi_util.c435 if (chipnum >= cfi->numchips) in cfi_varsize_frob()
Djedec_probe.c2157 if (!cfi->numchips) { in jedec_probe_chip()
2193 if (!cfi->numchips) { in jedec_probe_chip()
2266 cfi->numchips++; in jedec_probe_chip()
/linux-6.1.9/kernel/irq/
Dgeneric-chip.c294 int numchips, i; in __irq_alloc_domain_generic_chips() local
303 numchips = DIV_ROUND_UP(d->revmap_size, irqs_per_chip); in __irq_alloc_domain_generic_chips()
304 if (!numchips) in __irq_alloc_domain_generic_chips()
309 dgc_sz = struct_size(dgc, gc, numchips); in __irq_alloc_domain_generic_chips()
310 sz = dgc_sz + numchips * gc_sz; in __irq_alloc_domain_generic_chips()
316 dgc->num_chips = numchips; in __irq_alloc_domain_generic_chips()
324 for (i = 0; i < numchips; i++) { in __irq_alloc_domain_generic_chips()
/linux-6.1.9/drivers/mtd/lpddr/
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()
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()
555 if (chipnum >= lpddr->numchips) in lpddr_point()
603 if (chipnum >= lpddr->numchips) in lpddr_unpoint()
/linux-6.1.9/include/linux/mtd/
Dqinfo.h25 int numchips; member
Ddoc2000.h198 int numchips; member
Dcfi.h285 int numchips; member
/linux-6.1.9/drivers/mtd/nand/raw/
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 if ((ret = nand_scan(nand, numchips)) || (ret = doc->late_init(mtd))) { in doc_probe()
/linux-6.1.9/drivers/mtd/maps/
Damd76xrom.c258 for(i = 0; i < cfi->numchips; i++) { in amd76xrom_init_one()
Dichxrom.c285 for(i = 0; i < cfi->numchips; i++) { in ichxrom_init_one()
Dck804xrom.c288 for(i = 0; i < cfi->numchips; i++) in ck804xrom_init_one()
Desb2rom.c350 for(i = 0; i < cfi->numchips; i++) in esb2rom_init_one()