Home
last modified time | relevance | path

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

/drivers/char/xillybus/
Dxillybus_core.c682 int howmany = 0, bufpos = 0, bufidx = 0, bufferdone = 0; in xillybus_read() local
703 bufidx = channel->wr_host_buf_idx; in xillybus_read()
705 howmany = ((channel->wr_buffers[bufidx]->end_offset in xillybus_read()
720 if (bufidx == channel->wr_fpga_buf_idx) { in xillybus_read()
726 if (bufidx >= (channel->num_wr_buffers - 1)) in xillybus_read()
754 channel->wr_buffers[bufidx]->dma_addr, in xillybus_read()
760 channel->wr_buffers[bufidx]->addr in xillybus_read()
770 channel->wr_buffers[bufidx]->dma_addr, in xillybus_read()
783 (bufidx << 12), in xillybus_read()
1001 int bufidx, bufidx_minus1; in xillybus_myflush() local
[all …]
/drivers/mtd/spi-nor/
Dmtk-quadspi.c285 int i, bufidx, data; in mt8173_nor_write_buffer() local
289 bufidx = 0; in mt8173_nor_write_buffer()
291 data = buf[bufidx + 3]<<24 | buf[bufidx + 2]<<16 | in mt8173_nor_write_buffer()
292 buf[bufidx + 1]<<8 | buf[bufidx]; in mt8173_nor_write_buffer()
293 bufidx += 4; in mt8173_nor_write_buffer()