Lines Matching refs:chipshift
387 chipnum = (from >> cfi->chipshift);
388 ofs = from - (chipnum << cfi->chipshift);
398 if ((len + ofs -1) >> cfi->chipshift)
399 thislen = (1<<cfi->chipshift) - ofs;
617 chipnum = to >> cfi->chipshift;
618 ofs = to - (chipnum << cfi->chipshift);
644 if (ofs >> cfi->chipshift) {
941 chipnum = instr->addr >> cfi->chipshift;
942 adr = instr->addr - (chipnum << cfi->chipshift);
956 if (adr % (1<< cfi->chipshift) == (((unsigned long)regions[i].offset + (regions[i].erasesize * regions[i].numblocks)) %( 1<< cfi->chipshift)))
959 if (adr >> cfi->chipshift) {
1145 chipnum = ofs >> cfi->chipshift;
1146 adr = ofs - (chipnum << cfi->chipshift);
1170 if (adr >> cfi->chipshift) {
1284 chipnum = ofs >> cfi->chipshift;
1285 adr = ofs - (chipnum << cfi->chipshift);