Home
last modified time | relevance | path

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

/drivers/media/pci/saa7164/
Dsaa7164-bus.c125 u32 new_swp, space_rem; in saa7164_bus_set() local
227 space_rem = bus->m_dwSizeSetRing - curr_swp; in saa7164_bus_set()
230 space_rem); in saa7164_bus_set()
235 if (space_rem < sizeof(*msg)) { in saa7164_bus_set()
239 memcpy_toio(bus->m_pdwSetRing + curr_swp, msg, space_rem); in saa7164_bus_set()
240 memcpy_toio(bus->m_pdwSetRing, (u8 *)msg + space_rem, in saa7164_bus_set()
241 sizeof(*msg) - space_rem); in saa7164_bus_set()
243 memcpy_toio(bus->m_pdwSetRing + sizeof(*msg) - space_rem, in saa7164_bus_set()
246 } else if (space_rem == sizeof(*msg)) { in saa7164_bus_set()
258 sizeof(*msg), buf, space_rem - in saa7164_bus_set()
[all …]