Lines Matching +full:0 +full:x25
11 #define MXIC_NOR_OP_RD_CR2 0x71 /* Read configuration register 2 opcode */
12 #define MXIC_NOR_OP_WR_CR2 0x72 /* Write configuration register 2 opcode */
13 #define MXIC_NOR_ADDR_CR2_MODE 0x00000000 /* CR2 address for setting spi/sopi/dopi mode */
14 #define MXIC_NOR_ADDR_CR2_DC 0x00000300 /* CR2 address for setting dummy cycles */
15 #define MXIC_NOR_REG_DOPI_EN 0x2 /* Enable Octal DTR */
16 #define MXIC_NOR_REG_SPI_EN 0x0 /* Enable SPI */
23 SPI_MEM_OP(SPI_MEM_OP_CMD(MXIC_NOR_OP_WR_CR2, 0), \
24 SPI_MEM_OP_ADDR(4, addr, 0), \
26 SPI_MEM_OP_DATA_OUT(ndata, buf, 0))
45 return 0; in mx25l25635_post_bfpt_fixups()
54 .id = SNOR_ID(0xc2, 0x20, 0x10),
59 .id = SNOR_ID(0xc2, 0x20, 0x12),
64 .id = SNOR_ID(0xc2, 0x20, 0x13),
69 .id = SNOR_ID(0xc2, 0x20, 0x14),
73 .id = SNOR_ID(0xc2, 0x20, 0x15),
78 .id = SNOR_ID(0xc2, 0x20, 0x16),
83 .id = SNOR_ID(0xc2, 0x20, 0x17),
88 .id = SNOR_ID(0xc2, 0x20, 0x18),
94 .id = SNOR_ID(0xc2, 0x20, 0x19),
100 .id = SNOR_ID(0xc2, 0x20, 0x1a),
106 .id = SNOR_ID(0xc2, 0x20, 0x1b),
111 .id = SNOR_ID(0xc2, 0x23, 0x14),
116 .id = SNOR_ID(0xc2, 0x25, 0x32),
121 .id = SNOR_ID(0xc2, 0x25, 0x33),
126 .id = SNOR_ID(0xc2, 0x25, 0x34),
131 .id = SNOR_ID(0xc2, 0x25, 0x36),
136 .id = SNOR_ID(0xc2, 0x25, 0x37),
141 .id = SNOR_ID(0xc2, 0x25, 0x38),
146 .id = SNOR_ID(0xc2, 0x25, 0x3a),
152 .id = SNOR_ID(0xc2, 0x25, 0x3a),
158 .id = SNOR_ID(0xc2, 0x25, 0x3c),
164 .id = SNOR_ID(0xc2, 0x26, 0x18),
168 .id = SNOR_ID(0xc2, 0x26, 0x19),
172 .id = SNOR_ID(0xc2, 0x26, 0x1b),
177 .id = SNOR_ID(0xc2, 0x28, 0x15),
182 .id = SNOR_ID(0xc2, 0x28, 0x16),
187 .id = SNOR_ID(0xc2, 0x81, 0x3a),
192 .id = SNOR_ID(0xc2, 0x9e, 0x16),
203 { .id = SNOR_ID(0xc2) }
213 buf[0] = MXIC_NOR_REG_DC(nor->params->reads[SNOR_CMD_READ_8_8_8_DTR].num_wait_states); in macronix_nor_octal_dtr_en()
220 buf[0] = MXIC_NOR_REG_DOPI_EN; in macronix_nor_octal_dtr_en()
235 for (i = 0; i < nor->info->id->len; i++) in macronix_nor_octal_dtr_en()
239 return 0; in macronix_nor_octal_dtr_en()
251 * next location, just initialize the value to 0 and let the in macronix_nor_octal_dtr_dis()
254 buf[0] = MXIC_NOR_REG_SPI_EN; in macronix_nor_octal_dtr_dis()
255 buf[1] = 0x0; in macronix_nor_octal_dtr_dis()
262 ret = spi_nor_read_id(nor, 0, 0, buf, SNOR_PROTO_1_1_1); in macronix_nor_octal_dtr_dis()
271 return 0; in macronix_nor_octal_dtr_dis()
290 return 0; in macronix_nor_late_init()