sr_cr 1666 drivers/mtd/spi-nor/spi-nor.c static int write_sr_cr(struct spi_nor *nor, u8 *sr_cr) sr_cr 1677 drivers/mtd/spi-nor/spi-nor.c SPI_MEM_OP_DATA_OUT(2, sr_cr, 1)); sr_cr 1681 drivers/mtd/spi-nor/spi-nor.c ret = nor->write_reg(nor, SPINOR_OP_WRSR, sr_cr, 2); sr_cr 1762 drivers/mtd/spi-nor/spi-nor.c u8 *sr_cr = nor->bouncebuf; sr_cr 1765 drivers/mtd/spi-nor/spi-nor.c sr_cr[0] = 0; sr_cr 1766 drivers/mtd/spi-nor/spi-nor.c sr_cr[1] = CR_QUAD_EN_SPAN; sr_cr 1767 drivers/mtd/spi-nor/spi-nor.c ret = write_sr_cr(nor, sr_cr); sr_cr 1796 drivers/mtd/spi-nor/spi-nor.c u8 *sr_cr = nor->bouncebuf; sr_cr 1805 drivers/mtd/spi-nor/spi-nor.c sr_cr[0] = ret; sr_cr 1806 drivers/mtd/spi-nor/spi-nor.c sr_cr[1] = CR_QUAD_EN_SPAN; sr_cr 1808 drivers/mtd/spi-nor/spi-nor.c return write_sr_cr(nor, sr_cr); sr_cr 1827 drivers/mtd/spi-nor/spi-nor.c u8 *sr_cr = nor->bouncebuf; sr_cr 1840 drivers/mtd/spi-nor/spi-nor.c sr_cr[1] = ret | CR_QUAD_EN_SPAN; sr_cr 1848 drivers/mtd/spi-nor/spi-nor.c sr_cr[0] = ret; sr_cr 1850 drivers/mtd/spi-nor/spi-nor.c ret = write_sr_cr(nor, sr_cr); sr_cr 1996 drivers/mtd/spi-nor/spi-nor.c u8 *sr_cr = nor->bouncebuf; sr_cr 2011 drivers/mtd/spi-nor/spi-nor.c sr_cr[1] = ret; sr_cr 2019 drivers/mtd/spi-nor/spi-nor.c sr_cr[0] = ret & ~mask; sr_cr 2021 drivers/mtd/spi-nor/spi-nor.c ret = write_sr_cr(nor, sr_cr);