/openbmc/linux/include/linux/mtd/ |
H A D | spinand.h | 24 SPI_MEM_OP(SPI_MEM_OP_CMD(0xff, 1), \ 30 SPI_MEM_OP(SPI_MEM_OP_CMD((enable) ? 0x06 : 0x04, 1), \ 36 SPI_MEM_OP(SPI_MEM_OP_CMD(0x9f, 1), \ 42 SPI_MEM_OP(SPI_MEM_OP_CMD(0x1f, 1), \ 48 SPI_MEM_OP(SPI_MEM_OP_CMD(0x0f, 1), \ 54 SPI_MEM_OP(SPI_MEM_OP_CMD(0xd8, 1), \ 60 SPI_MEM_OP(SPI_MEM_OP_CMD(0x13, 1), \ 66 SPI_MEM_OP(SPI_MEM_OP_CMD(fast ? 0x0b : 0x03, 1), \ 72 SPI_MEM_OP(SPI_MEM_OP_CMD(fast ? 0x0b : 0x03, 1), \ 78 SPI_MEM_OP(SPI_MEM_OP_CMD(0x3b, 1), \ [all …]
|
/openbmc/u-boot/include/linux/mtd/ |
H A D | spinand.h | 31 SPI_MEM_OP(SPI_MEM_OP_CMD(0xff, 1), \ 37 SPI_MEM_OP(SPI_MEM_OP_CMD((enable) ? 0x06 : 0x04, 1), \ 43 SPI_MEM_OP(SPI_MEM_OP_CMD(0x9f, 1), \ 49 SPI_MEM_OP(SPI_MEM_OP_CMD(0x1f, 1), \ 55 SPI_MEM_OP(SPI_MEM_OP_CMD(0x0f, 1), \ 61 SPI_MEM_OP(SPI_MEM_OP_CMD(0xd8, 1), \ 67 SPI_MEM_OP(SPI_MEM_OP_CMD(0x13, 1), \ 73 SPI_MEM_OP(SPI_MEM_OP_CMD(fast ? 0x0b : 0x03, 1), \ 79 SPI_MEM_OP(SPI_MEM_OP_CMD(0x3b, 1), \ 85 SPI_MEM_OP(SPI_MEM_OP_CMD(0x6b, 1), \ [all …]
|
/openbmc/linux/drivers/mtd/spi-nor/ |
H A D | core.h | 16 SPI_MEM_OP(SPI_MEM_OP_CMD(SPINOR_OP_RDID, 0), \ 22 SPI_MEM_OP(SPI_MEM_OP_CMD(SPINOR_OP_WREN, 0), \ 28 SPI_MEM_OP(SPI_MEM_OP_CMD(SPINOR_OP_WRDI, 0), \ 34 SPI_MEM_OP(SPI_MEM_OP_CMD(SPINOR_OP_RDSR, 0), \ 40 SPI_MEM_OP(SPI_MEM_OP_CMD(SPINOR_OP_WRSR, 0), \ 46 SPI_MEM_OP(SPI_MEM_OP_CMD(SPINOR_OP_RDSR2, 0), \ 52 SPI_MEM_OP(SPI_MEM_OP_CMD(SPINOR_OP_WRSR2, 0), \ 58 SPI_MEM_OP(SPI_MEM_OP_CMD(SPINOR_OP_RDCR, 0), \ 64 SPI_MEM_OP(SPI_MEM_OP_CMD(enable ? SPINOR_OP_EN4B : SPINOR_OP_EX4B, 0), \ 70 SPI_MEM_OP(SPI_MEM_OP_CMD(SPINOR_OP_BRWR, 0), \ [all …]
|
H A D | micron-st.c | 33 SPI_MEM_OP(SPI_MEM_OP_CMD(SPINOR_OP_MT_WR_ANY_REG, 0), \ 39 SPI_MEM_OP(SPI_MEM_OP_CMD(SPINOR_OP_RDFSR, 0), \ 45 SPI_MEM_OP(SPI_MEM_OP_CMD(SPINOR_OP_CLFSR, 0), \
|
H A D | xilinx.c | 19 SPI_MEM_OP(SPI_MEM_OP_CMD(XILINX_OP_RDSR, 0), \
|
H A D | spansion.c | 49 SPI_MEM_OP(SPI_MEM_OP_CMD(SPINOR_OP_WR_ANY_REG, 0), \ 55 SPI_MEM_OP(SPI_MEM_OP_CMD(SPINOR_OP_RD_ANY_REG, 0), \ 61 SPI_MEM_OP(SPI_MEM_OP_CMD(opcode, 0), \
|
H A D | winbond.c | 15 SPI_MEM_OP(SPI_MEM_OP_CMD(WINBOND_NOR_OP_WREAR, 0), \
|
H A D | core.c | 200 SPI_MEM_OP(SPI_MEM_OP_CMD(nor->read_opcode, 0), in spi_nor_spimem_read_data() 264 SPI_MEM_OP(SPI_MEM_OP_CMD(nor->program_opcode, 0), in spi_nor_spimem_write_data() 3562 .op_tmpl = SPI_MEM_OP(SPI_MEM_OP_CMD(nor->read_opcode, 0), in spi_nor_create_read_dirmap() 3593 .op_tmpl = SPI_MEM_OP(SPI_MEM_OP_CMD(nor->program_opcode, 0), in spi_nor_create_write_dirmap()
|
/openbmc/u-boot/drivers/mtd/nand/spi/ |
H A D | winbond.c | 68 struct spi_mem_op op = SPI_MEM_OP(SPI_MEM_OP_CMD(0xc2, 1), in w25m02gv_select_target()
|
H A D | macronix.c | 55 struct spi_mem_op op = SPI_MEM_OP(SPI_MEM_OP_CMD(0x7c, 1), in mx35lf1ge4ab_get_eccsr()
|
/openbmc/u-boot/drivers/mtd/spi/ |
H A D | spi-nor-tiny.c | 49 struct spi_mem_op op = SPI_MEM_OP(SPI_MEM_OP_CMD(code, 1), in spi_nor_read_reg() 65 struct spi_mem_op op = SPI_MEM_OP(SPI_MEM_OP_CMD(opcode, 1), in spi_nor_write_reg() 77 SPI_MEM_OP(SPI_MEM_OP_CMD(nor->read_opcode, 1), in spi_nor_read_data()
|
H A D | spi-nor-core.c | 72 struct spi_mem_op op = SPI_MEM_OP(SPI_MEM_OP_CMD(code, 1), in spi_nor_read_reg() 88 struct spi_mem_op op = SPI_MEM_OP(SPI_MEM_OP_CMD(opcode, 1), in spi_nor_write_reg() 103 SPI_MEM_OP(SPI_MEM_OP_CMD(SPINOR_OP_RDAR, 1), in spansion_read_any_reg() 121 SPI_MEM_OP(SPI_MEM_OP_CMD(SPINOR_OP_WRAR, 1), in spansion_write_any_reg() 134 SPI_MEM_OP(SPI_MEM_OP_CMD(nor->read_opcode, 1), in spi_nor_read_data() 172 SPI_MEM_OP(SPI_MEM_OP_CMD(nor->program_opcode, 1), in spi_nor_write_data() 701 SPI_MEM_OP(SPI_MEM_OP_CMD(nor->erase_opcode, 0), in spansion_erase_non_uniform()
|
/openbmc/u-boot/include/ |
H A D | spi-mem.h | 119 #define SPI_MEM_OP(__cmd, __addr, __dummy, __data) \ macro
|
/openbmc/linux/drivers/mtd/nand/spi/ |
H A D | winbond.c | 66 struct spi_mem_op op = SPI_MEM_OP(SPI_MEM_OP_CMD(0xc2, 1), in w25m02gv_select_target()
|
H A D | macronix.c | 54 struct spi_mem_op op = SPI_MEM_OP(SPI_MEM_OP_CMD(0x7c, 1), in mx35lf1ge4ab_get_eccsr()
|
/openbmc/linux/include/linux/spi/ |
H A D | spi-mem.h | 137 #define SPI_MEM_OP(__cmd, __addr, __dummy, __data) \ macro
|
/openbmc/linux/drivers/spi/ |
H A D | spi-intel.c | 1262 SPI_MEM_OP(SPI_MEM_OP_CMD(SPINOR_OP_READ, 0), in intel_spi_read_desc()
|