Searched refs:numchips (Results 1 - 25 of 32) sorted by relevance

12

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/chips/
H A Dgen_probe.c102 cfi.numchips = 1;
139 retcfi = kmalloc(sizeof(struct cfi_private) + cfi.numchips * sizeof(struct flchip), GFP_KERNEL);
149 memset(&retcfi->chips[0], 0, sizeof(struct flchip) * cfi.numchips);
151 for (i = 0, j = 0; (j < cfi.numchips) && (i < max_chips); i++) {
H A Dcfi_cmdset_0020.c154 for (i=0; i< cfi->numchips; i++) {
175 //printk(KERN_DEBUG "number of CFI chips: %d\n", cfi->numchips);
185 mtd->size = devsize * cfi->numchips;
187 mtd->numeraseregions = cfi->cfiq->NumEraseRegions * cfi->numchips;
205 for (j=0; j<cfi->numchips; j++) {
395 if (chipnum >= cfi->numchips)
647 if (chipnum == cfi->numchips)
963 if (chipnum >= cfi->numchips)
983 for (i=0; !ret && i<cfi->numchips; i++) {
1174 if (chipnum >= cfi->numchips)
[all...]
H A Dcfi_cmdset_0001.c497 for (i=0; i< cfi->numchips; i++) {
559 //printk(KERN_DEBUG "number of CFI chips: %d\n", cfi->numchips);
561 mtd->size = devsize * cfi->numchips;
563 mtd->numeraseregions = cfi->cfiq->NumEraseRegions * cfi->numchips;
579 for (j=0; j<cfi->numchips; j++) {
706 numvirtchips = cfi->numchips * numparts;
710 shared = kmalloc(sizeof(struct flchip_shared) * cfi->numchips, GFP_KERNEL);
716 newcfi->numchips = numvirtchips;
720 for (i = 0; i < cfi->numchips; i++) {
737 map->name, cfi->numchips, cf
[all...]
H A Dcfi_probe.c95 if (!cfi->numchips) {
140 cfi->numchips++;
H A Dcfi_cmdset_0002.c489 for (i=0; i< cfi->numchips; i++) {
516 (cfi->cfi_mode == CFI_MODE_CFI)?"CFI":"JEDEC",cfi->numchips);
518 mtd->size = devsize * cfi->numchips;
520 mtd->numeraseregions = cfi->cfiq->NumEraseRegions * cfi->numchips;
536 for (j=0; j<cfi->numchips; j++) {
986 if (chipnum >= cfi->numchips)
1073 if (chipnum >= cfi->numchips)
1265 if (chipnum == cfi->numchips)
1289 if (chipnum == cfi->numchips)
1475 if (chipnum == cfi->numchips)
[all...]
H A Dcfi_util.c242 if (chipnum >= cfi->numchips)
H A Djedec_probe.c2116 if (!cfi->numchips) {
2151 if (!cfi->numchips) {
2225 cfi->numchips++;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/mtd/
H A Dqinfo.h16 * @numchips - number of chips including virual RWW partitions
24 int numchips; member in struct:lpddr_private
H A Ddoc2000.h198 int numchips; member in struct:DiskOnChip
H A Dnand.h362 * @numchips: [INTERN] number of physical chips
410 int numchips; member in struct:nand_chip
H A Dcfi.h290 int numchips; member in struct:cfi_private
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/lpddr/
H A Dqinfo_probe.c184 lpddr.numchips = 1;
186 numvirtchips = lpddr.numchips * lpddr.qinfo->HWPartsNum;
194 retlpddr->numchips = numvirtchips;
H A Dlpddr_cmds.c53 int numchips; local
89 shared = kmalloc(sizeof(struct flchip_shared) * lpddr->numchips,
98 numchips = lpddr->numchips / lpddr->qinfo->HWPartsNum;
99 for (i = 0; i < numchips; i++) {
557 if (chipnum >= lpddr->numchips)
605 if (chipnum >= lpddr->numchips)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/devices/
H A Ddoc2000.c422 int numchips[MAX_FLOORS]; local
425 this->numchips = 0;
432 numchips[floor] = 0;
437 numchips[floor]++;
438 this->numchips++;
444 if (!this->numchips) {
450 this->chips = kmalloc(sizeof(struct Nand) * this->numchips, GFP_KERNEL);
461 for (chip = 0; chip < numchips[floor]; chip++) {
471 this->totlen = this->numchips * (1 << this->chipshift);
474 this->numchips, thi
[all...]
H A Ddoc2001.c233 int numchips[MAX_FLOORS_MIL]; local
236 this->numchips = 0;
242 numchips[floor] = 0;
246 numchips[floor]++;
247 this->numchips++;
252 if (!this->numchips) {
258 this->chips = kmalloc(sizeof(struct Nand) * this->numchips, GFP_KERNEL);
267 for (chip = 0 ; chip < numchips[floor] ; chip++) {
277 this->totlen = this->numchips * (1 << this->chipshift);
279 this->numchips ,thi
[all...]
H A Ddoc2001plus.c342 int numchips[MAX_FLOORS_MPLUS]; local
345 this->numchips = 0;
366 numchips[floor] = 0;
370 numchips[floor]++;
371 this->numchips++;
376 if (!this->numchips) {
382 this->chips = kmalloc(sizeof(struct Nand) * this->numchips, GFP_KERNEL);
391 for (chip = 0 ; chip < numchips[floor] ; chip++) {
401 this->totlen = this->numchips * (1 << this->chipshift);
403 this->numchips ,thi
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/nand/
H A Dnand_bbt.c246 for (i = 0; i < this->numchips; i++) {
450 if (chip >= this->numchips) {
452 chip + 1, this->numchips);
526 chips = this->numchips;
631 nrchips = this->numchips;
831 chips = this->numchips;
942 chips = this->numchips;
H A Ddiskonchip.c1359 if (this->numchips > doc->chips_per_floor) {
1489 int reg, len, numchips; local
1652 numchips = doc2000_init(mtd);
1654 numchips = doc2001plus_init(mtd);
1656 numchips = doc2001_init(mtd);
1658 if ((ret = nand_scan(mtd, numchips))) {
H A Drtc_from4.c571 for (i = 0; i < this->numchips; i++) {
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/47xxnand/
H A Dbrcmnand_bbt.c292 for (i = 0; i < this->numchips; i++) {
487 if (chip >= this->numchips) {
489 chip + 1, this->numchips);
560 chips = this->numchips;
665 nrchips = this->numchips;
865 chips = this->numchips;
976 chips = this->numchips;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/bcm947xx/nand/
H A Dbrcmnand_bbt.c292 for (i = 0; i < this->numchips; i++) {
487 if (chip >= this->numchips) {
489 chip + 1, this->numchips);
560 chips = this->numchips;
665 nrchips = this->numchips;
865 chips = this->numchips;
976 chips = this->numchips;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/maps/
H A Damd76xrom.c258 for(i = 0; i < cfi->numchips; i++) {
H A Dck804xrom.c289 for(i = 0; i < cfi->numchips; i++)
H A Dichxrom.c285 for(i = 0; i < cfi->numchips; i++) {
H A Desb2rom.c351 for(i = 0; i < cfi->numchips; i++)

Completed in 214 milliseconds

12