Searched refs:bouncebuf (Results 1 – 12 of 12) sorted by relevance
/openbmc/linux/drivers/mtd/spi-nor/ |
H A D | spansion.c | 104 0, nor->bouncebuf); in cypress_nor_sr_ready_and_clear_reg() 117 if (nor->bouncebuf[0] & (SR_E_ERR | SR_P_ERR)) { in cypress_nor_sr_ready_and_clear_reg() 118 if (nor->bouncebuf[0] & SR_E_ERR) in cypress_nor_sr_ready_and_clear_reg() 132 return !(nor->bouncebuf[0] & SR_WIP); in cypress_nor_sr_ready_and_clear_reg() 164 u8 *buf = nor->bouncebuf; in cypress_nor_set_memlat() 194 u8 *buf = nor->bouncebuf; in cypress_nor_set_octal_dtr_bits() 208 u8 *buf = nor->bouncebuf; in cypress_nor_octal_dtr_en() 241 u8 *buf = nor->bouncebuf; in cypress_nor_set_single_spi_bits() 258 u8 *buf = nor->bouncebuf; in cypress_nor_octal_dtr_dis() 291 nor->bouncebuf); in cypress_nor_quad_enable_volatile_reg() [all …]
|
H A D | atmel.c | 81 ret = spi_nor_read_sr(nor, nor->bouncebuf); in atmel_nor_set_global_protection() 85 sr = nor->bouncebuf[0]; in atmel_nor_set_global_protection() 111 nor->bouncebuf[0] = sr; in atmel_nor_set_global_protection() 118 return spi_nor_write_sr(nor, nor->bouncebuf, 1); in atmel_nor_set_global_protection() 141 ret = spi_nor_read_sr(nor, nor->bouncebuf); in atmel_nor_is_global_protected() 145 return ((nor->bouncebuf[0] & ATMEL_SR_GLOBAL_PROTECT_MASK) == ATMEL_SR_GLOBAL_PROTECT_MASK); in atmel_nor_is_global_protected()
|
H A D | xilinx.c | 109 ret = xilinx_nor_read_sr(nor, nor->bouncebuf); in xilinx_nor_sr_ready() 113 return !!(nor->bouncebuf[0] & XSR_RDY); in xilinx_nor_sr_ready() 122 ret = xilinx_nor_read_sr(nor, nor->bouncebuf); in xilinx_nor_setup() 142 if (nor->bouncebuf[0] & XSR_PAGESIZE) { in xilinx_nor_setup()
|
H A D | micron-st.c | 53 u8 *buf = nor->bouncebuf; in micron_st_nor_octal_dtr_en() 90 u8 *buf = nor->bouncebuf; in micron_st_nor_octal_dtr_dis() 385 ret = micron_st_nor_read_fsr(nor, nor->bouncebuf); in micron_st_nor_ready() 397 if (nor->bouncebuf[0] & (FSR_E_ERR | FSR_P_ERR)) { in micron_st_nor_ready() 398 if (nor->bouncebuf[0] & FSR_E_ERR) in micron_st_nor_ready() 403 if (nor->bouncebuf[0] & FSR_PT_ERR) in micron_st_nor_ready() 422 return sr_ready && !!(nor->bouncebuf[0] & FSR_READY); in micron_st_nor_ready()
|
H A D | swp.c | 166 ret = spi_nor_read_sr(nor, nor->bouncebuf); in spi_nor_sr_lock() 170 status_old = nor->bouncebuf[0]; in spi_nor_sr_lock() 256 ret = spi_nor_read_sr(nor, nor->bouncebuf); in spi_nor_sr_unlock() 260 status_old = nor->bouncebuf[0]; in spi_nor_sr_unlock() 333 ret = spi_nor_read_sr(nor, nor->bouncebuf); in spi_nor_sr_is_locked() 337 return spi_nor_is_locked_sr(nor, ofs, len, nor->bouncebuf[0]); in spi_nor_sr_is_locked()
|
H A D | core.c | 135 op->data.buf.in = nor->bouncebuf; in spi_nor_spimem_bounce() 277 memcpy(nor->bouncebuf, buf, op.data.nbytes); in spi_nor_spimem_write_data() 586 nor->bouncebuf[0] = enable << 7; in spi_nor_set_4byte_addr_mode_brwr() 589 struct spi_mem_op op = SPI_NOR_BRWR_OP(nor->bouncebuf); in spi_nor_set_4byte_addr_mode_brwr() 596 nor->bouncebuf, 1); in spi_nor_set_4byte_addr_mode_brwr() 616 ret = spi_nor_read_sr(nor, nor->bouncebuf); in spi_nor_sr_ready() 620 return !(nor->bouncebuf[0] & SR_WIP); in spi_nor_sr_ready() 834 nor->bouncebuf[0] = sr1; in spi_nor_write_sr1_and_check() 836 ret = spi_nor_write_sr(nor, nor->bouncebuf, 1); in spi_nor_write_sr1_and_check() 840 ret = spi_nor_read_sr(nor, nor->bouncebuf); in spi_nor_write_sr1_and_check() [all …]
|
H A D | winbond.c | 162 nor->bouncebuf[0] = ear; in winbond_nor_write_ear() 165 struct spi_mem_op op = WINBOND_NOR_WREAR_OP(nor->bouncebuf); in winbond_nor_write_ear() 173 nor->bouncebuf, 1); in winbond_nor_write_ear()
|
H A D | sst.c | 29 ret = spi_nor_read_cr(nor, nor->bouncebuf); in sst26vf_nor_unlock() 33 if (!(nor->bouncebuf[0] & SST26VF_CR_BPNV)) { in sst26vf_nor_unlock()
|
H A D | otp.c | 177 u8 *cr = nor->bouncebuf; in spi_nor_otp_lock_sr2() 209 u8 *cr = nor->bouncebuf; in spi_nor_otp_is_locked_sr2()
|
/openbmc/u-boot/common/ |
H A D | Makefile | 90 obj-$(CONFIG_BOUNCE_BUFFER) += bouncebuf.o
|
/openbmc/linux/include/linux/mtd/ |
H A D | spi-nor.h | 394 u8 *bouncebuf; member
|
/openbmc/linux/ |
H A D | opengrok1.0.log | [all...] |