Lines Matching refs:newptr
716 unsigned long newptr; in dac_dma_interrupt() local
738 newptr = virt_to_phys(dac->nextOut) + dac->dma_fragsize; in dac_dma_interrupt()
739 if (newptr >= dac->dmaaddr + dac->dmasize) in dac_dma_interrupt()
740 newptr -= dac->dmasize; in dac_dma_interrupt()
757 set_dma_addr0(dac->dmanr, newptr); in dac_dma_interrupt()
762 set_dma_addr1(dac->dmanr, newptr); in dac_dma_interrupt()
797 unsigned long newptr; in adc_dma_interrupt() local
828 newptr = virt_to_phys(adc->nextIn) + adc->dma_fragsize; in adc_dma_interrupt()
829 if (newptr >= adc->dmaaddr + adc->dmasize) in adc_dma_interrupt()
830 newptr -= adc->dmasize; in adc_dma_interrupt()
838 set_dma_addr0(adc->dmanr, newptr); in adc_dma_interrupt()
843 set_dma_addr1(adc->dmanr, newptr); in adc_dma_interrupt()