Home
last modified time | relevance | path

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

12

/linux-3.4.99/drivers/mtd/chips/
Dgen_probe.c102 cfi.numchips = 1; in genprobe_ident_chips()
139 retcfi = kmalloc(sizeof(struct cfi_private) + cfi.numchips * sizeof(struct flchip), GFP_KERNEL); in genprobe_ident_chips()
149 memset(&retcfi->chips[0], 0, sizeof(struct flchip) * cfi.numchips); in genprobe_ident_chips()
151 for (i = 0, j = 0; (j < cfi.numchips) && (i < max_chips); i++) { in genprobe_ident_chips()
Dcfi_cmdset_0002.c536 for (i=0; i< cfi->numchips; i++) { in cfi_cmdset_0002()
563 (cfi->cfi_mode == CFI_MODE_CFI)?"CFI":"JEDEC",cfi->numchips); in cfi_amdstd_setup()
565 mtd->size = devsize * cfi->numchips; in cfi_amdstd_setup()
567 mtd->numeraseregions = cfi->cfiq->NumEraseRegions * cfi->numchips; in cfi_amdstd_setup()
583 for (j=0; j<cfi->numchips; j++) { in cfi_amdstd_setup()
1024 if (chipnum >= cfi->numchips) in cfi_amdstd_read()
1106 if (chipnum >= cfi->numchips) in cfi_amdstd_secsi_read()
1296 if (chipnum == cfi->numchips) in cfi_amdstd_write_words()
1320 if (chipnum == cfi->numchips) in cfi_amdstd_write_words()
1506 if (chipnum == cfi->numchips) in cfi_amdstd_write_buffers()
[all …]
Dcfi_cmdset_0020.c155 for (i=0; i< cfi->numchips; i++) { in cfi_cmdset_0020()
186 mtd->size = devsize * cfi->numchips; in cfi_staa_setup()
188 mtd->numeraseregions = cfi->cfiq->NumEraseRegions * cfi->numchips; in cfi_staa_setup()
206 for (j=0; j<cfi->numchips; j++) { in cfi_staa_setup()
400 if (chipnum >= cfi->numchips) in cfi_staa_read()
648 if (chipnum == cfi->numchips) in cfi_staa_write_buffers()
966 if (chipnum >= cfi->numchips) in cfi_staa_erase_varsize()
986 for (i=0; !ret && i<cfi->numchips; i++) { in cfi_staa_sync()
1175 if (chipnum >= cfi->numchips) in cfi_staa_lock()
1323 for (i=0; !ret && i<cfi->numchips; i++) { in cfi_staa_suspend()
[all …]
Dcfi_cmdset_0001.c498 for (i=0; i< cfi->numchips; i++) { in cfi_cmdset_0001()
562 mtd->size = devsize * cfi->numchips; in cfi_intelext_setup()
564 mtd->numeraseregions = cfi->cfiq->NumEraseRegions * cfi->numchips; in cfi_intelext_setup()
580 for (j=0; j<cfi->numchips; j++) { in cfi_intelext_setup()
707 numvirtchips = cfi->numchips * numparts; in cfi_intelext_partition_fixup()
711 shared = kmalloc(sizeof(struct flchip_shared) * cfi->numchips, GFP_KERNEL); in cfi_intelext_partition_fixup()
717 newcfi->numchips = numvirtchips; in cfi_intelext_partition_fixup()
721 for (i = 0; i < cfi->numchips; i++) { in cfi_intelext_partition_fixup()
738 map->name, cfi->numchips, cfi->interleave, in cfi_intelext_partition_fixup()
739 newcfi->numchips, 1<<(newcfi->chipshift-10)); in cfi_intelext_partition_fixup()
[all …]
Dcfi_probe.c95 if (!cfi->numchips) { in cfi_probe_chip()
141 cfi->numchips++; in cfi_probe_chip()
Dcfi_util.c243 if (chipnum >= cfi->numchips) in cfi_varsize_frob()
Djedec_probe.c2122 if (!cfi->numchips) { in jedec_probe_chip()
2158 if (!cfi->numchips) { in jedec_probe_chip()
2231 cfi->numchips++; in jedec_probe_chip()
/linux-3.4.99/drivers/mtd/devices/
Ddoc2001.c235 int numchips[MAX_FLOORS_MIL]; in DoC_ScanChips() local
238 this->numchips = 0; in DoC_ScanChips()
244 numchips[floor] = 0; in DoC_ScanChips()
248 numchips[floor]++; in DoC_ScanChips()
249 this->numchips++; in DoC_ScanChips()
254 if (!this->numchips) { in DoC_ScanChips()
260 this->chips = kmalloc(sizeof(struct Nand) * this->numchips, GFP_KERNEL); in DoC_ScanChips()
269 for (chip = 0 ; chip < numchips[floor] ; chip++) { in DoC_ScanChips()
279 this->totlen = this->numchips * (1 << this->chipshift); in DoC_ScanChips()
281 this->numchips ,this->totlen >> 20); in DoC_ScanChips()
Ddoc2001plus.c343 int numchips[MAX_FLOORS_MPLUS]; in DoC_ScanChips() local
346 this->numchips = 0; in DoC_ScanChips()
367 numchips[floor] = 0; in DoC_ScanChips()
371 numchips[floor]++; in DoC_ScanChips()
372 this->numchips++; in DoC_ScanChips()
377 if (!this->numchips) { in DoC_ScanChips()
383 this->chips = kmalloc(sizeof(struct Nand) * this->numchips, GFP_KERNEL); in DoC_ScanChips()
392 for (chip = 0 ; chip < numchips[floor] ; chip++) { in DoC_ScanChips()
402 this->totlen = this->numchips * (1 << this->chipshift); in DoC_ScanChips()
404 this->numchips ,this->totlen >> 20); in DoC_ScanChips()
Ddoc2000.c421 int numchips[MAX_FLOORS]; in DoC_ScanChips() local
424 this->numchips = 0; in DoC_ScanChips()
431 numchips[floor] = 0; in DoC_ScanChips()
436 numchips[floor]++; in DoC_ScanChips()
437 this->numchips++; in DoC_ScanChips()
443 if (!this->numchips) { in DoC_ScanChips()
449 this->chips = kmalloc(sizeof(struct Nand) * this->numchips, GFP_KERNEL); in DoC_ScanChips()
460 for (chip = 0; chip < numchips[floor]; chip++) { in DoC_ScanChips()
470 this->totlen = this->numchips * (1 << this->chipshift); in DoC_ScanChips()
473 this->numchips, this->totlen >> 20); in DoC_ScanChips()
/linux-3.4.99/drivers/mtd/lpddr/
Dqinfo_probe.c184 lpddr.numchips = 1; in lpddr_probe_chip()
186 numvirtchips = lpddr.numchips * lpddr.qinfo->HWPartsNum; in lpddr_probe_chip()
194 retlpddr->numchips = numvirtchips; in lpddr_probe_chip()
Dlpddr_cmds.c54 int numchips; in lpddr_cmdset() local
83 shared = kmalloc(sizeof(struct flchip_shared) * lpddr->numchips, in lpddr_cmdset()
92 numchips = lpddr->numchips / lpddr->qinfo->HWPartsNum; in lpddr_cmdset()
93 for (i = 0; i < numchips; i++) { in lpddr_cmdset()
543 if (chipnum >= lpddr->numchips) in lpddr_point()
591 if (chipnum >= lpddr->numchips) in lpddr_unpoint()
/linux-3.4.99/include/linux/mtd/
Dqinfo.h24 int numchips; member
Ddoc2000.h198 int numchips; member
Dnand.h515 int numchips; member
Dcfi.h292 int numchips; member
/linux-3.4.99/drivers/mtd/nand/
Dnand_bbt.c272 for (i = 0; i < this->numchips; i++) { in read_abs_bbt()
499 if (chip >= this->numchips) { in create_bbt()
501 chip + 1, this->numchips); in create_bbt()
575 chips = this->numchips; in search_bbt()
679 nrchips = this->numchips; in write_bbt()
893 chips = this->numchips; in check_create()
1016 chips = this->numchips; in mark_bbt_region()
Ddiskonchip.c1377 if (this->numchips > doc->chips_per_floor) { in inftl_scan_bbt()
1505 int reg, len, numchips; in doc_probe() local
1669 numchips = doc2000_init(mtd); in doc_probe()
1671 numchips = doc2001plus_init(mtd); in doc_probe()
1673 numchips = doc2001_init(mtd); in doc_probe()
1675 if ((ret = nand_scan(mtd, numchips))) { in doc_probe()
Drtc_from4.c571 for (i = 0; i < this->numchips; i++) { in rtc_from4_init()
Ddenali.c1568 denali->mtd.size = denali->nand.numchips * denali->nand.chipsize; in denali_pci_probe()
1627 denali->blksperchip = denali->totalblks / denali->nand.numchips; in denali_pci_probe()
/linux-3.4.99/drivers/mtd/nand/gpmi-nand/
Dgpmi-lib.c295 if (nand->numchips > 2) { in gpmi_nfc_compute_hardware_timing()
299 } else if (nand->numchips > 1) { in gpmi_nfc_compute_hardware_timing()
/linux-3.4.99/drivers/mtd/maps/
Damd76xrom.c259 for(i = 0; i < cfi->numchips; i++) { in amd76xrom_init_one()
Dichxrom.c284 for(i = 0; i < cfi->numchips; i++) { in ichxrom_init_one()
Dck804xrom.c289 for(i = 0; i < cfi->numchips; i++) in ck804xrom_init_one()
Desb2rom.c350 for(i = 0; i < cfi->numchips; i++) in esb2rom_init_one()

12