Home
last modified time | relevance | path

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

/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.c562 for (i=0; i< cfi->numchips; i++) { in cfi_cmdset_0001()
626 mtd->size = devsize * cfi->numchips; in cfi_intelext_setup()
628 mtd->numeraseregions = cfi->cfiq->NumEraseRegions * cfi->numchips; in cfi_intelext_setup()
643 for (j=0; j<cfi->numchips; j++) { in cfi_intelext_setup()
688 for (j=0; j<cfi->numchips; j++) in cfi_intelext_setup()
778 numvirtchips = cfi->numchips * numparts; in cfi_intelext_partition_fixup()
783 shared = kmalloc_array(cfi->numchips, in cfi_intelext_partition_fixup()
791 newcfi->numchips = numvirtchips; in cfi_intelext_partition_fixup()
795 for (i = 0; i < cfi->numchips; i++) { in cfi_intelext_partition_fixup()
812 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.c731 for (i=0; i< cfi->numchips; i++) { in cfi_cmdset_0002()
775 (cfi->cfi_mode == CFI_MODE_CFI)?"CFI":"JEDEC",cfi->numchips); in cfi_amdstd_setup()
777 mtd->size = devsize * cfi->numchips; in cfi_amdstd_setup()
779 mtd->numeraseregions = cfi->cfiq->NumEraseRegions * cfi->numchips; in cfi_amdstd_setup()
794 for (j=0; j<cfi->numchips; j++) { in cfi_amdstd_setup()
1251 if (chipnum >= cfi->numchips) in cfi_amdstd_read()
1360 if (chipnum >= cfi->numchips) in cfi_amdstd_secsi_read()
1500 for (chipnum = 0; chipnum < cfi->numchips; chipnum++) { in cfi_amdstd_otp_walk()
1874 if (chipnum == cfi->numchips) in cfi_amdstd_write_words()
1898 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()
/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()
/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()
/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()