Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/mtd/spi-nor/
Dcore.c764 u8 *sr_cr = nor->bouncebuf; in spi_nor_write_16bit_sr_and_check() local
769 ret = spi_nor_read_cr(nor, &sr_cr[1]); in spi_nor_write_16bit_sr_and_check()
788 sr_cr[1] = SR2_QUAD_EN_BIT1; in spi_nor_write_16bit_sr_and_check()
790 sr_cr[1] = 0; in spi_nor_write_16bit_sr_and_check()
793 sr_cr[0] = sr1; in spi_nor_write_16bit_sr_and_check()
795 ret = spi_nor_write_sr(nor, sr_cr, 2); in spi_nor_write_16bit_sr_and_check()
799 ret = spi_nor_read_sr(nor, sr_cr); in spi_nor_write_16bit_sr_and_check()
803 if (sr1 != sr_cr[0]) { in spi_nor_write_16bit_sr_and_check()
811 cr_written = sr_cr[1]; in spi_nor_write_16bit_sr_and_check()
813 ret = spi_nor_read_cr(nor, &sr_cr[1]); in spi_nor_write_16bit_sr_and_check()
[all …]