Lines Matching refs:datum
863 map_word *datum = expected; in chip_good() local
866 datum = NULL; in chip_good()
868 return chip_ready(map, chip, addr, datum); in chip_good()
1379 unsigned long adr, map_word datum,
1390 map_word datum = map_word_ff(map); in do_otp_write() local
1395 datum = map_read(map, bus_ofs); in do_otp_write()
1399 datum = map_word_load_partial(map, datum, buf, gap, n); in do_otp_write()
1400 ret = do_write_oneword(map, chip, bus_ofs, datum, FL_OTP_WRITE); in do_otp_write()
1642 unsigned long adr, map_word datum, in do_write_oneword_once() argument
1661 map_write(map, datum, adr); in do_write_oneword_once()
1690 !chip_good(map, chip, adr, &datum)) { in do_write_oneword_once()
1698 if (chip_good(map, chip, adr, &datum)) { in do_write_oneword_once()
1747 unsigned long adr, map_word datum, in do_write_oneword_retry() argument
1762 if (map_word_equal(map, oldd, datum)) { in do_write_oneword_retry()
1772 ret = do_write_oneword_once(map, chip, adr, datum, mode, cfi); in do_write_oneword_retry()
1789 unsigned long adr, map_word datum, in do_write_oneword() argument
1797 datum.x[0]); in do_write_oneword()
1803 ret = do_write_oneword_retry(map, chip, adr, datum, mode); in do_write_oneword()
1876 map_word datum; in cfi_amdstd_write_words() local
1878 datum = map_word_load(map, buf); in cfi_amdstd_write_words()
1881 ofs, datum, FL_WRITING); in cfi_amdstd_write_words()
1937 map_word datum) in do_write_buffer_wait() argument
1970 !chip_good(map, chip, adr, &datum)) { in do_write_buffer_wait()
1977 if (chip_good(map, chip, adr, &datum)) { in do_write_buffer_wait()
2023 map_word datum; in do_write_buffer() local
2035 datum = map_word_load(map, buf); in do_write_buffer()
2038 __func__, adr, datum.x[0]); in do_write_buffer()
2058 datum = map_word_load(map, buf); in do_write_buffer()
2059 map_write(map, datum, adr + z); in do_write_buffer()
2076 ret = do_write_buffer_wait(map, chip, adr, datum); in do_write_buffer()
2228 unsigned long adr, map_word datum) in do_panic_write_oneword() argument
2244 __func__, adr, datum.x[0]); in do_panic_write_oneword()
2253 if (map_word_equal(map, oldd, datum)) { in do_panic_write_oneword()
2264 map_write(map, datum, adr); in do_panic_write_oneword()
2273 if (!chip_ready(map, chip, adr, &datum) || in do_panic_write_oneword()
2355 map_word datum; in cfi_amdstd_panic_write() local
2357 datum = map_word_load(map, buf); in cfi_amdstd_panic_write()
2360 ofs, datum); in cfi_amdstd_panic_write()
2415 map_word datum = map_word_ff(map); in do_erase_chip() local
2470 if (chip_ready(map, chip, adr, &datum)) { in do_erase_chip()
2515 map_word datum = map_word_ff(map); in do_erase_oneblock() local
2570 if (chip_ready(map, chip, adr, &datum)) { in do_erase_oneblock()