Lines Matching refs:flash

198 	/* Saifun SA25F010 (non-buffered flash) */
203 "Non-buffered flash (128kB)"},
204 /* Saifun SA25F020 (non-buffered flash) */
209 "Non-buffered flash (256kB)"},
215 /* Entry 0101: ST M45PE10 (non-buffered flash, TetonII B0) */
220 /* Entry 0110: ST M45PE20 (non-buffered flash)*/
225 /* Saifun SA25F005 (non-buffered flash) */
230 "Non-buffered flash (64kB)"},
246 /* ATMEL AT45DB011B (buffered flash) */
250 "Buffered flash (128kB)"},
266 /* ATMEL AT45DB021B (buffered flash) */
270 "Buffered flash (256kB)"},
276 * flash devices which use 256 byte pages, so no
286 .name = "5709 buffered flash (256kB)",
1364 /* Request access to the flash interface. */
1531 /* Non-buffered flash parts require that a page be erased before it is */
1543 /* Buffered flash doesn't require an erase. */
1600 /* Calculate the offset for buffered flash if translation is used. */
1662 /* Calculate the offset for buffered flash if translation is used. */
1711 struct flash_spec *flash;
1728 * Check if the flash interface was reconfigured
1738 for (j = 0, flash = &flash_table[0]; j < entry_count;
1739 j++, flash++) {
1741 (flash->config1 & FLASH_BACKUP_STRAP_MASK)) {
1742 sc->bnx_flash_info = flash;
1759 for (j = 0, flash = &flash_table[0]; j < entry_count;
1760 j++, flash++) {
1762 if ((val & mask) == (flash->strapping & mask)) {
1764 sc->bnx_flash_info = flash;
1766 /* Request access to the flash interface. */
1770 /* Reconfigure the flash interface. */
1772 REG_WR(sc, BNX_NVM_CFG1, flash->config1);
1773 REG_WR(sc, BNX_NVM_CFG2, flash->config2);
1774 REG_WR(sc, BNX_NVM_CFG3, flash->config3);
1775 REG_WR(sc, BNX_NVM_WRITE1, flash->write1);
1793 /* Write the flash config data to the shared memory interface. */
1801 DBPRINT(sc, BNX_INFO_LOAD, "bnx_init_nvram() flash->total_size = "
1828 /* Request access to the flash interface. */
1832 /* Enable access to flash interface */
1918 /* Disable access to flash interface and release the lock. */
1999 /* Request access to the flash interface. */
2003 /* Enable access to flash interface */
2011 * (non-buffer flash only) */
2028 /* Enable writes to flash interface (unlock write-protect) */
2093 /* Disable writes to flash interface (lock write-protect) */
2096 /* Disable access to flash interface */