Home
last modified time | relevance | path

Searched refs:curr_grp (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
340 curr_grp = le32_to_cpu(saa7164_readl(bus->m_dwGetReadPos)); 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()
365 new_grp = curr_grp + bytes_to_read; in saa7164_bus_get()
370 space_rem = bus->m_dwSizeGetRing - curr_grp; in saa7164_bus_get()
372 memcpy(&msg_tmp, bus->m_pdwGetRing + curr_grp, space_rem); in saa7164_bus_get()
378 memcpy(&msg_tmp, bus->m_pdwGetRing + curr_grp, bytes_to_read); in saa7164_bus_get()
[all …]