Lines Matching refs:chipshift
404 chipnum = (from >> cfi->chipshift);
405 ofs = from - (chipnum << cfi->chipshift);
415 if ((len + ofs -1) >> cfi->chipshift)
416 thislen = (1<<cfi->chipshift) - ofs;
576 chipnum = to >> cfi->chipshift;
577 ofs = to - (chipnum << cfi->chipshift);
611 if (ofs >> cfi->chipshift) {
642 if (ofs >> cfi->chipshift) {
865 chipnum = to >> cfi->chipshift;
866 ofs = to - (chipnum << cfi->chipshift);
881 if (ofs >> cfi->chipshift) {
906 if (ofs >> cfi->chipshift) {
917 ret = cfi_intelext_write_words(mtd, ofs + (chipnum << cfi->chipshift),
1139 chipnum = instr->addr >> cfi->chipshift;
1140 adr = instr->addr - (chipnum << cfi->chipshift);
1154 if (adr % (1<< cfi->chipshift) == ((regions[i].offset + (regions[i].erasesize * regions[i].numblocks)) %( 1<< cfi->chipshift)))
1157 if (adr >> cfi->chipshift) {
1347 chipnum = ofs >> cfi->chipshift;
1348 adr = ofs - (chipnum << cfi->chipshift);
1372 if (adr >> cfi->chipshift) {
1538 chipnum = ofs >> cfi->chipshift;
1539 adr = ofs - (chipnum << cfi->chipshift);
1564 if (adr % (1<< cfi->chipshift) == ((regions[i].offset + (regions[i].erasesize * regions[i].numblocks)) %( 1<< cfi->chipshift)))
1567 if (adr >> cfi->chipshift) {