cfi_send_command() is only used within OpenOCD.
 
Symbols
loading...
Files
loading...

cfi_send_command() function

Syntax

int cfi_send_command(struct flash_bank *bank,     uint8_t cmd,     uint32_t address);
Implemented in cfi.c:162

Arguments

bank

cmd

address

References

LocationReferrerText
cfi.c:162
int cfi_send_command(struct flash_bank *bank, uint8_t cmd, uint32_t address)
cfi.h:157
int cfi_send_command(struct flash_bank *bank, uint8_t cmd, uint32_t address);
cfi.c:287cfi_reset()
retval = cfi_send_command(bank, 0xf0, cfi_flash_address(bank, 0, 0x0));
cfi.c:291cfi_reset()
retval = cfi_send_command(bank, 0xff, cfi_flash_address(bank, 0, 0x0));
cfi.c:299cfi_reset()
retval = cfi_send_command(bank, 0xf0, cfi_flash_address(bank, 0, 0x00));
cfi.c:309cfi_intel_clear_status_register()
cfi_send_command(bank, 0x50, cfi_flash_address(bank, 0, 0x0));
cfi.c:536cfi_read_spansion_pri_ext()
retval = cfi_send_command(bank, 0xf0, cfi_flash_address(bank, 0, 0x0));
cfi.c:642cfi_read_atmel_pri_ext()
retval = cfi_send_command(bank, 0xf0, cfi_flash_address(bank, 0, 0x0));
cfi.c:849cfi_intel_erase()
retval = cfi_send_command(bank, 0x20, cfi_flash_address(bank, i, 0x0));
cfi.c:853cfi_intel_erase()
retval = cfi_send_command(bank, 0xd0, cfi_flash_address(bank, i, 0x0));
cfi.c:863cfi_intel_erase()
retval = cfi_send_command(bank, 0xff, cfi_flash_address(bank, 0, 0x0));
cfi.c:873cfi_intel_erase()
return cfi_send_command(bank, 0xff, cfi_flash_address(bank, 0, 0x0));
cfi.c:882cfi_spansion_unlock_seq()
retval = cfi_send_command(bank, 0xaa, cfi_flash_address(bank, 0, pri_ext->_unlock1));
cfi.c:886cfi_spansion_unlock_seq()
retval = cfi_send_command(bank, 0x55, cfi_flash_address(bank, 0, pri_ext->_unlock2));
cfi.c:905cfi_spansion_erase()
retval = cfi_send_command(bank, 0x80, cfi_flash_address(bank, 0, pri_ext->_unlock1));
cfi.c:913cfi_spansion_erase()
retval = cfi_send_command(bank, 0x30, cfi_flash_address(bank, i, 0x0));
cfi.c:918cfi_spansion_erase()
retval = cfi_send_command(bank, 0xf0, cfi_flash_address(bank, 0, 0x0));
cfi.c:928cfi_spansion_erase()
return cfi_send_command(bank, 0xf0, cfi_flash_address(bank, 0, 0x0));
cfi.c:980cfi_intel_protect()
retval = cfi_send_command(bank, 0x60, cfi_flash_address(bank, i, 0x0));
cfi.c:984cfi_intel_protect()
retval = cfi_send_command(bank, 0x01, cfi_flash_address(bank, i, 0x0));
cfi.c:989cfi_intel_protect()
retval = cfi_send_command(bank, 0xd0, cfi_flash_address(bank, i, 0x0));
cfi.c:1006cfi_intel_protect()
retval = cfi_send_command(bank, 0x90, cfi_flash_address(bank, 0, 0x55));
cfi.c:1017cfi_intel_protect()
retval = cfi_send_command(bank, 0x70, cfi_flash_address(bank, 0, 0x55));
cfi.c:1054cfi_intel_protect()
retval = cfi_send_command(bank, 0x60, cfi_flash_address(bank, i, 0x0));
cfi.c:1058cfi_intel_protect()
retval = cfi_send_command(bank, 0x01, cfi_flash_address(bank, i, 0x0));
cfi.c:1070cfi_intel_protect()
return cfi_send_command(bank, 0xff, cfi_flash_address(bank, 0, 0x0));
cfi.c:1962cfi_intel_write_word()
retval = cfi_send_command(bank, 0x40, address);
cfi.c:1975cfi_intel_write_word()
retval = cfi_send_command(bank, 0xff, cfi_flash_address(bank, 0, 0x0));
cfi.c:2021cfi_intel_write_words()
retval = cfi_send_command(bank, 0xe8, address);
cfi.c:2029cfi_intel_write_words()
retval = cfi_send_command(bank, 0xff, cfi_flash_address(bank, 0, 0x0));
cfi.c:2042cfi_intel_write_words()
retval = cfi_send_command(bank, bufferwsize-1, address);
cfi.c:2051cfi_intel_write_words()
retval = cfi_send_command(bank, 0xd0, address);
cfi.c:2060cfi_intel_write_words()
retval = cfi_send_command(bank, 0xff, cfi_flash_address(bank, 0, 0x0));
cfi.c:2082cfi_spansion_write_word()
retval = cfi_send_command(bank, 0xa0, cfi_flash_address(bank, 0, pri_ext->_unlock1));
cfi.c:2091cfi_spansion_write_word()
retval = cfi_send_command(bank, 0xf0, cfi_flash_address(bank, 0, 0x0));
cfi.c:2138cfi_spansion_write_words()
retval = cfi_send_command(bank, 0x25, address);
cfi.c:2143cfi_spansion_write_words()
retval = cfi_send_command(bank, bufferwsize-1, address);
cfi.c:2152cfi_spansion_write_words()
retval = cfi_send_command(bank, 0x29, address);
cfi.c:2157cfi_spansion_write_words()
retval = cfi_send_command(bank, 0xf0, cfi_flash_address(bank, 0, 0x0));
cfi.c:2504cfi_query_string()
retval = cfi_send_command(bank, 0x98, cfi_flash_address(bank, 0, address));
cfi.c:2566cfi_probe()
retval = cfi_send_command(bank, 0xaa, cfi_flash_address(bank, 0, unlock1));
cfi.c:2569cfi_probe()
retval = cfi_send_command(bank, 0x55, cfi_flash_address(bank, 0, unlock2));
cfi.c:2572cfi_probe()
retval = cfi_send_command(bank, 0x90, cfi_flash_address(bank, 0, unlock1));
cfi.c:2882cfi_intel_protect_check()
retval = cfi_send_command(bank, 0x90, cfi_flash_address(bank, 0, 0x55));
cfi.c:2898cfi_intel_protect_check()
return cfi_send_command(bank, 0xff, cfi_flash_address(bank, 0, 0x0));
cfi.c:2911cfi_spansion_protect_check()
retval = cfi_send_command(bank, 0x90, cfi_flash_address(bank, 0, pri_ext->_unlock1));
cfi.c:2927cfi_spansion_protect_check()
return cfi_send_command(bank, 0xf0, cfi_flash_address(bank, 0, 0x0));
renesas_rpchf.c:465rpchf_spansion_write_words()
retval = cfi_send_command(bank, 0xa0, cfi_flash_address(bank, 0, pri_ext->_unlock1));
renesas_rpchf.c:474rpchf_spansion_write_words()
retval = cfi_send_command(bank, 0xf0, cfi_flash_address(bank, 0, 0x0));