Lines Matching defs:offset
767 unsigned long offset = 0;
791 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].offset = (j*devsize)+offset;
795 offset += (ersize * ernum);
797 if (offset != devsize) {
799 printk(KERN_WARNING "Sum of regions (%lx) != total size of set of interleaved chips (%lx)\n", offset, devsize);
1239 /* ofs: offset within the first chip that the first read should start */
1347 /* ofs: offset within the first chip that the first read should start */
2802 loff_t offset;
2832 offset = 0;
2843 if ((offset < ofs) || (offset >= (ofs + len))) {
2852 offset += size;
2855 if (offset == regions[i].offset + size * regions[i].numblocks)
2859 if (offset >= (ofs + len))