Searched refs:cmd_adr (Results 1 – 3 of 3) sorted by relevance
/drivers/mtd/chips/ |
D | cfi_cmdset_0001.c | 1258 #define INVAL_CACHE_AND_WAIT(map, chip, cmd_adr, inval_adr, inval_len, usec, usec_max) \ argument 1259 xip_wait_for_operation(map, chip, cmd_adr, usec_max) 1270 unsigned long cmd_adr, unsigned long inval_adr, int inval_len, in inval_cache_and_wait_for_operation() argument 1302 status = map_read(map, cmd_adr); in inval_cache_and_wait_for_operation() 1317 map_write(map, CMD(0x70), cmd_adr); in inval_cache_and_wait_for_operation() 1708 unsigned long cmd_adr; in do_write_buffer() local 1718 cmd_adr = adr & ~(wbufsize-1); in do_write_buffer() 1724 cmd_adr = adr; in do_write_buffer() 1730 ret = get_chip(map, chip, cmd_adr, FL_WRITING); in do_write_buffer() 1738 xip_disable(map, chip, cmd_adr); in do_write_buffer() [all …]
|
D | cfi_cmdset_0020.c | 426 unsigned long cmd_adr, timeo; in do_write_buffer() local 436 cmd_adr = adr & ~(wbufsize-1); in do_write_buffer() 460 map_write(map, CMD(0x70), cmd_adr); in do_write_buffer() 463 printk("%s: 1 status[%x]\n", __func__, map_read(map, cmd_adr)); in do_write_buffer() 468 status = map_read(map, cmd_adr); in do_write_buffer() 475 status.x[0], map_read(map, cmd_adr).x[0]); in do_write_buffer() 497 map_write(map, CMD(0xe8), cmd_adr); in do_write_buffer() 502 status = map_read(map, cmd_adr); in do_write_buffer() 513 map_write(map, CMD(0x70), cmd_adr); in do_write_buffer() 522 map_write(map, CMD(len/map_bankwidth(map)-1), cmd_adr ); in do_write_buffer() [all …]
|
D | cfi_cmdset_0002.c | 2030 unsigned long cmd_adr; in do_write_buffer() local 2035 cmd_adr = adr; in do_write_buffer() 2051 xip_disable(map, chip, cmd_adr); in do_write_buffer() 2057 map_write(map, CMD(0x25), cmd_adr); in do_write_buffer() 2063 map_write(map, CMD(words - 1), cmd_adr); in do_write_buffer() 2078 map_write(map, CMD(0x29), cmd_adr); in do_write_buffer()
|