/linux-3.4.99/drivers/mtd/chips/ |
D | gen_probe.c | 102 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()
|
D | cfi_cmdset_0002.c | 536 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 …]
|
D | cfi_cmdset_0020.c | 155 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 …]
|
D | cfi_cmdset_0001.c | 498 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 …]
|
D | cfi_probe.c | 95 if (!cfi->numchips) { in cfi_probe_chip() 141 cfi->numchips++; in cfi_probe_chip()
|
D | cfi_util.c | 243 if (chipnum >= cfi->numchips) in cfi_varsize_frob()
|
D | jedec_probe.c | 2122 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/ |
D | doc2001.c | 235 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()
|
D | doc2001plus.c | 343 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()
|
D | doc2000.c | 421 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/ |
D | qinfo_probe.c | 184 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()
|
D | lpddr_cmds.c | 54 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/ |
D | qinfo.h | 24 int numchips; member
|
D | doc2000.h | 198 int numchips; member
|
D | nand.h | 515 int numchips; member
|
D | cfi.h | 292 int numchips; member
|
/linux-3.4.99/drivers/mtd/nand/ |
D | nand_bbt.c | 272 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()
|
D | diskonchip.c | 1377 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()
|
D | rtc_from4.c | 571 for (i = 0; i < this->numchips; i++) { in rtc_from4_init()
|
D | denali.c | 1568 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/ |
D | gpmi-lib.c | 295 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/ |
D | amd76xrom.c | 259 for(i = 0; i < cfi->numchips; i++) { in amd76xrom_init_one()
|
D | ichxrom.c | 284 for(i = 0; i < cfi->numchips; i++) { in ichxrom_init_one()
|
D | ck804xrom.c | 289 for(i = 0; i < cfi->numchips; i++) in ck804xrom_init_one()
|
D | esb2rom.c | 350 for(i = 0; i < cfi->numchips; i++) in esb2rom_init_one()
|