Lines Matching refs:bus_ofs
1391 unsigned long bus_ofs = adr & ~(map_bankwidth(map)-1); in do_otp_write() local
1392 int gap = adr - bus_ofs; in do_otp_write()
1398 otp_enter(map, chip, bus_ofs, map_bankwidth(map)); in do_otp_write()
1399 datum = map_read(map, bus_ofs); in do_otp_write()
1400 otp_exit(map, chip, bus_ofs, map_bankwidth(map)); in do_otp_write()
1404 ret = do_write_oneword(map, chip, bus_ofs, datum, FL_OTP_WRITE); in do_otp_write()
1831 unsigned long bus_ofs = ofs & ~(map_bankwidth(map)-1); in cfi_amdstd_write_words() local
1832 int i = ofs - bus_ofs; in cfi_amdstd_write_words()
1851 tmp_buf = map_read(map, bus_ofs+chipstart); in cfi_amdstd_write_words()
1861 bus_ofs, tmp_buf, FL_WRITING); in cfi_amdstd_write_words()
2322 unsigned long bus_ofs = ofs & ~(map_bankwidth(map) - 1); in cfi_amdstd_panic_write() local
2323 int i = ofs - bus_ofs; in cfi_amdstd_panic_write()
2327 ret = cfi_amdstd_panic_wait(map, &cfi->chips[chipnum], bus_ofs); in cfi_amdstd_panic_write()
2332 tmp_buf = map_read(map, bus_ofs + chipstart); in cfi_amdstd_panic_write()
2340 bus_ofs, tmp_buf); in cfi_amdstd_panic_write()