Home
last modified time | relevance | path

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

/drivers/mtd/chips/
Dgen_probe.c102 cfi.numchips = 1; in genprobe_ident_chips()
138 retcfi = kmalloc(sizeof(struct cfi_private) + cfi.numchips * sizeof(struct flchip), 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.c532 for (i=0; i< cfi->numchips; i++) { in cfi_cmdset_0001()
596 mtd->size = devsize * cfi->numchips; in cfi_intelext_setup()
598 mtd->numeraseregions = cfi->cfiq->NumEraseRegions * cfi->numchips; in cfi_intelext_setup()
612 for (j=0; j<cfi->numchips; j++) { in cfi_intelext_setup()
739 numvirtchips = cfi->numchips * numparts; in cfi_intelext_partition_fixup()
743 shared = kmalloc(sizeof(struct flchip_shared) * cfi->numchips, GFP_KERNEL); in cfi_intelext_partition_fixup()
749 newcfi->numchips = numvirtchips; in cfi_intelext_partition_fixup()
753 for (i = 0; i < cfi->numchips; i++) { in cfi_intelext_partition_fixup()
770 map->name, cfi->numchips, cfi->interleave, in cfi_intelext_partition_fixup()
771 newcfi->numchips, 1<<(newcfi->chipshift-10)); 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()
203 for (j=0; j<cfi->numchips; j++) { in cfi_staa_setup()
397 if (chipnum >= cfi->numchips) in cfi_staa_read()
645 if (chipnum == cfi->numchips) in cfi_staa_write_buffers()
963 if (chipnum >= cfi->numchips) in cfi_staa_erase_varsize()
983 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 …]
Dcfi_cmdset_0002.c644 for (i=0; i< cfi->numchips; i++) { in cfi_cmdset_0002()
688 (cfi->cfi_mode == CFI_MODE_CFI)?"CFI":"JEDEC",cfi->numchips); in cfi_amdstd_setup()
690 mtd->size = devsize * cfi->numchips; in cfi_amdstd_setup()
692 mtd->numeraseregions = cfi->cfiq->NumEraseRegions * cfi->numchips; in cfi_amdstd_setup()
706 for (j=0; j<cfi->numchips; j++) { in cfi_amdstd_setup()
1152 if (chipnum >= cfi->numchips) in cfi_amdstd_read()
1263 if (chipnum >= cfi->numchips) in cfi_amdstd_secsi_read()
1403 for (chipnum = 0; chipnum < cfi->numchips; chipnum++) { in cfi_amdstd_otp_walk()
1723 if (chipnum == cfi->numchips) in cfi_amdstd_write_words()
1747 if (chipnum == cfi->numchips) in cfi_amdstd_write_words()
[all …]
Dcfi_probe.c95 if (!cfi->numchips) { in cfi_probe_chip()
141 cfi->numchips++; in cfi_probe_chip()
Dcfi_util.c241 if (chipnum >= cfi->numchips) in cfi_varsize_frob()
Djedec_probe.c2123 if (!cfi->numchips) { in jedec_probe_chip()
2159 if (!cfi->numchips) { in jedec_probe_chip()
2232 cfi->numchips++; in jedec_probe_chip()
/drivers/mtd/lpddr/
Dqinfo_probe.c181 lpddr.numchips = 1; in lpddr_probe_chip()
183 numvirtchips = lpddr.numchips * lpddr.qinfo->HWPartsNum; in lpddr_probe_chip()
191 retlpddr->numchips = numvirtchips; in lpddr_probe_chip()
Dlpddr_cmds.c54 int numchips; in lpddr_cmdset() local
81 shared = kmalloc(sizeof(struct flchip_shared) * lpddr->numchips, in lpddr_cmdset()
90 numchips = lpddr->numchips / lpddr->qinfo->HWPartsNum; in lpddr_cmdset()
91 for (i = 0; i < numchips; i++) { in lpddr_cmdset()
541 if (chipnum >= lpddr->numchips) in lpddr_point()
589 if (chipnum >= lpddr->numchips) in lpddr_unpoint()
/drivers/mtd/nand/
Dnand_bbt.c274 for (i = 0; i < this->numchips; i++) { in read_abs_bbt()
477 if (chip >= this->numchips) { in create_bbt()
479 chip + 1, this->numchips); in create_bbt()
547 chips = this->numchips; in search_bbt()
647 nrchips = this->numchips; in write_bbt()
851 chips = this->numchips; in check_create()
974 chips = this->numchips; in mark_bbt_region()
Ddiskonchip.c1314 if (this->numchips > doc->chips_per_floor) { in inftl_scan_bbt()
1439 int reg, len, numchips; in doc_probe() local
1605 numchips = doc2000_init(mtd); in doc_probe()
1607 numchips = doc2001plus_init(mtd); in doc_probe()
1609 numchips = doc2001_init(mtd); in doc_probe()
1611 if ((ret = nand_scan(mtd, numchips))) { in doc_probe()
Djz4740_nand.c388 chip->numchips++; in jz_nand_detect_bank()
Ddenali.c1550 denali->mtd.size = denali->nand.numchips * denali->nand.chipsize; in denali_init()
1610 denali->blksperchip = denali->totalblks / denali->nand.numchips; in denali_init()
Dfsl_elbc_nand.c638 chip->numchips); in fsl_elbc_chip_init_tail()
Dfsl_ifc_nand.c788 chip->numchips); in fsl_ifc_chip_init_tail()
Dnand_base.c3830 chip->numchips = i; in nand_scan_ident()
/drivers/mtd/maps/
Damd76xrom.c259 for(i = 0; i < cfi->numchips; i++) { in amd76xrom_init_one()
Dck804xrom.c289 for(i = 0; i < cfi->numchips; i++) in ck804xrom_init_one()
Dichxrom.c284 for(i = 0; i < cfi->numchips; i++) { in ichxrom_init_one()
Desb2rom.c350 for(i = 0; i < cfi->numchips; i++) in esb2rom_init_one()
/drivers/mtd/nand/gpmi-nand/
Dgpmi-lib.c354 if (nand->numchips > 2) { in gpmi_nfc_compute_hardware_timing()
358 } else if (nand->numchips > 1) { in gpmi_nfc_compute_hardware_timing()