Home
last modified time | relevance | path

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

/u-boot/drivers/mtd/spi/
A Dspi-nor-tiny.c75 static int spi_nor_write_reg(struct spi_nor *nor, u8 opcode, u8 *buf, int len) in spi_nor_write_reg() function
151 return spi_nor_write_reg(nor, SPINOR_OP_WRSR, nor->cmd_buf, 1); in write_sr()
160 return spi_nor_write_reg(nor, SPINOR_OP_WREN, NULL, 0); in write_enable()
168 return spi_nor_write_reg(nor, SPINOR_OP_WRDI, NULL, 0); in write_disable()
228 status = spi_nor_write_reg(nor, cmd, NULL, 0); in set_4byte()
242 spi_nor_write_reg(nor, SPINOR_OP_WREAR, in set_4byte()
251 return spi_nor_write_reg(nor, SPINOR_OP_BRWR, nor->cmd_buf, 1); in set_4byte()
487 ret = spi_nor_write_reg(nor, SPINOR_OP_WRSR, sr_cr, 2); in write_sr_cr()
A Dspi-nor-core.c68 static int spi_nor_write_reg(struct spi_nor *nor, u8 opcode, u8 *buf, int len) in spi_nor_write_reg() function
2505 nor->write_reg = spi_nor_write_reg; in spi_nor_scan()

Completed in 8 milliseconds