Lines Matching refs:cnt
222 static unsigned long from_device(void *dst, const void *src, unsigned long cnt)
228 pr_debug("trapped io read 0x%08lx (%ld)\n", src_addr, cnt);
234 return cnt;
237 max_t(unsigned long, cnt,
239 (unsigned long)dst, cnt);
245 static unsigned long to_device(void *dst, const void *src, unsigned long cnt)
251 pr_debug("trapped io write 0x%08lx (%ld)\n", dst_addr, cnt);
257 return cnt;
259 tmp = copy_word((unsigned long)src, cnt,
260 dst_addr, max_t(unsigned long, cnt,