Lines Matching refs:cpysize
196 unsigned int cmd, cpysize, pktsize, size, field, block, line, pos = 0;
297 cpysize = (endp - ptr > size) ? size : endp - ptr;
298 if (cpysize) {
304 memcpy (&voutp[pos], ptr, cpysize);
307 tm6000_call_fillbuf(dev, TM6000_AUDIO, ptr, cpysize);
321 dev->isoc_ctl.pos = pos + cpysize;
322 dev->isoc_ctl.size = size - cpysize;
342 unsigned int pos=dev->isoc_ctl.pos,cpysize;
355 cpysize=min(len,buf->vb.size-pos);
356 //printk("Copying %d bytes (max=%lu) from %p to %p[%u]\n",cpysize,(*buf)->vb.size,ptr,out_p,pos);
357 memcpy(&outp[pos], ptr, cpysize);
358 pos+=cpysize;
359 ptr+=cpysize;
360 len-=cpysize;