Home
last modified time | relevance | path

Searched refs:next_dma_buf (Results 1 – 5 of 5) sorted by relevance

/drivers/staging/comedi/drivers/
Dpcl812.c521 int next_dma_buf; /* which buffer is next to use */ member
598 devpriv->next_dma_buf = 0; in pcl812_ai_setup_dma()
614 devpriv->next_dma_buf = 1 - devpriv->next_dma_buf; in pcl812_ai_setup_next_dma()
618 set_dma_addr(devpriv->dma, devpriv->hwdmaptr[devpriv->next_dma_buf]); in pcl812_ai_setup_next_dma()
621 devpriv->dmabytestomove[devpriv->next_dma_buf]); in pcl812_ai_setup_next_dma()
626 next_dma_buf]); in pcl812_ai_setup_next_dma()
912 ptr = (unsigned short *)devpriv->dmabuf[devpriv->next_dma_buf]; in pcl812_handle_dma()
913 len = (devpriv->dmabytestomove[devpriv->next_dma_buf] >> 1) - in pcl812_handle_dma()
970 top1 = devpriv->dmabytestomove[1 - devpriv->next_dma_buf] - top1; in pcl812_ai_poll()
980 devpriv->next_dma_buf], in pcl812_ai_poll()
Dpcl816.c122 int next_dma_buf; /* which DMA buffer will be used next round */ member
176 devpriv->next_dma_buf = 0; in pcl816_ai_setup_dma()
196 devpriv->next_dma_buf = 1 - devpriv->next_dma_buf; in pcl816_ai_setup_next_dma()
200 devpriv->hwdmaptr[devpriv->next_dma_buf]); in pcl816_ai_setup_next_dma()
346 ptr = (unsigned short *)devpriv->dmabuf[devpriv->next_dma_buf]; in pcl816_interrupt()
563 next_dma_buf], in pcl816_ai_poll()
Dpcl818.c311 int next_dma_buf; /* which DMA buffer will be used next round */ member
363 devpriv->next_dma_buf = 0; in pcl818_ai_setup_dma()
381 devpriv->next_dma_buf = 1 - devpriv->next_dma_buf; in pcl818_ai_setup_next_dma()
387 devpriv->hwdmaptr[devpriv->next_dma_buf]); in pcl818_ai_setup_next_dma()
579 ptr = (unsigned short *)devpriv->dmabuf[1 - devpriv->next_dma_buf]; in pcl818_handle_dma()
Dadl_pci9118.c640 unsigned int next_dma_buf, samplesinbuf, sampls, m; in interrupt_pci9118_ai_dma() local
648 next_dma_buf = 1 - devpriv->dma_actbuf; in interrupt_pci9118_ai_dma()
649 pci9118_amcc_setup_dma(dev, next_dma_buf); in interrupt_pci9118_ai_dma()
651 interrupt_pci9118_ai_mode4_switch(dev, next_dma_buf); in interrupt_pci9118_ai_dma()
/drivers/staging/comedi/drivers/addi-data/
Dhwdrv_apci3120.c1255 unsigned int next_dma_buf, samplesinbuf; in apci3120_interrupt_dma() local
1275 next_dma_buf = 1 - devpriv->ui_DmaActualBuffer; in apci3120_interrupt_dma()
1287 var = devpriv->ul_DmaBufferHw[next_dma_buf]; in apci3120_interrupt_dma()
1289 var = devpriv->ul_DmaBufferHw[next_dma_buf]; in apci3120_interrupt_dma()
1300 var = devpriv->ui_DmaBufferUsesize[next_dma_buf]; in apci3120_interrupt_dma()
1302 var = devpriv->ui_DmaBufferUsesize[next_dma_buf]; in apci3120_interrupt_dma()