Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/mtd/chips/
Dgen_probe.c102 cfi.numchips = 1; in genprobe_ident_chips()
138 retcfi = kmalloc(struct_size(retcfi, chips, cfi.numchips), GFP_KERNEL); in genprobe_ident_chips()
147 memset(&retcfi->chips[0], 0, sizeof(struct flchip) * cfi.numchips); in genprobe_ident_chips()
149 for (i = 0, j = 0; (j < cfi.numchips) && (i < max_chips); i++) { in genprobe_ident_chips()
Dcfi_cmdset_0001.c545 for (i=0; i< cfi->numchips; i++) { in cfi_cmdset_0001()
609 mtd->size = devsize * cfi->numchips; in cfi_intelext_setup()
611 mtd->numeraseregions = cfi->cfiq->NumEraseRegions * cfi->numchips; in cfi_intelext_setup()
626 for (j=0; j<cfi->numchips; j++) { in cfi_intelext_setup()
671 for (j=0; j<cfi->numchips; j++) in cfi_intelext_setup()
761 numvirtchips = cfi->numchips * numparts; in cfi_intelext_partition_fixup()
766 shared = kmalloc_array(cfi->numchips, in cfi_intelext_partition_fixup()
774 newcfi->numchips = numvirtchips; in cfi_intelext_partition_fixup()
778 for (i = 0; i < cfi->numchips; i++) { in cfi_intelext_partition_fixup()
795 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.c713 for (i=0; i< cfi->numchips; i++) { in cfi_cmdset_0002()
757 (cfi->cfi_mode == CFI_MODE_CFI)?"CFI":"JEDEC",cfi->numchips); in cfi_amdstd_setup()
759 mtd->size = devsize * cfi->numchips; in cfi_amdstd_setup()
761 mtd->numeraseregions = cfi->cfiq->NumEraseRegions * cfi->numchips; in cfi_amdstd_setup()
776 for (j=0; j<cfi->numchips; j++) { in cfi_amdstd_setup()
1253 if (chipnum >= cfi->numchips) in cfi_amdstd_read()
1362 if (chipnum >= cfi->numchips) in cfi_amdstd_secsi_read()
1502 for (chipnum = 0; chipnum < cfi->numchips; chipnum++) { in cfi_amdstd_otp_walk()
1876 if (chipnum == cfi->numchips) in cfi_amdstd_write_words()
1900 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()
/kernel/linux/linux-5.10/kernel/irq/
Dgeneric-chip.c290 int numchips, sz, i; in __irq_alloc_domain_generic_chips() local
297 numchips = DIV_ROUND_UP(d->revmap_size, irqs_per_chip); in __irq_alloc_domain_generic_chips()
298 if (!numchips) in __irq_alloc_domain_generic_chips()
302 sz = sizeof(*dgc) + numchips * sizeof(gc); in __irq_alloc_domain_generic_chips()
303 sz += numchips * (sizeof(*gc) + num_ct * sizeof(struct irq_chip_type)); in __irq_alloc_domain_generic_chips()
309 dgc->num_chips = numchips; in __irq_alloc_domain_generic_chips()
316 tmp += sizeof(*dgc) + numchips * sizeof(gc); in __irq_alloc_domain_generic_chips()
317 for (i = 0; i < numchips; i++) { in __irq_alloc_domain_generic_chips()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/linux/mtd/
Dqinfo.h25 int numchips; member
Ddoc2000.h198 int numchips; member
Dcfi.h285 int numchips; member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/mtd/maps/
Damd76xrom.c260 for(i = 0; i < cfi->numchips; i++) { in amd76xrom_init_one()
Dichxrom.c287 for(i = 0; i < cfi->numchips; i++) { in ichxrom_init_one()
Dck804xrom.c290 for(i = 0; i < cfi->numchips; i++) in ck804xrom_init_one()
Desb2rom.c351 for(i = 0; i < cfi->numchips; i++) in esb2rom_init_one()
/kernel/linux/patches/linux-5.10/hispark_taurus_patch/
Dhispark_taurus.patch32482 + for (cs = 0; cs < chip->numchips; cs++) {
37462 + for (cs = 0; cs < chip->numchips; cs++) {
/kernel/linux/patches/linux-4.19/hispark_taurus_patch/
Dhispark_taurus.patch323429 + for (cs = 0; cs < chip->numchips; cs++) {
328409 + for (cs = 0; cs < chip->numchips; cs++) {