Searched refs:dma_pos (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/staging/comedi/drivers/
H A Dadl_pci9118.c413 unsigned int dma_pos = devpriv->ai_act_dmapos; pci9118_ai_samples_ready() local
434 if (dma_pos < start_pos) { pci9118_ai_samples_ready()
436 x = start_pos - dma_pos; pci9118_ai_samples_ready()
439 dma_pos += x; pci9118_ai_samples_ready()
444 if (dma_pos < stop_pos) { pci9118_ai_samples_ready()
446 x = stop_pos - dma_pos; pci9118_ai_samples_ready()
450 dma_pos += x; pci9118_ai_samples_ready()
470 unsigned int dma_pos = devpriv->ai_act_dmapos; pci9118_ai_dma_xfer() local
476 dma_pos += n_raw_samples; pci9118_ai_dma_xfer()
484 if (dma_pos < start_pos) { pci9118_ai_dma_xfer()
486 x = start_pos - dma_pos; pci9118_ai_dma_xfer()
489 dma_pos += x; pci9118_ai_dma_xfer()
494 if (dma_pos < stop_pos) { pci9118_ai_dma_xfer()
496 x = stop_pos - dma_pos; pci9118_ai_dma_xfer()
500 dma_pos += x; pci9118_ai_dma_xfer()
509 devpriv->ai_act_dmapos = dma_pos % span_len; pci9118_ai_dma_xfer()
/linux-4.4.14/drivers/dma/
H A Dsirf-dma.c653 unsigned long dma_pos; sirfsoc_dma_tx_status() local
678 dma_pos = readl_relaxed(sdma->base + SIRFSOC_DMA_CUR_DATA_ADDR); sirfsoc_dma_tx_status()
680 dma_pos = readl_relaxed( sirfsoc_dma_tx_status()
684 residue = dma_request_bytes - (dma_pos - sdesc->addr); sirfsoc_dma_tx_status()
/linux-4.4.14/drivers/vme/
H A Dvme.c706 struct list_head *dma_pos = NULL; vme_dma_request() local
721 list_for_each(dma_pos, &bridge->dma_resources) { vme_dma_request()
722 dma_ctrlr = list_entry(dma_pos, vme_dma_request()

Completed in 384 milliseconds