Lines Matching refs:cmd_adr
1261 #define INVAL_CACHE_AND_WAIT(map, chip, cmd_adr, inval_adr, inval_len, usec, usec_max) \ argument
1262 xip_wait_for_operation(map, chip, cmd_adr, usec_max)
1273 unsigned long cmd_adr, unsigned long inval_adr, int inval_len, in inval_cache_and_wait_for_operation() argument
1305 status = map_read(map, cmd_adr); in inval_cache_and_wait_for_operation()
1320 map_write(map, CMD(0x70), cmd_adr); in inval_cache_and_wait_for_operation()
1711 unsigned long cmd_adr; in do_write_buffer() local
1721 cmd_adr = adr & ~(wbufsize-1); in do_write_buffer()
1727 cmd_adr = adr; in do_write_buffer()
1733 ret = get_chip(map, chip, cmd_adr, FL_WRITING); in do_write_buffer()
1741 xip_disable(map, chip, cmd_adr); in do_write_buffer()
1748 map_write(map, CMD(0x70), cmd_adr); in do_write_buffer()
1751 status = map_read(map, cmd_adr); in do_write_buffer()
1753 xip_enable(map, chip, cmd_adr); in do_write_buffer()
1755 xip_disable(map, chip, cmd_adr); in do_write_buffer()
1756 map_write(map, CMD(0x50), cmd_adr); in do_write_buffer()
1757 map_write(map, CMD(0x70), cmd_adr); in do_write_buffer()
1761 map_write(map, write_cmd, cmd_adr); in do_write_buffer()
1762 ret = WAIT_TIMEOUT(map, chip, cmd_adr, 0, 0); in do_write_buffer()
1765 map_word Xstatus = map_read(map, cmd_adr); in do_write_buffer()
1766 map_write(map, CMD(0x70), cmd_adr); in do_write_buffer()
1768 status = map_read(map, cmd_adr); in do_write_buffer()
1769 map_write(map, CMD(0x50), cmd_adr); in do_write_buffer()
1770 map_write(map, CMD(0x70), cmd_adr); in do_write_buffer()
1771 xip_enable(map, chip, cmd_adr); in do_write_buffer()
1789 map_write(map, CMD(words), cmd_adr ); in do_write_buffer()
1826 map_write(map, CMD(0xd0), cmd_adr); in do_write_buffer()
1829 ret = INVAL_CACHE_AND_WAIT(map, chip, cmd_adr, in do_write_buffer()
1834 map_write(map, CMD(0x70), cmd_adr); in do_write_buffer()
1836 xip_enable(map, chip, cmd_adr); in do_write_buffer()
1842 status = map_read(map, cmd_adr); in do_write_buffer()
1847 map_write(map, CMD(0x50), cmd_adr); in do_write_buffer()
1848 map_write(map, CMD(0x70), cmd_adr); in do_write_buffer()
1849 xip_enable(map, chip, cmd_adr); in do_write_buffer()
1864 xip_enable(map, chip, cmd_adr); in do_write_buffer()
1866 put_chip(map, chip, cmd_adr); in do_write_buffer()