Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/char/xillybus/
Dxillybus_core.c703 int howmany = 0, bufpos = 0, bufidx = 0, bufferdone = 0; in xillybus_read() local
724 bufidx = channel->wr_host_buf_idx; in xillybus_read()
726 howmany = ((channel->wr_buffers[bufidx]->end_offset in xillybus_read()
741 if (bufidx == channel->wr_fpga_buf_idx) { in xillybus_read()
747 if (bufidx >= (channel->num_wr_buffers - 1)) in xillybus_read()
774 channel->wr_buffers[bufidx]->dma_addr, in xillybus_read()
780 channel->wr_buffers[bufidx]->addr in xillybus_read()
789 channel->wr_buffers[bufidx]->dma_addr, in xillybus_read()
802 (bufidx << 12), in xillybus_read()
1020 int bufidx, bufidx_minus1; in xillybus_myflush() local
[all …]
/linux-6.1.9/drivers/net/ethernet/ibm/
Dibmvnic.c498 unsigned int bufidx, in map_rxpool_buf_to_ltb() argument
506 WARN_ON(bufidx >= rxpool->size); in map_rxpool_buf_to_ltb()
511 if (bufidx < nbufs) in map_rxpool_buf_to_ltb()
513 bufidx -= nbufs; in map_rxpool_buf_to_ltb()
517 *offset = bufidx * rxpool->buff_size; in map_rxpool_buf_to_ltb()
531 unsigned int bufidx, in map_txpool_buf_to_ltb() argument
539 WARN_ON_ONCE(bufidx >= txpool->num_buffers); in map_txpool_buf_to_ltb()
544 if (bufidx < nbufs) in map_txpool_buf_to_ltb()
546 bufidx -= nbufs; in map_txpool_buf_to_ltb()
550 *offset = bufidx * txpool->buf_size; in map_txpool_buf_to_ltb()
[all …]