Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/media/usb/au0828/
Dau0828-video.c329 void *fieldstart, *startwrite, *startread; in au0828_copy_video() local
351 startwrite = fieldstart + offset; in au0828_copy_video()
355 if ((char *)startwrite + lencopy > (char *)outp + buf->length) { in au0828_copy_video()
357 ((char *)startwrite + lencopy) - in au0828_copy_video()
359 remain = (char *)outp + buf->length - (char *)startwrite; in au0828_copy_video()
364 memcpy(startwrite, startread, lencopy); in au0828_copy_video()
369 startwrite += lencopy + bytesperline; in au0828_copy_video()
376 if ((char *)startwrite + lencopy > (char *)outp + in au0828_copy_video()
379 ((char *)startwrite + lencopy) - in au0828_copy_video()
382 (char *)startwrite; in au0828_copy_video()
[all …]
/linux-4.1.27/drivers/media/usb/em28xx/
Dem28xx-video.c455 void *fieldstart, *startwrite, *startread; in em28xx_copy_video() local
478 startwrite = fieldstart + offset; in em28xx_copy_video()
482 if ((char *)startwrite + lencopy > (char *)buf->vb_buf + buf->length) { in em28xx_copy_video()
484 ((char *)startwrite + lencopy) - in em28xx_copy_video()
487 (char *)startwrite; in em28xx_copy_video()
492 memcpy(startwrite, startread, lencopy); in em28xx_copy_video()
498 startwrite += lencopy; in em28xx_copy_video()
500 startwrite += lencopy + bytesperline; in em28xx_copy_video()
507 if ((char *)startwrite + lencopy > (char *)buf->vb_buf + in em28xx_copy_video()
511 ((char *)startwrite + lencopy) - in em28xx_copy_video()
[all …]
/linux-4.1.27/drivers/media/usb/cx231xx/
Dcx231xx-vbi.c665 void *startwrite; in cx231xx_do_vbi_copy() local
689 startwrite = p_out_buffer + offset; in cx231xx_do_vbi_copy()
694 memcpy(startwrite, p_buffer, lencopy); in cx231xx_do_vbi_copy()
Dcx231xx-video.c660 void *startwrite; in cx231xx_do_copy() local
679 startwrite = p_out_buffer + offset; in cx231xx_do_copy()
682 startwrite += (dma_q->lines_completed * _line_size * 2); in cx231xx_do_copy()
685 startwrite += current_line_bytes_copied; in cx231xx_do_copy()
690 if ((u8 *)(startwrite + lencopy) > (u8 *)(p_out_buffer + buf->vb.size)) in cx231xx_do_copy()
694 cx231xx_swab((u16 *) p_buffer, (u16 *) startwrite, (u16) lencopy); in cx231xx_do_copy()