Lines Matching refs:chipshift
753 partshift = cfi->chipshift - __ffs(numparts); in cfi_intelext_partition_fixup()
776 newcfi->chipshift = partshift; in cfi_intelext_partition_fixup()
797 newcfi->numchips, 1<<(newcfi->chipshift-10)); in cfi_intelext_partition_fixup()
1398 chipnum = (from >> cfi->chipshift); in cfi_intelext_point()
1399 ofs = from - (chipnum << cfi->chipshift); in cfi_intelext_point()
1417 if ((len + ofs -1) >> cfi->chipshift) in cfi_intelext_point()
1418 thislen = (1<<cfi->chipshift) - ofs; in cfi_intelext_point()
1430 last_end += 1 << cfi->chipshift; in cfi_intelext_point()
1446 chipnum = (from >> cfi->chipshift); in cfi_intelext_unpoint()
1447 ofs = from - (chipnum << cfi->chipshift); in cfi_intelext_unpoint()
1457 if ((len + ofs -1) >> cfi->chipshift) in cfi_intelext_unpoint()
1458 thislen = (1<<cfi->chipshift) - ofs; in cfi_intelext_unpoint()
1524 chipnum = (from >> cfi->chipshift); in cfi_intelext_read()
1525 ofs = from - (chipnum << cfi->chipshift); in cfi_intelext_read()
1533 if ((len + ofs -1) >> cfi->chipshift) in cfi_intelext_read()
1534 thislen = (1<<cfi->chipshift) - ofs; in cfi_intelext_read()
1635 chipnum = to >> cfi->chipshift; in cfi_intelext_write_words()
1636 ofs = to - (chipnum << cfi->chipshift); in cfi_intelext_write_words()
1659 if (ofs >> cfi->chipshift) { in cfi_intelext_write_words()
1680 if (ofs >> cfi->chipshift) { in cfi_intelext_write_words()
1889 chipnum = to >> cfi->chipshift; in cfi_intelext_writev()
1890 ofs = to - (chipnum << cfi->chipshift); in cfi_intelext_writev()
1908 if (ofs >> cfi->chipshift) { in cfi_intelext_writev()
2321 chip_step = devsize >> cfi->chipshift; in cfi_intelext_otp_walk()