Home
last modified time | relevance | path

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

/openbmc/linux/drivers/comedi/drivers/
H A Dadl_pci9118.c827 dmalen0, scan_bytes); in pci9118_ai_setup_dma()
830 dmalen0 = scan_bytes; in pci9118_ai_setup_dma()
831 if (dmalen0 < 4) { in pci9118_ai_setup_dma()
834 dmalen0); in pci9118_ai_setup_dma()
835 dmalen0 = 4; in pci9118_ai_setup_dma()
863 tmp = dmalen0; in pci9118_ai_setup_dma()
864 dmalen0 = (dmalen0 / scan_bytes) * scan_bytes; in pci9118_ai_setup_dma()
865 dmalen0 &= ~3L; in pci9118_ai_setup_dma()
866 if (!dmalen0) in pci9118_ai_setup_dma()
885 dmalen0 = scanlen; in pci9118_ai_setup_dma()
[all …]
H A Daddi_apci_3120.c210 unsigned int dmalen0 = dmabuf0->size; in apci3120_setup_dma() local
221 if (dmalen0 > (cmd->stop_arg * scan_bytes)) in apci3120_setup_dma()
222 dmalen0 = cmd->stop_arg * scan_bytes; in apci3120_setup_dma()
223 else if (dmalen1 > (cmd->stop_arg * scan_bytes - dmalen0)) in apci3120_setup_dma()
224 dmalen1 = cmd->stop_arg * scan_bytes - dmalen0; in apci3120_setup_dma()
229 if (dmalen0 > scan_bytes) { in apci3120_setup_dma()
230 dmalen0 = scan_bytes; in apci3120_setup_dma()
232 dmalen0 += 2; in apci3120_setup_dma()
243 if (dmalen0 > s->async->prealloc_bufsz) in apci3120_setup_dma()
244 dmalen0 = s->async->prealloc_bufsz; in apci3120_setup_dma()
[all …]