Lines Matching refs:cnt
221 static unsigned long from_device(void *dst, const void *src, unsigned long cnt)
227 pr_debug("trapped io read 0x%08lx (%ld)\n", src_addr, cnt);
233 return cnt;
236 max_t(unsigned long, cnt,
238 (unsigned long)dst, cnt);
244 static unsigned long to_device(void *dst, const void *src, unsigned long cnt)
250 pr_debug("trapped io write 0x%08lx (%ld)\n", dst_addr, cnt);
256 return cnt;
258 tmp = copy_word((unsigned long)src, cnt,
259 dst_addr, max_t(unsigned long, cnt,