Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/media/usb/au0828/
Dau0828-video.c324 void *fieldstart, *startwrite, *startread; in au0828_copy_video() local
346 startwrite = fieldstart + offset; in au0828_copy_video()
350 if ((char *)startwrite + lencopy > (char *)outp + buf->length) { in au0828_copy_video()
352 ((char *)startwrite + lencopy) - in au0828_copy_video()
354 remain = (char *)outp + buf->length - (char *)startwrite; in au0828_copy_video()
359 memcpy(startwrite, startread, lencopy); in au0828_copy_video()
364 startwrite += lencopy + bytesperline; in au0828_copy_video()
371 if ((char *)startwrite + lencopy > (char *)outp + in au0828_copy_video()
374 ((char *)startwrite + lencopy) - in au0828_copy_video()
377 (char *)startwrite; in au0828_copy_video()
[all …]
/Linux-v4.19/drivers/media/usb/em28xx/
Dem28xx-video.c468 void *fieldstart, *startwrite, *startread; in em28xx_copy_video() local
491 startwrite = fieldstart + offset; in em28xx_copy_video()
495 if ((char *)startwrite + lencopy > (char *)buf->vb_buf + buf->length) { in em28xx_copy_video()
497 ((char *)startwrite + lencopy) - in em28xx_copy_video()
500 (char *)startwrite; in em28xx_copy_video()
505 memcpy(startwrite, startread, lencopy); in em28xx_copy_video()
511 startwrite += lencopy; in em28xx_copy_video()
513 startwrite += lencopy + bytesperline; in em28xx_copy_video()
520 if ((char *)startwrite + lencopy > (char *)buf->vb_buf + in em28xx_copy_video()
523 ((char *)startwrite + lencopy) - in em28xx_copy_video()
[all …]
/Linux-v4.19/drivers/media/usb/cx231xx/
Dcx231xx-vbi.c663 void *startwrite; in cx231xx_do_vbi_copy() local
687 startwrite = p_out_buffer + offset; in cx231xx_do_vbi_copy()
692 memcpy(startwrite, p_buffer, lencopy); in cx231xx_do_vbi_copy()
Dcx231xx-video.c658 void *startwrite; in cx231xx_do_copy() local
677 startwrite = p_out_buffer + offset; in cx231xx_do_copy()
680 startwrite += (dma_q->lines_completed * _line_size * 2); in cx231xx_do_copy()
683 startwrite += current_line_bytes_copied; in cx231xx_do_copy()
688 if ((u8 *)(startwrite + lencopy) > (u8 *)(p_out_buffer + buf->vb.size)) in cx231xx_do_copy()
692 cx231xx_swab((u16 *) p_buffer, (u16 *) startwrite, (u16) lencopy); in cx231xx_do_copy()