Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/comedi/drivers/
Dadl_pci9118.c806 unsigned int dmalen1 = dmabuf1->size; in pci9118_ai_setup_dma() local
815 if (dmalen1 > s->async->prealloc_bufsz) { in pci9118_ai_setup_dma()
817 dmalen1 = s->async->prealloc_bufsz & ~3L; in pci9118_ai_setup_dma()
840 if (dmalen1 < scan_bytes) { in pci9118_ai_setup_dma()
845 dmalen1, scan_bytes); in pci9118_ai_setup_dma()
848 dmalen1 = scan_bytes; in pci9118_ai_setup_dma()
849 if (dmalen1 < 4) { in pci9118_ai_setup_dma()
852 dmalen1); in pci9118_ai_setup_dma()
853 dmalen1 = 4; in pci9118_ai_setup_dma()
868 tmp = dmalen1; in pci9118_ai_setup_dma()
[all …]
Daddi_apci_3120.c211 unsigned int dmalen1 = dmabuf1->size; in apci3120_setup_dma() local
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()
234 if (dmalen1 > scan_bytes) { in apci3120_setup_dma()
235 dmalen1 = scan_bytes; in apci3120_setup_dma()
237 dmalen1 -= 2; in apci3120_setup_dma()
238 if (dmalen1 < 4) in apci3120_setup_dma()
239 dmalen1 = 4; in apci3120_setup_dma()
245 if (dmalen1 > s->async->prealloc_bufsz) in apci3120_setup_dma()
246 dmalen1 = s->async->prealloc_bufsz; in apci3120_setup_dma()
[all …]