Searched refs:bouncebuf (Results 1 – 9 of 9) sorted by relevance
/linux-6.12.1/drivers/mtd/spi-nor/ |
D | spansion.c | 105 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 …]
|
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()
|
D | swp.c | 170 ret = spi_nor_read_sr(nor, nor->bouncebuf); in spi_nor_sr_lock() 174 status_old = nor->bouncebuf[0]; in spi_nor_sr_lock() 260 ret = spi_nor_read_sr(nor, nor->bouncebuf); in spi_nor_sr_unlock() 264 status_old = nor->bouncebuf[0]; in spi_nor_sr_unlock() 337 ret = spi_nor_read_sr(nor, nor->bouncebuf); in spi_nor_sr_is_locked() 341 return spi_nor_is_locked_sr(nor, ofs, len, nor->bouncebuf[0]); in spi_nor_sr_is_locked()
|
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() 581 ret = micron_st_nor_read_fsr(nor, nor->bouncebuf); in micron_st_nor_ready() 593 if (nor->bouncebuf[0] & (FSR_E_ERR | FSR_P_ERR)) { in micron_st_nor_ready() 594 if (nor->bouncebuf[0] & FSR_E_ERR) in micron_st_nor_ready() 599 if (nor->bouncebuf[0] & FSR_PT_ERR) in micron_st_nor_ready() 618 return sr_ready && !!(nor->bouncebuf[0] & FSR_READY); in micron_st_nor_ready()
|
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 …]
|
D | winbond.c | 271 nor->bouncebuf[0] = ear; in winbond_nor_write_ear() 274 struct spi_mem_op op = WINBOND_NOR_WREAR_OP(nor->bouncebuf); in winbond_nor_write_ear() 282 nor->bouncebuf, 1); in winbond_nor_write_ear()
|
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()
|
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()
|
/linux-6.12.1/include/linux/mtd/ |
D | spi-nor.h | 394 u8 *bouncebuf; member
|