Searched refs:bus_ofs (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/mtd/chips/ |
H A D | cfi_cmdset_0002.c | 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() 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() 2323 int i = ofs - bus_ofs; in cfi_amdstd_panic_write() 2332 tmp_buf = map_read(map, bus_ofs + chipstart); in cfi_amdstd_panic_write() [all …]
|
H A D | cfi_cmdset_0001.c | 1657 unsigned long bus_ofs = ofs & ~(map_bankwidth(map)-1); in cfi_intelext_write_words() local 1658 int gap = ofs - bus_ofs; in cfi_intelext_write_words() 1667 bus_ofs, datum, FL_WRITING); in cfi_intelext_write_words() 2282 unsigned long bus_ofs = offset & ~(map_bankwidth(map)-1); in do_otp_write() local 2283 int gap = offset - bus_ofs; in do_otp_write() 2288 ret = do_write_oneword(map, chip, bus_ofs, datum, FL_OTP_WRITE); in do_otp_write()
|