Searched refs:dmalen1 (Results 1 – 2 of 2) sorted by relevance
808 unsigned int dmalen0, dmalen1, i; in Compute_and_setup_dma() local811 dmalen1 = dmabuf1->size; in Compute_and_setup_dma()817 if (dmalen1 > s->async->prealloc_bufsz) { in Compute_and_setup_dma()819 dmalen1 = s->async->prealloc_bufsz & ~3L; in Compute_and_setup_dma()842 if (dmalen1 < (devpriv->ai_n_realscanlen << 1)) { in Compute_and_setup_dma()847 dmalen1, devpriv->ai_n_realscanlen << 1); in Compute_and_setup_dma()850 dmalen1 = devpriv->ai_n_realscanlen << 1; in Compute_and_setup_dma()851 if (dmalen1 < 4) { in Compute_and_setup_dma()854 dmalen1); in Compute_and_setup_dma()855 dmalen1 = 4; in Compute_and_setup_dma()[all …]
789 0, dmalen1 = 0, ui_TimerValue2 = in apci3120_cyclic_ai() local1022 dmalen1 = devpriv->ui_DmaBufferSize[1]; in apci3120_cyclic_ai()1031 } else if (dmalen1 > (cmd->stop_arg * scan_bytes - in apci3120_cyclic_ai()1033 dmalen1 = cmd->stop_arg * scan_bytes - in apci3120_cyclic_ai()1044 if (dmalen1 > scan_bytes) { in apci3120_cyclic_ai()1045 dmalen1 = scan_bytes; in apci3120_cyclic_ai()1047 dmalen1 -= 2; in apci3120_cyclic_ai()1048 if (dmalen1 < 4) in apci3120_cyclic_ai()1049 dmalen1 = 4; in apci3120_cyclic_ai()1054 if (dmalen1 > s->async->prealloc_bufsz) in apci3120_cyclic_ai()[all …]