Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/media/pci/netup_unidvb/
Dnetup_unidvb_core.c207 u64 addr_curr; in netup_dma_interrupt() local
213 addr_curr = ((u64)readl(&dma->regs->curr_addr_hi) << 32) | in netup_dma_interrupt()
218 if (addr_curr < dma->addr_phys || in netup_dma_interrupt()
219 addr_curr > dma->addr_phys + dma->ring_buffer_size) { in netup_dma_interrupt()
220 if (addr_curr != 0) { in netup_dma_interrupt()
223 __func__, addr_curr, (u64)dma->addr_phys, in netup_dma_interrupt()
228 size = (addr_curr >= dma->addr_last) ? in netup_dma_interrupt()
229 (u32)(addr_curr - dma->addr_last) : in netup_dma_interrupt()
230 (u32)(dma->ring_buffer_size - (dma->addr_last - addr_curr)); in netup_dma_interrupt()
240 dma->addr_last = addr_curr; in netup_dma_interrupt()