Searched refs:top1 (Results 1 - 4 of 4) sorted by relevance

/drivers/staging/comedi/drivers/
H A Dpcl816.c773 unsigned int top1, top2, i; local
781 top1 = get_dma_residue(devpriv->dma); /* where is now DMA */
783 if (top1 == top2)
786 if (top1 != top2) {
792 top1 = devpriv->hwdmasize[0] - top1;
793 top1 >>= 1; /* sample position */
794 top2 = top1 - devpriv->ai_poll_ptr;
804 devpriv->ai_poll_ptr = top1; /* new buffer position */
H A Dpcl812.c1166 unsigned int top1, top2, i; local
1175 top1 = get_dma_residue(devpriv->ai_dma);
1177 if (top1 == top2)
1181 if (top1 != top2) {
1186 top1 = devpriv->dmabytestomove[1 - devpriv->next_dma_buf] - top1;
1187 top1 >>= 1; /* sample position */
1188 top2 = top1 - devpriv->ai_poll_ptr;
1199 devpriv->ai_poll_ptr = top1; /* new buffer position */
H A Dpcl818.c681 unsigned int top1, top2, i, bufptr; local
694 top1 = get_dma_residue(devpriv->dma);
696 if (top1 == top2)
700 if (top1 != top2)
702 top1 = devpriv->hwdmasize[0] - top1; /* where is now DMA in buffer */
703 top1 >>= 1;
704 ofs_dats = top1 - devpriv->last_top_dma; /* new samples from last call */
/drivers/media/video/
H A Dsh_mobile_ceu_camera.c275 unsigned long top1, top2; local
313 top1 = CDBYR;
318 top1 = CDAYR;
337 ceu_write(pcdev, top1, phys_addr_top);

Completed in 190 milliseconds