Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/media/pci/saa7164/
Dsaa7164-bus.c309 u32 bytes_to_read, write_distance, curr_grp, curr_gwp, in saa7164_bus_get() local
348 write_distance = 0; 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()
356 if (bytes_to_read > write_distance) { in saa7164_bus_get()
407 write_distance = 0; in saa7164_bus_get()
410 write_distance = curr_gwp - curr_grp; in saa7164_bus_get()
413 write_distance = curr_gwp + bus->m_dwSizeGetRing - curr_grp; in saa7164_bus_get()
415 if (bytes_to_read > write_distance) { in saa7164_bus_get()