Home
last modified time | relevance | path

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

/linux/drivers/media/pci/saa7164/
H A Dsaa7164-bus.c309 u32 bytes_to_read, write_distance, curr_grp, curr_gwp, in saa7164_bus_get() local
338 curr_grp = saa7164_readl(bus->m_dwGetReadPos); in saa7164_bus_get()
340 if (curr_gwp == curr_grp) { in saa7164_bus_get()
349 if (curr_gwp >= curr_grp) in saa7164_bus_get()
351 write_distance = curr_gwp - curr_grp; in saa7164_bus_get()
354 write_distance = curr_gwp + bus->m_dwSizeGetRing - curr_grp; in saa7164_bus_get()
363 new_grp = curr_grp + bytes_to_read; in saa7164_bus_get()
368 space_rem = bus->m_dwSizeGetRing - curr_grp; in saa7164_bus_get()
370 memcpy_fromio(&msg_tmp, bus->m_pdwGetRing + curr_grp, space_rem); in saa7164_bus_get()
376 memcpy_fromio(&msg_tmp, bus->m_pdwGetRing + curr_grp, bytes_to_read); in saa7164_bus_get()
[all …]