Searched refs:sr_cr (Results 1 – 1 of 1) sorted by relevance
865 u8 *sr_cr = nor->bouncebuf; in spi_nor_write_16bit_sr_and_check() local870 ret = spi_nor_read_cr(nor, &sr_cr[1]); in spi_nor_write_16bit_sr_and_check()890 sr_cr[1] = SR2_QUAD_EN_BIT1; in spi_nor_write_16bit_sr_and_check()892 sr_cr[1] = 0; in spi_nor_write_16bit_sr_and_check()895 sr_cr[0] = sr1; in spi_nor_write_16bit_sr_and_check()897 ret = spi_nor_write_sr(nor, sr_cr, 2); in spi_nor_write_16bit_sr_and_check()901 ret = spi_nor_read_sr(nor, sr_cr); in spi_nor_write_16bit_sr_and_check()905 if (sr1 != sr_cr[0]) { in spi_nor_write_16bit_sr_and_check()913 cr_written = sr_cr[1]; in spi_nor_write_16bit_sr_and_check()915 ret = spi_nor_read_cr(nor, &sr_cr[1]); in spi_nor_write_16bit_sr_and_check()[all …]