Lines Matching defs:flash

175 	/* Saifun SA25F010 (non-buffered flash) */
180 "Non-buffered flash (128kB)"},
181 /* Saifun SA25F020 (non-buffered flash) */
186 "Non-buffered flash (256kB)"},
192 /* Entry 0101: ST M45PE10 (non-buffered flash, TetonII B0) */
197 /* Entry 0110: ST M45PE20 (non-buffered flash)*/
202 /* Saifun SA25F005 (non-buffered flash) */
207 "Non-buffered flash (64kB)"},
223 /* ATMEL AT45DB011B (buffered flash) */
227 "Buffered flash (128kB)"},
243 /* ATMEL AT45DB021B (buffered flash) */
247 "Buffered flash (256kB)"},
253 * flash devices which use 256 byte pages, so no
263 .name = "5709/5716 buffered flash (256kB)",
2121 /* Request access to the flash interface. */
2306 /* Non-buffered flash parts require that a page be erased before it is */
2320 /* Buffered flash doesn't require an erase. */
2380 /* Calculate the offset for buffered flash if translation is used. */
2446 /* Calculate the offset for buffered flash if translation is used. */
2497 const struct flash_spec *flash;
2514 * Check if the flash interface was reconfigured
2524 for (j = 0, flash = &flash_table[0]; j < entry_count;
2525 j++, flash++) {
2527 (flash->config1 & FLASH_BACKUP_STRAP_MASK)) {
2528 sc->bce_flash_info = flash;
2545 for (j = 0, flash = &flash_table[0]; j < entry_count; j++, flash++) {
2548 if ((val & mask) == (flash->strapping & mask)) {
2550 sc->bce_flash_info = flash;
2552 /* Request access to the flash interface. */
2556 /* Reconfigure the flash interface. */
2558 REG_WR(sc, BCE_NVM_CFG1, flash->config1);
2559 REG_WR(sc, BCE_NVM_CFG2, flash->config2);
2560 REG_WR(sc, BCE_NVM_CFG3, flash->config3);
2561 REG_WR(sc, BCE_NVM_WRITE1, flash->write1);
2580 /* Write the flash config data to the shared memory interface. */
2618 /* Request access to the flash interface. */
2622 /* Enable access to flash interface */
2711 /* Disable access to flash interface and release the lock. */
2801 /* Request access to the flash interface. */
2805 /* Enable access to flash interface */
2813 * (non-buffer flash only) */
2830 /* Enable writes to flash interface (unlock write-protect) */
2895 /* Disable writes to flash interface (lock write-protect) */
2898 /* Disable access to flash interface */