Lines Matching +full:otp +full:- +full:2
1 /* SPDX-License-Identifier: GPL-2.0 */
104 SPI_MEM_OP_DATA_IN(2, NULL, 0))
110 SPI_MEM_OP_DATA_OUT(2, NULL, 0))
128 SNOR_F_BROKEN_RESET = BIT(2),
203 * struct spi_nor_erase_type - Structure to describe a SPI NOR erase type
205 * JEDEC JESD216B imposes erase sizes to be a power of 2.
206 * @size_shift: @size is a power of 2, the shift is stored in
224 * struct spi_nor_erase_command - Used for non-uniform erases
227 * are run-length encoded.
242 * struct spi_nor_erase_region - Structure to describe a SPI NOR erase region
261 * struct spi_nor_erase_map - Structure to describe the SPI NOR erase map
265 * @uniform_region: a pre-allocated erase region for SPI NOR with a uniform
281 * struct spi_nor_locking_ops - SPI NOR locking methods
293 * struct spi_nor_otp_organization - Structure to describe the SPI NOR OTP regions
294 * @len: size of one OTP region in bytes.
295 * @base: start address of the OTP area.
296 * @offset: offset between consecutive OTP regions if there are more
298 * @n_regions: number of individual OTP regions.
308 * struct spi_nor_otp_ops - SPI NOR OTP methods
309 * @read: read from the SPI NOR OTP area.
310 * @write: write to the SPI NOR OTP area.
311 * @lock: lock an OTP region.
312 * @erase: erase an OTP region.
313 * @is_locked: check if an OTP region of the SPI NOR is locked.
325 * struct spi_nor_otp - SPI NOR OTP grouping structure
326 * @org: OTP region organization
327 * @ops: OTP access ops
335 * struct spi_nor_flash_parameter - SPI NOR flash parameters and settings.
343 * ECC unit size for ECC-ed flashes.
366 * @otp: SPI NOR OTP info.
395 struct spi_nor_otp otp; member
407 * struct spi_nor_fixups - SPI NOR fixup hooks
434 * struct spi_nor_id - SPI NOR flash ID.
447 * struct flash_info - SPI NOR flash_info entry.
454 * I.e. non-legacy flash entries in flash_info will have
470 * SPI_NOR_4BIT_BP: flash SR has 4 bit fields (BP0-3) for block
475 * Usually these will power-up in a write-protected
506 * @otp_org: flash's OTP organization.
521 #define SPI_NOR_TB_SR_BIT6 BIT(2)
544 const struct spi_nor_otp_organization *otp; member
563 * struct spi_nor_manufacturer - SPI NOR manufacturer object
577 * struct sfdp - SFDP data
687 * spi_nor_needs_sfdp() - returns true if SFDP parsing is used for this flash.
696 * non-legacy flash entries in flash_info will have a size of zero iff in spi_nor_needs_sfdp()
699 return !nor->info->size; in spi_nor_needs_sfdp()