Home
last modified time | relevance | path

Searched refs:startwrite (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/drivers/media/usb/au0828/
Dau0828-video.c315 void *fieldstart, *startwrite, *startread; in au0828_copy_video() local
337 startwrite = fieldstart + offset; in au0828_copy_video()
341 if ((char *)startwrite + lencopy > (char *)outp + buf->length) { in au0828_copy_video()
343 ((char *)startwrite + lencopy) - in au0828_copy_video()
345 remain = (char *)outp + buf->length - (char *)startwrite; in au0828_copy_video()
350 memcpy(startwrite, startread, lencopy); in au0828_copy_video()
355 startwrite += lencopy + bytesperline; in au0828_copy_video()
362 if ((char *)startwrite + lencopy > (char *)outp + in au0828_copy_video()
365 ((char *)startwrite + lencopy) - in au0828_copy_video()
368 (char *)startwrite; in au0828_copy_video()
[all …]
/Linux-v5.10/drivers/media/usb/cx231xx/
Dcx231xx-vbi.c617 void *startwrite; in cx231xx_do_vbi_copy() local
641 startwrite = p_out_buffer + offset; in cx231xx_do_vbi_copy()
646 memcpy(startwrite, p_buffer, lencopy); in cx231xx_do_vbi_copy()
Dcx231xx-video.c646 void *startwrite; in cx231xx_do_copy() local
665 startwrite = p_out_buffer + offset; in cx231xx_do_copy()
668 startwrite += (dma_q->lines_completed * _line_size * 2); in cx231xx_do_copy()
671 startwrite += current_line_bytes_copied; 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()
/Linux-v5.10/drivers/media/usb/em28xx/
Dem28xx-video.c461 void *fieldstart, *startwrite, *startread; in em28xx_copy_video() local
484 startwrite = fieldstart + offset; in em28xx_copy_video()
488 if ((char *)startwrite + lencopy > (char *)buf->vb_buf + buf->length) { in em28xx_copy_video()
490 ((char *)startwrite + lencopy) - in em28xx_copy_video()
493 (char *)startwrite; in em28xx_copy_video()
498 memcpy(startwrite, startread, lencopy); in em28xx_copy_video()
504 startwrite += lencopy; in em28xx_copy_video()
506 startwrite += lencopy + bytesperline; in em28xx_copy_video()
513 if ((char *)startwrite + lencopy > (char *)buf->vb_buf + in em28xx_copy_video()
516 ((char *)startwrite + lencopy) - in em28xx_copy_video()
[all …]