Lines Matching refs:cmd_adr
1263 #define INVAL_CACHE_AND_WAIT(map, chip, cmd_adr, inval_adr, inval_len, usec, usec_max) \ argument
1264 xip_wait_for_operation(map, chip, cmd_adr, usec_max)
1275 unsigned long cmd_adr, unsigned long inval_adr, int inval_len, in inval_cache_and_wait_for_operation() argument
1307 status = map_read(map, cmd_adr); in inval_cache_and_wait_for_operation()
1322 map_write(map, CMD(0x70), cmd_adr); in inval_cache_and_wait_for_operation()
1713 unsigned long cmd_adr; in do_write_buffer() local
1723 cmd_adr = adr & ~(wbufsize-1); in do_write_buffer()
1729 cmd_adr = adr; in do_write_buffer()
1735 ret = get_chip(map, chip, cmd_adr, FL_WRITING); in do_write_buffer()
1743 xip_disable(map, chip, cmd_adr); in do_write_buffer()
1750 map_write(map, CMD(0x70), cmd_adr); in do_write_buffer()
1753 status = map_read(map, cmd_adr); in do_write_buffer()
1755 xip_enable(map, chip, cmd_adr); in do_write_buffer()
1757 xip_disable(map, chip, cmd_adr); in do_write_buffer()
1758 map_write(map, CMD(0x50), cmd_adr); in do_write_buffer()
1759 map_write(map, CMD(0x70), cmd_adr); in do_write_buffer()
1763 map_write(map, write_cmd, cmd_adr); in do_write_buffer()
1764 ret = WAIT_TIMEOUT(map, chip, cmd_adr, 0, 0); in do_write_buffer()
1767 map_word Xstatus = map_read(map, cmd_adr); in do_write_buffer()
1768 map_write(map, CMD(0x70), cmd_adr); in do_write_buffer()
1770 status = map_read(map, cmd_adr); in do_write_buffer()
1771 map_write(map, CMD(0x50), cmd_adr); in do_write_buffer()
1772 map_write(map, CMD(0x70), cmd_adr); in do_write_buffer()
1773 xip_enable(map, chip, cmd_adr); in do_write_buffer()
1791 map_write(map, CMD(words), cmd_adr ); in do_write_buffer()
1828 map_write(map, CMD(0xd0), cmd_adr); in do_write_buffer()
1831 ret = INVAL_CACHE_AND_WAIT(map, chip, cmd_adr, in do_write_buffer()
1836 map_write(map, CMD(0x70), cmd_adr); in do_write_buffer()
1838 xip_enable(map, chip, cmd_adr); in do_write_buffer()
1844 status = map_read(map, cmd_adr); in do_write_buffer()
1849 map_write(map, CMD(0x50), cmd_adr); in do_write_buffer()
1850 map_write(map, CMD(0x70), cmd_adr); in do_write_buffer()
1851 xip_enable(map, chip, cmd_adr); in do_write_buffer()
1866 xip_enable(map, chip, cmd_adr); in do_write_buffer()
1868 put_chip(map, chip, cmd_adr); in do_write_buffer()