Lines Matching +full:multi +full:- +full:bit
1 /* SPDX-License-Identifier: GPL-2.0+ */
41 #define SECT_4K BIT(0) /* SPINOR_OP_BE_4K works uniformly */
42 #define SPI_NOR_NO_ERASE BIT(1) /* No erase command needed */
43 #define SST_WRITE BIT(2) /* use SST byte programming */
44 #define SPI_NOR_NO_FR BIT(3) /* Can't do fastread */
45 #define SECT_4K_PMC BIT(4) /* SPINOR_OP_BE_4K_PMC works uniformly */
46 #define SPI_NOR_DUAL_READ BIT(5) /* Flash supports Dual Read */
47 #define SPI_NOR_QUAD_READ BIT(6) /* Flash supports Quad Read */
48 #define USE_FSR BIT(7) /* use flag status register */
49 #define SPI_NOR_HAS_LOCK BIT(8) /* Flash supports lock/unlock via SR */
50 #define SPI_NOR_HAS_TB BIT(9) /*
52 * bit. Must be used with
55 #define SPI_S3AN BIT(10) /*
56 * Xilinx Spartan 3AN In-System Flash
61 #define SPI_NOR_4B_OPCODES BIT(11) /*
65 #define NO_CHIP_ERASE BIT(12) /* Chip does not support chip erase */
66 #define SPI_NOR_SKIP_SFDP BIT(13) /* Skip parsing of SFDP tables */
67 #define USE_CLSR BIT(14) /* use CLSR command */
72 #define JEDEC_MFR(info) ((info)->id[0])
73 #define JEDEC_ID(info) (((info)->id[1]) << 8 | ((info)->id[2]))
75 /* Send a single-byte command to the device and read the response */
79 * Send a multi-byte command to the device and read the response. Used
86 * Send a multi-byte command to the device followed by (optional)
93 /* Get software write-protect value (BP bits) */