Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/media/video/saa7164/
Dsaa7164-bus.c138 u32 bytes_to_write, free_write_space, timeout, curr_srp, curr_swp; in saa7164_bus_set() local
173 curr_swp = le32_to_cpu(saa7164_readl(bus->m_dwSetWritePos)); in saa7164_bus_set()
176 if (curr_srp > curr_swp) in saa7164_bus_set()
178 free_write_space = curr_srp - curr_swp; in saa7164_bus_set()
181 free_write_space = (curr_srp + bus->m_dwSizeSetRing) - curr_swp; in saa7164_bus_set()
190 dprintk(DBGLVL_BUS, "%s() curr_swp = %x\n", __func__, curr_swp); in saa7164_bus_set()
209 if (curr_srp > curr_swp) in saa7164_bus_set()
211 free_write_space = curr_srp - curr_swp; in saa7164_bus_set()
215 curr_swp; in saa7164_bus_set()
220 new_swp = curr_swp + bytes_to_write; in saa7164_bus_set()
[all …]