Searched refs:sr_cr (Results 1 – 1 of 1) sorted by relevance
795 u8 *sr_cr = nor->bouncebuf; in spi_nor_write_16bit_sr_and_check() local800 ret = spi_nor_read_cr(nor, &sr_cr[1]); in spi_nor_write_16bit_sr_and_check()819 sr_cr[1] = SR2_QUAD_EN_BIT1; in spi_nor_write_16bit_sr_and_check()821 sr_cr[1] = 0; in spi_nor_write_16bit_sr_and_check()824 sr_cr[0] = sr1; in spi_nor_write_16bit_sr_and_check()826 ret = spi_nor_write_sr(nor, sr_cr, 2); in spi_nor_write_16bit_sr_and_check()833 cr_written = sr_cr[1]; in spi_nor_write_16bit_sr_and_check()835 ret = spi_nor_read_cr(nor, &sr_cr[1]); in spi_nor_write_16bit_sr_and_check()839 if (cr_written != sr_cr[1]) { in spi_nor_write_16bit_sr_and_check()860 u8 *sr_cr = nor->bouncebuf; in spi_nor_write_16bit_cr_and_check() local[all …]