Lines Matching full:flash

21 /* Standard SPI NOR flash operations. */
209 * @idx: Erase Type index as sorted in the Basic Flash Parameter
334 * struct spi_nor_flash_parameter - SPI NOR flash parameters and settings.
335 * Includes legacy flash parameters and settings that can be overwritten
337 * Serial Flash Discoverable Parameters (SFDP) tables.
339 * @bank_size: the flash memory bank density in bytes.
340 * @size: the total flash memory density in bytes.
341 * @writesize Minimal writable flash unit size. Defaults to 1. Set to
343 * @page_size: the page size of the SPI NOR flash memory.
346 * when the flash operates with 4B opcodes but needs the
354 * @n_dice: number of dice in the flash memory.
373 * @priv: flash's private data.
407 * @default_init: called after default flash parameters init. Used to tweak
408 * flash parameters when information provided by the flash_info
416 * @late_init: used to initialize flash parameters that are not declared in the
433 * struct spi_nor_id - SPI NOR flash ID.
435 * @bytes: the bytes returned by the flash when issuing command 9F. Typically,
437 * two bytes are a flash part specific ID.
449 * @name: (obsolete) the name of the flash. Do not set it for new additions.
450 * @size: the size of the flash in bytes.
455 * @page_size: (optional) the flash's page size. Defaults to 256.
460 * SPI_NOR_HAS_LOCK: flash supports lock/unlock via SR
461 * SPI_NOR_HAS_TB: flash SR has Top/Bottom (TB) protect bit. Must be
465 * SPI_NOR_4BIT_BP: flash SR has 4 bit fields (BP0-3) for block
469 * SPI_NOR_SWP_IS_VOLATILE: flash has volatile software write protection bits.
473 * SPI_NOR_QUAD_PP: flash supports Quad Input Page Program.
474 * SPI_NOR_RWW: flash supports reads while write.
477 * Used when SFDP tables are not defined in the flash. These
481 * SPI_NOR_DUAL_READ: flash supports Dual Read.
482 * SPI_NOR_QUAD_READ: flash supports Quad Read.
483 * SPI_NOR_OCTAL_READ: flash supports Octal Read.
484 * SPI_NOR_OCTAL_DTR_READ: flash supports octal DTR Read.
485 * SPI_NOR_OCTAL_DTR_PP: flash supports Octal DTR Page Program.
488 * ideally, but can not be discovered for this particular flash
490 * defined by the flash. In case the table for this support is
496 * SPI_NOR_IO_MODE_EN_VOLATILE: flash enables the best available I/O mode
501 * @otp_org: flash's OTP organization.
682 * spi_nor_needs_sfdp() - returns true if SFDP parsing is used for this flash.
689 * The flash size is one property parsed by the SFDP. We use it as an in spi_nor_needs_sfdp()
690 * indicator whether we need SFDP parsing for a particular flash. I.e. in spi_nor_needs_sfdp()
691 * non-legacy flash entries in flash_info will have a size of zero iff in spi_nor_needs_sfdp()