Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/media/video/saa7164/
Dsaa7164-bus.c311 u32 bytes_to_read, write_distance, curr_grp, curr_gwp, in saa7164_bus_get() local
339 curr_gwp = le32_to_cpu(saa7164_readl(bus->m_dwGetWritePos)); in saa7164_bus_get()
342 if (curr_gwp == curr_grp) { in saa7164_bus_get()
351 if (curr_gwp >= curr_grp) in saa7164_bus_get()
353 write_distance = curr_gwp - curr_grp; in saa7164_bus_get()
356 write_distance = curr_gwp + bus->m_dwSizeGetRing - curr_grp; in saa7164_bus_get()
406 if (curr_gwp >= curr_grp) in saa7164_bus_get()
408 write_distance = curr_gwp - curr_grp; in saa7164_bus_get()
411 write_distance = curr_gwp + bus->m_dwSizeGetRing - curr_grp; in saa7164_bus_get()