Home
last modified time | relevance | path

Searched refs:bouncebuf (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/mtd/spi-nor/
A Datmel.c79 ret = spi_nor_read_sr(nor, nor->bouncebuf); in atmel_set_global_protection()
83 sr = nor->bouncebuf[0]; in atmel_set_global_protection()
109 nor->bouncebuf[0] = sr; in atmel_set_global_protection()
116 return spi_nor_write_sr(nor, nor->bouncebuf, 1); in atmel_set_global_protection()
136 ret = spi_nor_read_sr(nor, nor->bouncebuf); in atmel_is_global_protected()
140 return ((nor->bouncebuf[0] & ATMEL_SR_GLOBAL_PROTECT_MASK) == ATMEL_SR_GLOBAL_PROTECT_MASK); in atmel_is_global_protected()
A Dcore.c135 op->data.buf.in = nor->bouncebuf; in spi_nor_spimem_bounce()
558 nor->bouncebuf, 1); in spansion_set_4byte_addr_mode()
578 nor->bouncebuf[0] = ear; in spi_nor_write_ear()
592 nor->bouncebuf, 1); in spi_nor_write_ear()
944 nor->bouncebuf[0] = sr1; in spi_nor_write_sr1_and_check()
975 u8 *sr_cr = nor->bouncebuf; in spi_nor_write_16bit_sr_and_check()
1040 u8 *sr_cr = nor->bouncebuf; in spi_nor_write_16bit_cr_and_check()
1798 u8 *sr2 = nor->bouncebuf; in spi_nor_sr2_bit7_quad_enable()
1869 u8 *id = nor->bouncebuf; in spi_nor_read_id()
3104 if (!nor->bouncebuf) in spi_nor_scan()
[all …]
A Dswp.c166 ret = spi_nor_read_sr(nor, nor->bouncebuf); in spi_nor_sr_lock()
170 status_old = nor->bouncebuf[0]; in spi_nor_sr_lock()
251 ret = spi_nor_read_sr(nor, nor->bouncebuf); in spi_nor_sr_unlock()
255 status_old = nor->bouncebuf[0]; in spi_nor_sr_unlock()
328 ret = spi_nor_read_sr(nor, nor->bouncebuf); in spi_nor_sr_is_locked()
332 return spi_nor_is_locked_sr(nor, ofs, len, nor->bouncebuf[0]); in spi_nor_sr_is_locked()
A Dxilinx.c45 ret = spi_nor_xread_sr(nor, nor->bouncebuf); in xilinx_nor_setup()
65 if (nor->bouncebuf[0] & XSR_PAGESIZE) { in xilinx_nor_setup()
A Dspansion.c35 u8 *buf = nor->bouncebuf; in spi_nor_cypress_octal_dtr_enable()
156 SPI_MEM_OP_DATA_IN(1, nor->bouncebuf, 1)); in s28hs512t_post_bfpt_fixup()
163 if (nor->bouncebuf[0] & SPINOR_REG_CYPRESS_CFR3V_PGSZ) in s28hs512t_post_bfpt_fixup()
A Dsst.c26 ret = spi_nor_read_cr(nor, nor->bouncebuf); in sst26vf_unlock()
30 if (!(nor->bouncebuf[0] & SST26VF_CR_BPNV)) { in sst26vf_unlock()
A Dotp.c177 u8 *cr = nor->bouncebuf; in spi_nor_otp_lock_sr2()
209 u8 *cr = nor->bouncebuf; in spi_nor_otp_is_locked_sr2()
A Dmicron-st.c22 u8 *buf = nor->bouncebuf; in spi_nor_micron_octal_dtr_enable()
/linux/drivers/net/wan/
A Dcosa.c145 char *bouncebuf; member
404 kfree(cosa->bouncebuf); in cosa_exit()
535 cosa->bouncebuf = kmalloc(COSA_MTU, GFP_KERNEL | GFP_DMA); in cosa_probe()
536 if (!cosa->bouncebuf) { in cosa_probe()
596 kfree(cosa->bouncebuf); in cosa_probe()
1715 memcpy(cosa->bouncebuf, cosa->chan[cosa->txchan].txbuf, in tx_interrupt()
1717 cosa->txbuf = cosa->bouncebuf; in tx_interrupt()
1867 cosa->rxbuf = cosa->bouncebuf; in rx_interrupt()
1878 set_dma_addr(cosa->dma, virt_to_bus(cosa->bouncebuf)); in rx_interrupt()
1923 if (cosa->rxbuf == cosa->bouncebuf) in eot_interrupt()
[all …]
/linux/include/linux/mtd/
A Dspi-nor.h400 u8 *bouncebuf; member

Completed in 20 milliseconds