Home
last modified time | relevance | path

Searched refs:bufidx (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/char/xillybus/
Dxillybus_core.c679 int howmany = 0, bufpos = 0, bufidx = 0, bufferdone = 0; in xillybus_read() local
700 bufidx = channel->wr_host_buf_idx; in xillybus_read()
702 howmany = ((channel->wr_buffers[bufidx]->end_offset in xillybus_read()
717 if (bufidx == channel->wr_fpga_buf_idx) { in xillybus_read()
723 if (bufidx >= (channel->num_wr_buffers - 1)) in xillybus_read()
751 channel->wr_buffers[bufidx]->dma_addr, in xillybus_read()
757 channel->wr_buffers[bufidx]->addr in xillybus_read()
767 channel->wr_buffers[bufidx]->dma_addr, in xillybus_read()
780 (bufidx << 12), in xillybus_read()
998 int bufidx, bufidx_minus1; in xillybus_myflush() local
[all …]
/Linux-v5.4/drivers/mtd/spi-nor/
Dmtk-quadspi.c303 int i, bufidx, data; in mtk_nor_write_buffer() local
307 bufidx = 0; in mtk_nor_write_buffer()
309 data = buf[bufidx + 3]<<24 | buf[bufidx + 2]<<16 | in mtk_nor_write_buffer()
310 buf[bufidx + 1]<<8 | buf[bufidx]; in mtk_nor_write_buffer()
311 bufidx += 4; in mtk_nor_write_buffer()