Home
last modified time | relevance | path

Searched refs:spi_nor_write_reg (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/drivers/mtd/spi/
H A Dspi-nor-tiny.c63 static int spi_nor_write_reg(struct spi_nor *nor, u8 opcode, u8 *buf, int len) in spi_nor_write_reg() function
139 return spi_nor_write_reg(nor, SPINOR_OP_WRSR, nor->cmd_buf, 1); in write_sr()
148 return spi_nor_write_reg(nor, SPINOR_OP_WREN, NULL, 0); in write_enable()
156 return spi_nor_write_reg(nor, SPINOR_OP_WRDI, NULL, 0); in write_disable()
216 status = spi_nor_write_reg(nor, cmd, NULL, 0); in set_4byte()
230 spi_nor_write_reg(nor, SPINOR_OP_WREAR, in set_4byte()
239 return spi_nor_write_reg(nor, SPINOR_OP_BRWR, nor->cmd_buf, 1); in set_4byte()
475 ret = spi_nor_write_reg(nor, SPINOR_OP_WRSR, sr_cr, 2); in write_sr_cr()
H A Dspi-nor-core.c86 static int spi_nor_write_reg(struct spi_nor *nor, u8 opcode, u8 *buf, int len) in spi_nor_write_reg() function
2804 nor->write_reg = spi_nor_write_reg; in spi_nor_scan()