Lines Matching defs:flash
181 /* Saifun SA25F010 (non-buffered flash) */
186 "Non-buffered flash (128kB)"},
187 /* Saifun SA25F020 (non-buffered flash) */
192 "Non-buffered flash (256kB)"},
198 /* Entry 0101: ST M45PE10 (non-buffered flash, TetonII B0) */
203 /* Entry 0110: ST M45PE20 (non-buffered flash)*/
208 /* Saifun SA25F005 (non-buffered flash) */
213 "Non-buffered flash (64kB)"},
229 /* ATMEL AT45DB011B (buffered flash) */
233 "Buffered flash (128kB)"},
249 /* ATMEL AT45DB021B (buffered flash) */
253 "Buffered flash (256kB)"},
259 * flash devices which use 256 byte pages, so no
269 .name = "5709 buffered flash (256kB)",
1347 /* Request access to the flash interface. */
1514 /* Non-buffered flash parts require that a page be erased before it is */
1526 /* Buffered flash doesn't require an erase. */
1583 /* Calculate the offset for buffered flash if translation is used. */
1645 /* Calculate the offset for buffered flash if translation is used. */
1694 struct flash_spec *flash;
1711 * Check if the flash interface was reconfigured
1721 for (j = 0, flash = &flash_table[0]; j < entry_count;
1722 j++, flash++) {
1724 (flash->config1 & FLASH_BACKUP_STRAP_MASK)) {
1725 sc->bnx_flash_info = flash;
1742 for (j = 0, flash = &flash_table[0]; j < entry_count;
1743 j++, flash++) {
1745 if ((val & mask) == (flash->strapping & mask)) {
1747 sc->bnx_flash_info = flash;
1749 /* Request access to the flash interface. */
1753 /* Reconfigure the flash interface. */
1755 REG_WR(sc, BNX_NVM_CFG1, flash->config1);
1756 REG_WR(sc, BNX_NVM_CFG2, flash->config2);
1757 REG_WR(sc, BNX_NVM_CFG3, flash->config3);
1758 REG_WR(sc, BNX_NVM_WRITE1, flash->write1);
1776 /* Write the flash config data to the shared memory interface. */
1784 DBPRINT(sc, BNX_INFO_LOAD, "bnx_init_nvram() flash->total_size = "
1811 /* Request access to the flash interface. */
1815 /* Enable access to flash interface */
1901 /* Disable access to flash interface and release the lock. */
1983 /* Request access to the flash interface. */
1987 /* Enable access to flash interface */
1995 * (non-buffer flash only) */
2012 /* Enable writes to flash interface (unlock write-protect) */
2077 /* Disable writes to flash interface (lock write-protect) */
2080 /* Disable access to flash interface */