Searched refs:bouncebuf (Results 1 – 10 of 10) sorted by relevance
| /linux/drivers/mtd/spi-nor/ |
| H A D | spansion.c | 113 0, nor->bouncebuf); in cypress_nor_sr_ready_and_clear_reg() 126 if (nor->bouncebuf[0] & (SR_E_ERR | SR_P_ERR)) { in cypress_nor_sr_ready_and_clear_reg() 127 if (nor->bouncebuf[0] & SR_E_ERR) in cypress_nor_sr_ready_and_clear_reg() 141 return !(nor->bouncebuf[0] & SR_WIP); in cypress_nor_sr_ready_and_clear_reg() 173 u8 *buf = nor->bouncebuf; in cypress_nor_set_memlat() 203 u8 *buf = nor->bouncebuf; in cypress_nor_set_octal_dtr_bits() 217 u8 *buf = nor->bouncebuf; in cypress_nor_octal_dtr_en() 250 u8 *buf = nor->bouncebuf; in cypress_nor_set_single_spi_bits() 267 u8 *buf = nor->bouncebuf; in cypress_nor_octal_dtr_dis() 300 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() 139 ret = spi_nor_read_sr(nor, nor->bouncebuf); in atmel_nor_is_global_protected() 143 return ((nor->bouncebuf[0] & ATMEL_SR_GLOBAL_PROTECT_MASK) == ATMEL_SR_GLOBAL_PROTECT_MASK); in atmel_nor_is_global_protected()
|
| H A D | swp.c | 169 ret = spi_nor_read_sr(nor, nor->bouncebuf); in spi_nor_sr_lock() 173 status_old = nor->bouncebuf[0]; in spi_nor_sr_lock() 258 ret = spi_nor_read_sr(nor, nor->bouncebuf); in spi_nor_sr_unlock() 262 status_old = nor->bouncebuf[0]; in spi_nor_sr_unlock() 335 ret = spi_nor_read_sr(nor, nor->bouncebuf); in spi_nor_sr_is_locked() 339 return spi_nor_is_locked_sr(nor, ofs, len, nor->bouncebuf[0]); in spi_nor_sr_is_locked()
|
| H A D | winbond.c | 93 nor->bouncebuf[0] = die; in winbond_nor_select_die() 96 struct spi_mem_op op = WINBOND_NOR_SELDIE_OP(nor->bouncebuf); in winbond_nor_select_die() 104 nor->bouncebuf, 1); in winbond_nor_select_die() 384 nor->bouncebuf[0] = ear; in winbond_nor_write_ear() 387 struct spi_mem_op op = WINBOND_NOR_WREAR_OP(nor->bouncebuf); in winbond_nor_write_ear() 395 nor->bouncebuf, 1); in winbond_nor_write_ear()
|
| H A D | core.c | 140 op->data.buf.in = nor->bouncebuf; in spi_nor_spimem_bounce() 282 memcpy(nor->bouncebuf, buf, op.data.nbytes); in spi_nor_spimem_write_data() 591 nor->bouncebuf[0] = enable << 7; in spi_nor_set_4byte_addr_mode_brwr() 594 struct spi_mem_op op = SPI_NOR_BRWR_OP(nor->bouncebuf); in spi_nor_set_4byte_addr_mode_brwr() 601 nor->bouncebuf, 1); in spi_nor_set_4byte_addr_mode_brwr() 621 ret = spi_nor_read_sr(nor, nor->bouncebuf); in spi_nor_sr_ready() 625 return !(nor->bouncebuf[0] & SR_WIP); in spi_nor_sr_ready() 833 nor->bouncebuf[0] = sr1; in spi_nor_write_sr1_and_check() 835 ret = spi_nor_write_sr(nor, nor->bouncebuf, 1); in spi_nor_write_sr1_and_check() 839 ret = spi_nor_read_sr(nor, nor->bouncebuf); in spi_nor_write_sr1_and_check() [all …]
|
| H A D | micron-st.c | 54 u8 *buf = nor->bouncebuf; in micron_st_nor_octal_dtr_en() 91 u8 *buf = nor->bouncebuf; in micron_st_nor_octal_dtr_dis() 592 ret = micron_st_nor_read_fsr(nor, nor->bouncebuf); in micron_st_nor_ready() 604 if (nor->bouncebuf[0] & (FSR_E_ERR | FSR_P_ERR)) { in micron_st_nor_ready() 605 if (nor->bouncebuf[0] & FSR_E_ERR) in micron_st_nor_ready() 610 if (nor->bouncebuf[0] & FSR_PT_ERR) in micron_st_nor_ready() 629 return sr_ready && !!(nor->bouncebuf[0] & FSR_READY); in micron_st_nor_ready()
|
| 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 | macronix.c | 245 u8 *buf = nor->bouncebuf, i; in macronix_nor_octal_dtr_en() 281 u8 *buf = nor->bouncebuf; in macronix_nor_octal_dtr_dis()
|
| H A D | otp.c | 178 u8 *cr = nor->bouncebuf; in spi_nor_otp_lock_sr2() 210 u8 *cr = nor->bouncebuf; in spi_nor_otp_is_locked_sr2()
|
| /linux/include/linux/mtd/ |
| H A D | spi-nor.h | 394 u8 *bouncebuf; member
|