space_rem         125 drivers/media/pci/saa7164/saa7164-bus.c 	u32 new_swp, space_rem;
space_rem         227 drivers/media/pci/saa7164/saa7164-bus.c 		space_rem = bus->m_dwSizeSetRing - curr_swp;
space_rem         230 drivers/media/pci/saa7164/saa7164-bus.c 			space_rem);
space_rem         235 drivers/media/pci/saa7164/saa7164-bus.c 		if (space_rem < sizeof(*msg)) {
space_rem         239 drivers/media/pci/saa7164/saa7164-bus.c 			memcpy_toio(bus->m_pdwSetRing + curr_swp, msg, space_rem);
space_rem         240 drivers/media/pci/saa7164/saa7164-bus.c 			memcpy_toio(bus->m_pdwSetRing, (u8 *)msg + space_rem,
space_rem         241 drivers/media/pci/saa7164/saa7164-bus.c 				sizeof(*msg) - space_rem);
space_rem         243 drivers/media/pci/saa7164/saa7164-bus.c 			memcpy_toio(bus->m_pdwSetRing + sizeof(*msg) - space_rem,
space_rem         246 drivers/media/pci/saa7164/saa7164-bus.c 		} else if (space_rem == sizeof(*msg)) {
space_rem         258 drivers/media/pci/saa7164/saa7164-bus.c 					sizeof(*msg), buf, space_rem -
space_rem         261 drivers/media/pci/saa7164/saa7164-bus.c 					space_rem - sizeof(*msg),
space_rem         262 drivers/media/pci/saa7164/saa7164-bus.c 					bytes_to_write - space_rem);
space_rem         310 drivers/media/pci/saa7164/saa7164-bus.c 		new_grp, buf_size, space_rem;
space_rem         368 drivers/media/pci/saa7164/saa7164-bus.c 		space_rem = bus->m_dwSizeGetRing - curr_grp;
space_rem         370 drivers/media/pci/saa7164/saa7164-bus.c 		memcpy_fromio(&msg_tmp, bus->m_pdwGetRing + curr_grp, space_rem);
space_rem         371 drivers/media/pci/saa7164/saa7164-bus.c 		memcpy_fromio((u8 *)&msg_tmp + space_rem, bus->m_pdwGetRing,
space_rem         372 drivers/media/pci/saa7164/saa7164-bus.c 			bytes_to_read - space_rem);
space_rem         428 drivers/media/pci/saa7164/saa7164-bus.c 		space_rem = bus->m_dwSizeGetRing - curr_grp;
space_rem         430 drivers/media/pci/saa7164/saa7164-bus.c 		if (space_rem < sizeof(*msg)) {
space_rem         433 drivers/media/pci/saa7164/saa7164-bus.c 					space_rem, buf_size);
space_rem         435 drivers/media/pci/saa7164/saa7164-bus.c 		} else if (space_rem == sizeof(*msg)) {
space_rem         442 drivers/media/pci/saa7164/saa7164-bus.c 					sizeof(*msg), space_rem - sizeof(*msg));
space_rem         443 drivers/media/pci/saa7164/saa7164-bus.c 				memcpy_fromio(buf + space_rem - sizeof(*msg),
space_rem         445 drivers/media/pci/saa7164/saa7164-bus.c 					space_rem);