Searched refs:numchips (Results 1 – 21 of 21) sorted by relevance
/drivers/mtd/chips/ |
D | gen_probe.c | 102 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()
|
D | cfi_cmdset_0001.c | 532 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 …]
|
D | cfi_cmdset_0020.c | 154 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 …]
|
D | cfi_cmdset_0002.c | 644 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 …]
|
D | cfi_probe.c | 95 if (!cfi->numchips) { in cfi_probe_chip() 141 cfi->numchips++; in cfi_probe_chip()
|
D | cfi_util.c | 241 if (chipnum >= cfi->numchips) in cfi_varsize_frob()
|
D | jedec_probe.c | 2123 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/ |
D | qinfo_probe.c | 181 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()
|
D | lpddr_cmds.c | 54 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/ |
D | nand_bbt.c | 274 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()
|
D | diskonchip.c | 1314 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()
|
D | jz4740_nand.c | 388 chip->numchips++; in jz_nand_detect_bank()
|
D | denali.c | 1550 denali->mtd.size = denali->nand.numchips * denali->nand.chipsize; in denali_init() 1610 denali->blksperchip = denali->totalblks / denali->nand.numchips; in denali_init()
|
D | fsl_elbc_nand.c | 638 chip->numchips); in fsl_elbc_chip_init_tail()
|
D | fsl_ifc_nand.c | 788 chip->numchips); in fsl_ifc_chip_init_tail()
|
D | nand_base.c | 3830 chip->numchips = i; in nand_scan_ident()
|
/drivers/mtd/maps/ |
D | amd76xrom.c | 259 for(i = 0; i < cfi->numchips; i++) { in amd76xrom_init_one()
|
D | ck804xrom.c | 289 for(i = 0; i < cfi->numchips; i++) in ck804xrom_init_one()
|
D | ichxrom.c | 284 for(i = 0; i < cfi->numchips; i++) { in ichxrom_init_one()
|
D | esb2rom.c | 350 for(i = 0; i < cfi->numchips; i++) in esb2rom_init_one()
|
/drivers/mtd/nand/gpmi-nand/ |
D | gpmi-lib.c | 354 if (nand->numchips > 2) { in gpmi_nfc_compute_hardware_timing() 358 } else if (nand->numchips > 1) { in gpmi_nfc_compute_hardware_timing()
|