Lines Matching refs:cmd_adr
1279 #define INVAL_CACHE_AND_WAIT(map, chip, cmd_adr, inval_adr, inval_len, usec, usec_max) \ argument
1280 xip_wait_for_operation(map, chip, cmd_adr, usec_max)
1291 unsigned long cmd_adr, unsigned long inval_adr, int inval_len, in inval_cache_and_wait_for_operation() argument
1323 status = map_read(map, cmd_adr); in inval_cache_and_wait_for_operation()
1338 map_write(map, CMD(0x70), cmd_adr); in inval_cache_and_wait_for_operation()
1729 unsigned long cmd_adr; in do_write_buffer() local
1739 cmd_adr = adr & ~(wbufsize-1); in do_write_buffer()
1745 cmd_adr = adr; in do_write_buffer()
1751 ret = get_chip(map, chip, cmd_adr, FL_WRITING); in do_write_buffer()
1759 xip_disable(map, chip, cmd_adr); in do_write_buffer()
1766 map_write(map, CMD(0x70), cmd_adr); in do_write_buffer()
1769 status = map_read(map, cmd_adr); in do_write_buffer()
1771 xip_enable(map, chip, cmd_adr); in do_write_buffer()
1773 xip_disable(map, chip, cmd_adr); in do_write_buffer()
1774 map_write(map, CMD(0x50), cmd_adr); in do_write_buffer()
1775 map_write(map, CMD(0x70), cmd_adr); in do_write_buffer()
1779 map_write(map, write_cmd, cmd_adr); in do_write_buffer()
1780 ret = WAIT_TIMEOUT(map, chip, cmd_adr, 0, 0); in do_write_buffer()
1783 map_word Xstatus = map_read(map, cmd_adr); in do_write_buffer()
1784 map_write(map, CMD(0x70), cmd_adr); in do_write_buffer()
1786 status = map_read(map, cmd_adr); in do_write_buffer()
1787 map_write(map, CMD(0x50), cmd_adr); in do_write_buffer()
1788 map_write(map, CMD(0x70), cmd_adr); in do_write_buffer()
1789 xip_enable(map, chip, cmd_adr); in do_write_buffer()
1807 map_write(map, CMD(words), cmd_adr ); in do_write_buffer()
1844 map_write(map, CMD(0xd0), cmd_adr); in do_write_buffer()
1847 ret = INVAL_CACHE_AND_WAIT(map, chip, cmd_adr, in do_write_buffer()
1852 map_write(map, CMD(0x70), cmd_adr); in do_write_buffer()
1854 xip_enable(map, chip, cmd_adr); in do_write_buffer()
1860 status = map_read(map, cmd_adr); in do_write_buffer()
1865 map_write(map, CMD(0x50), cmd_adr); in do_write_buffer()
1866 map_write(map, CMD(0x70), cmd_adr); in do_write_buffer()
1867 xip_enable(map, chip, cmd_adr); in do_write_buffer()
1882 xip_enable(map, chip, cmd_adr); in do_write_buffer()
1884 put_chip(map, chip, cmd_adr); in do_write_buffer()