Lines Matching full:erase
55 #define SPINOR_OP_BE_4K 0x20 /* Erase 4KiB block */
56 #define SPINOR_OP_BE_4K_PMC 0xd7 /* Erase 4KiB block on PMC chips */
57 #define SPINOR_OP_BE_32K 0x52 /* Erase 32KiB block */
58 #define SPINOR_OP_CHIP_ERASE 0xc7 /* Erase whole flash chip */
59 #define SPINOR_OP_SE 0xd8 /* Sector erase (usually 64KiB) */
78 #define SPINOR_OP_BE_4K_4B 0x21 /* Erase 4KiB block */
79 #define SPINOR_OP_BE_32K_4B 0x5c /* Erase 32KiB block */
80 #define SPINOR_OP_SE_4B 0xdc /* Sector erase (usually 64KiB) */
100 #define SPINOR_OP_XSE 0x50 /* Sector erase */
154 #define FSR_E_ERR BIT(5) /* Erase operation status */
271 * @lock: the lock for the read/write/erase/lock/unlock operations
287 * @reg_proto the SPI protocol for read_reg/write_reg/erase operations
290 * read/write/erase/lock/unlock operations
292 * read/write/erase/lock/unlock operations
297 * @erase: [DRIVER-SPECIFIC] erase a sector of the SPI NOR
299 * spi-nor will send the erase opcode via write_reg()
339 int (*erase)(struct spi_nor *nor, loff_t offs); member