Lines Matching refs:bouncebuf
105 0, nor->bouncebuf);
118 if (nor->bouncebuf[0] & (SR_E_ERR | SR_P_ERR)) {
119 if (nor->bouncebuf[0] & SR_E_ERR)
133 return !(nor->bouncebuf[0] & SR_WIP);
165 u8 *buf = nor->bouncebuf;
195 u8 *buf = nor->bouncebuf;
209 u8 *buf = nor->bouncebuf;
242 u8 *buf = nor->bouncebuf;
259 u8 *buf = nor->bouncebuf;
292 nor->bouncebuf);
298 if (nor->bouncebuf[0] & SPINOR_REG_CYPRESS_CFR1_QUAD_EN)
302 nor->bouncebuf[0] |= SPINOR_REG_CYPRESS_CFR1_QUAD_EN;
305 nor->bouncebuf);
310 cfr1v_written = nor->bouncebuf[0];
315 nor->bouncebuf);
320 if (nor->bouncebuf[0] != cfr1v_written) {
377 nor->bouncebuf);
381 ret = spi_nor_read_sr(nor, &nor->bouncebuf[1]);
389 is3byte = (nor->bouncebuf[0] == nor->bouncebuf[1]);
393 nor->bouncebuf);
398 is4byte = (nor->bouncebuf[0] == nor->bouncebuf[1]);
451 0, nor->bouncebuf);
456 if (nor->bouncebuf[0] & SPINOR_REG_CYPRESS_CFR2_ADRBYT) {
484 0, 0, nor->bouncebuf);
501 if (!(nor->bouncebuf[0] & SPINOR_REG_CYPRESS_CFR3_PGSZ))
537 nor->bouncebuf);
543 if (nor->bouncebuf[0])
1033 ret = spi_nor_read_sr(nor, nor->bouncebuf);
1037 if (nor->bouncebuf[0] & (SR_E_ERR | SR_P_ERR)) {
1038 if (nor->bouncebuf[0] & SR_E_ERR)
1058 return !(nor->bouncebuf[0] & SR_WIP);