Searched refs:dmalen0 (Results 1 – 2 of 2) sorted by relevance
827 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 …]
210 unsigned int dmalen0 = dmabuf0->size; in apci3120_setup_dma() local221 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 …]