Home
last modified time | relevance | path

Searched refs:samplesinbuf (Results 1 – 3 of 3) sorted by relevance

/drivers/staging/comedi/drivers/addi-data/
Dhwdrv_apci3120.c1255 unsigned int next_dma_buf, samplesinbuf; in apci3120_interrupt_dma() local
1259 samplesinbuf = in apci3120_interrupt_dma()
1263 if (samplesinbuf < in apci3120_interrupt_dma()
1267 if (samplesinbuf & 1) { in apci3120_interrupt_dma()
1272 samplesinbuf = samplesinbuf >> 1; /* number of received samples */ in apci3120_interrupt_dma()
1325 if (samplesinbuf) { in apci3120_interrupt_dma()
1328 ui_DmaActualBuffer], samplesinbuf); in apci3120_interrupt_dma()
/drivers/staging/comedi/drivers/
Dadv_pci1710.c833 int m, samplesinbuf; in pci1710_handle_fifo() local
850 samplesinbuf = this_board->fifo_half_size; in pci1710_handle_fifo()
851 if (samplesinbuf * sizeof(short) >= s->async->prealloc_bufsz) { in pci1710_handle_fifo()
855 samplesinbuf -= m; in pci1710_handle_fifo()
858 if (samplesinbuf) { in pci1710_handle_fifo()
859 if (move_block_from_fifo(dev, s, samplesinbuf, 1)) in pci1710_handle_fifo()
Dadl_pci9118.c640 unsigned int next_dma_buf, samplesinbuf, sampls, m; in interrupt_pci9118_ai_dma() local
642 samplesinbuf = dmabuf->use_size >> 1; /* number of received samples */ in interrupt_pci9118_ai_dma()
654 if (samplesinbuf) { in interrupt_pci9118_ai_dma()
658 move_block_from_dma(dev, s, dmabuf->virt, samplesinbuf); in interrupt_pci9118_ai_dma()