Searched refs:lencopy (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/drivers/media/usb/stk1160/ |
D | stk1160-video.c | 102 int linesdone, lineoff, lencopy; in stk1160_copy_video() local 134 lencopy = remain; in stk1160_copy_video() 136 lencopy = bytesperline - lineoff; in stk1160_copy_video() 142 if (lencopy > buf->bytesused - buf->length) { in stk1160_copy_video() 143 lencopy = buf->bytesused - buf->length; in stk1160_copy_video() 144 remain = lencopy; in stk1160_copy_video() 148 if (lencopy == 0 || remain == 0) in stk1160_copy_video() 152 if (lencopy < 0) { in stk1160_copy_video() 157 if ((unsigned long)dst + lencopy > in stk1160_copy_video() 163 memcpy(dst, src, lencopy); in stk1160_copy_video() [all …]
|
/linux-6.6.21/drivers/media/usb/au0828/ |
D | au0828-video.c | 315 int linesdone, currlinedone, offset, lencopy, remain; in au0828_copy_video() local 337 lencopy = bytesperline - currlinedone; in au0828_copy_video() 338 lencopy = lencopy > remain ? remain : lencopy; in au0828_copy_video() 340 if ((char *)startwrite + lencopy > (char *)outp + buf->length) { in au0828_copy_video() 342 ((char *)startwrite + lencopy) - in au0828_copy_video() 345 lencopy = remain; in au0828_copy_video() 347 if (lencopy <= 0) in au0828_copy_video() 349 memcpy(startwrite, startread, lencopy); in au0828_copy_video() 351 remain -= lencopy; in au0828_copy_video() 354 startwrite += lencopy + bytesperline; in au0828_copy_video() [all …]
|
/linux-6.6.21/drivers/media/usb/em28xx/ |
D | em28xx-video.c | 452 int linesdone, currlinedone, offset, lencopy, remain; in em28xx_copy_video() local 475 lencopy = bytesperline - currlinedone; in em28xx_copy_video() 476 lencopy = lencopy > remain ? remain : lencopy; in em28xx_copy_video() 478 if ((char *)startwrite + lencopy > (char *)buf->vb_buf + buf->length) { in em28xx_copy_video() 480 ((char *)startwrite + lencopy) - in em28xx_copy_video() 484 lencopy = remain; in em28xx_copy_video() 486 if (lencopy <= 0) in em28xx_copy_video() 488 memcpy(startwrite, startread, lencopy); in em28xx_copy_video() 490 remain -= lencopy; in em28xx_copy_video() 494 startwrite += lencopy; in em28xx_copy_video() [all …]
|
/linux-6.6.21/drivers/media/usb/cx231xx/ |
D | cx231xx-vbi.c | 617 int offset, lencopy; in cx231xx_do_vbi_copy() local 642 lencopy = dma_q->bytes_left_in_line > bytes_to_copy ? in cx231xx_do_vbi_copy() 645 memcpy(startwrite, p_buffer, lencopy); in cx231xx_do_vbi_copy()
|
D | cx231xx-video.c | 647 int offset, lencopy; in cx231xx_do_copy() local 673 lencopy = dma_q->bytes_left_in_line > bytes_to_copy ? in cx231xx_do_copy() 676 if ((u8 *)(startwrite + lencopy) > (u8 *)(p_out_buffer + dev->size)) in cx231xx_do_copy() 680 cx231xx_swab((u16 *) p_buffer, (u16 *) startwrite, (u16) lencopy); in cx231xx_do_copy()
|