Lines Matching refs:bouncebuf
104 0, nor->bouncebuf);
116 if (nor->bouncebuf[0] & (SR_E_ERR | SR_P_ERR)) {
117 if (nor->bouncebuf[0] & SR_E_ERR)
131 return !(nor->bouncebuf[0] & SR_WIP);
163 u8 *buf = nor->bouncebuf;
193 u8 *buf = nor->bouncebuf;
207 u8 *buf = nor->bouncebuf;
240 u8 *buf = nor->bouncebuf;
257 u8 *buf = nor->bouncebuf;
290 nor->bouncebuf);
296 if (nor->bouncebuf[0] & SPINOR_REG_CYPRESS_CFR1_QUAD_EN)
300 nor->bouncebuf[0] |= SPINOR_REG_CYPRESS_CFR1_QUAD_EN;
303 nor->bouncebuf);
308 cfr1v_written = nor->bouncebuf[0];
313 nor->bouncebuf);
318 if (nor->bouncebuf[0] != cfr1v_written) {
375 nor->bouncebuf);
379 ret = spi_nor_read_sr(nor, &nor->bouncebuf[1]);
387 is3byte = (nor->bouncebuf[0] == nor->bouncebuf[1]);
391 nor->bouncebuf);
396 is4byte = (nor->bouncebuf[0] == nor->bouncebuf[1]);
449 0, nor->bouncebuf);
454 if (nor->bouncebuf[0] & SPINOR_REG_CYPRESS_CFR2_ADRBYT) {
482 0, 0, nor->bouncebuf);
499 if (!(nor->bouncebuf[0] & SPINOR_REG_CYPRESS_CFR3_PGSZ))
535 nor->bouncebuf);
541 if (nor->bouncebuf[0])
921 ret = spi_nor_read_sr(nor, nor->bouncebuf);
925 if (nor->bouncebuf[0] & (SR_E_ERR | SR_P_ERR)) {
926 if (nor->bouncebuf[0] & SR_E_ERR)
946 return !(nor->bouncebuf[0] & SR_WIP);