Searched refs:numchips (Results 1 – 18 of 18) sorted by relevance
/linux-6.1.9/drivers/mtd/chips/ |
D | gen_probe.c | 102 cfi.numchips = 1; in genprobe_ident_chips() 137 retcfi = kmalloc(struct_size(retcfi, chips, cfi.numchips), GFP_KERNEL); in genprobe_ident_chips() 146 memset(&retcfi->chips[0], 0, sizeof(struct flchip) * cfi.numchips); in genprobe_ident_chips() 148 for (i = 0, j = 0; (j < cfi.numchips) && (i < max_chips); i++) { in genprobe_ident_chips()
|
D | cfi_cmdset_0001.c | 546 for (i=0; i< cfi->numchips; i++) { in cfi_cmdset_0001() 610 mtd->size = devsize * cfi->numchips; in cfi_intelext_setup() 612 mtd->numeraseregions = cfi->cfiq->NumEraseRegions * cfi->numchips; in cfi_intelext_setup() 627 for (j=0; j<cfi->numchips; j++) { in cfi_intelext_setup() 672 for (j=0; j<cfi->numchips; j++) in cfi_intelext_setup() 762 numvirtchips = cfi->numchips * numparts; in cfi_intelext_partition_fixup() 767 shared = kmalloc_array(cfi->numchips, in cfi_intelext_partition_fixup() 775 newcfi->numchips = numvirtchips; in cfi_intelext_partition_fixup() 779 for (i = 0; i < cfi->numchips; i++) { in cfi_intelext_partition_fixup() 796 map->name, cfi->numchips, cfi->interleave, 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() 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 …]
|
D | cfi_cmdset_0002.c | 732 for (i=0; i< cfi->numchips; i++) { in cfi_cmdset_0002() 776 (cfi->cfi_mode == CFI_MODE_CFI)?"CFI":"JEDEC",cfi->numchips); in cfi_amdstd_setup() 778 mtd->size = devsize * cfi->numchips; in cfi_amdstd_setup() 780 mtd->numeraseregions = cfi->cfiq->NumEraseRegions * cfi->numchips; in cfi_amdstd_setup() 795 for (j=0; j<cfi->numchips; j++) { in cfi_amdstd_setup() 1252 if (chipnum >= cfi->numchips) in cfi_amdstd_read() 1361 if (chipnum >= cfi->numchips) in cfi_amdstd_secsi_read() 1501 for (chipnum = 0; chipnum < cfi->numchips; chipnum++) { in cfi_amdstd_otp_walk() 1875 if (chipnum == cfi->numchips) in cfi_amdstd_write_words() 1899 if (chipnum == cfi->numchips) in cfi_amdstd_write_words() [all …]
|
D | cfi_probe.c | 119 if (!cfi->numchips) { in cfi_probe_chip() 165 cfi->numchips++; in cfi_probe_chip()
|
D | cfi_util.c | 435 if (chipnum >= cfi->numchips) in cfi_varsize_frob()
|
D | jedec_probe.c | 2157 if (!cfi->numchips) { in jedec_probe_chip() 2193 if (!cfi->numchips) { in jedec_probe_chip() 2266 cfi->numchips++; in jedec_probe_chip()
|
/linux-6.1.9/kernel/irq/ |
D | generic-chip.c | 294 int numchips, i; in __irq_alloc_domain_generic_chips() local 303 numchips = DIV_ROUND_UP(d->revmap_size, irqs_per_chip); in __irq_alloc_domain_generic_chips() 304 if (!numchips) in __irq_alloc_domain_generic_chips() 309 dgc_sz = struct_size(dgc, gc, numchips); in __irq_alloc_domain_generic_chips() 310 sz = dgc_sz + numchips * gc_sz; in __irq_alloc_domain_generic_chips() 316 dgc->num_chips = numchips; in __irq_alloc_domain_generic_chips() 324 for (i = 0; i < numchips; i++) { in __irq_alloc_domain_generic_chips()
|
/linux-6.1.9/drivers/mtd/lpddr/ |
D | qinfo_probe.c | 167 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()
|
D | lpddr_cmds.c | 41 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()
|
/linux-6.1.9/include/linux/mtd/ |
D | qinfo.h | 25 int numchips; member
|
D | doc2000.h | 198 int numchips; member
|
D | cfi.h | 285 int numchips; member
|
/linux-6.1.9/drivers/mtd/nand/raw/ |
D | diskonchip.c | 1308 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()
|
/linux-6.1.9/drivers/mtd/maps/ |
D | amd76xrom.c | 258 for(i = 0; i < cfi->numchips; i++) { in amd76xrom_init_one()
|
D | ichxrom.c | 285 for(i = 0; i < cfi->numchips; i++) { in ichxrom_init_one()
|
D | ck804xrom.c | 288 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()
|