Lines Matching defs:sr1
826 * @sr1: byte value to be written to the Status Register.
830 static int spi_nor_write_sr1_and_check(struct spi_nor *nor, u8 sr1)
834 nor->bouncebuf[0] = sr1;
844 if (nor->bouncebuf[0] != sr1) {
858 * @sr1: byte value to be written to the Status Register 1.
862 static int spi_nor_write_16bit_sr_and_check(struct spi_nor *nor, u8 sr1)
895 sr_cr[0] = sr1;
905 if (sr1 != sr_cr[0]) {
985 * @sr1: byte value to be written to the Status Register.
989 int spi_nor_write_sr_and_check(struct spi_nor *nor, u8 sr1)
992 return spi_nor_write_16bit_sr_and_check(nor, sr1);
994 return spi_nor_write_sr1_and_check(nor, sr1);