Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/media/pci/saa7164/
Dsaa7164-bus.c124 u32 bytes_to_write, free_write_space, timeout, curr_srp, curr_swp; in saa7164_bus_set() local
155 curr_srp = saa7164_readl(bus->m_dwSetReadPos); in saa7164_bus_set()
159 if (curr_srp > curr_swp) in saa7164_bus_set()
161 free_write_space = curr_srp - curr_swp; in saa7164_bus_set()
164 free_write_space = (curr_srp + bus->m_dwSizeSetRing) - curr_swp; in saa7164_bus_set()
172 dprintk(DBGLVL_BUS, "%s() curr_srp = %x\n", __func__, curr_srp); in saa7164_bus_set()
189 curr_srp = saa7164_readl(bus->m_dwSetReadPos); in saa7164_bus_set()
192 if (curr_srp > curr_swp) in saa7164_bus_set()
194 free_write_space = curr_srp - curr_swp; in saa7164_bus_set()
197 free_write_space = (curr_srp + bus->m_dwSizeSetRing) - in saa7164_bus_set()