/drivers/media/platform/omap/ |
D | omap_voutlib.c | 44 struct v4l2_framebuffer *fbuf, struct v4l2_rect *crop) in omap_vout_default_crop() argument 46 crop->width = (pix->width < fbuf->fmt.width) ? in omap_vout_default_crop() 47 pix->width : fbuf->fmt.width; in omap_vout_default_crop() 48 crop->height = (pix->height < fbuf->fmt.height) ? in omap_vout_default_crop() 49 pix->height : fbuf->fmt.height; in omap_vout_default_crop() 63 int omap_vout_try_window(struct v4l2_framebuffer *fbuf, in omap_vout_try_window() argument 82 try_win.width = (try_win.width < fbuf->fmt.width) ? in omap_vout_try_window() 83 try_win.width : fbuf->fmt.width; in omap_vout_try_window() 84 try_win.height = (try_win.height < fbuf->fmt.height) ? in omap_vout_try_window() 85 try_win.height : fbuf->fmt.height; in omap_vout_try_window() [all …]
|
D | omap_voutlib.h | 16 struct v4l2_framebuffer *fbuf, struct v4l2_rect *crop); 20 struct v4l2_framebuffer *fbuf, 23 int omap_vout_try_window(struct v4l2_framebuffer *fbuf, 27 struct v4l2_window *win, struct v4l2_framebuffer *fbuf, 31 struct v4l2_framebuffer *fbuf, struct v4l2_rect *crop,
|
D | omap_vout.c | 1111 vout->fbuf.fmt.height = timing->y_res; in vidioc_try_fmt_vid_out() 1112 vout->fbuf.fmt.width = timing->x_res; in vidioc_try_fmt_vid_out() 1155 vout->fbuf.fmt.height = timing->x_res; in vidioc_s_fmt_vid_out() 1156 vout->fbuf.fmt.width = timing->y_res; in vidioc_s_fmt_vid_out() 1158 vout->fbuf.fmt.height = timing->y_res; in vidioc_s_fmt_vid_out() 1159 vout->fbuf.fmt.width = timing->x_res; in vidioc_s_fmt_vid_out() 1178 omap_vout_new_format(&vout->pix, &vout->fbuf, &vout->crop, &vout->win); in vidioc_s_fmt_vid_out() 1199 ret = omap_vout_try_window(&vout->fbuf, win); in vidioc_try_fmt_vid_overlay() 1224 ret = omap_vout_new_window(&vout->crop, &vout->win, &vout->fbuf, win); in vidioc_s_fmt_vid_overlay() 1276 omap_vout_default_crop(&vout->pix, &vout->fbuf, &cropcap->defrect); in vidioc_cropcap() [all …]
|
D | omap_voutdef.h | 147 struct v4l2_framebuffer fbuf; member
|
/drivers/media/usb/pwc/ |
D | pwc-uncompress.c | 36 int pwc_decompress(struct pwc_device *pdev, struct pwc_frame_buf *fbuf) in pwc_decompress() argument 43 image = vb2_plane_vaddr(&fbuf->vb, 0); in pwc_decompress() 45 yuv = fbuf->data + pdev->frame_header_size; /* Skip header */ in pwc_decompress() 58 vb2_set_plane_payload(&fbuf->vb, 0, in pwc_decompress() 63 vb2_set_plane_payload(&fbuf->vb, 0, in pwc_decompress()
|
D | pwc-if.c | 192 struct pwc_frame_buf *fbuf = pdev->fill_buf; in pwc_frame_complete() local 199 unsigned char *ptr = (unsigned char *)fbuf->data; in pwc_frame_complete() 224 if (fbuf->filled == 4) in pwc_frame_complete() 227 unsigned char *ptr = (unsigned char *)fbuf->data; in pwc_frame_complete() 239 if (fbuf->filled < pdev->frame_total_size) { in pwc_frame_complete() 241 " discarded.\n", fbuf->filled); in pwc_frame_complete() 243 fbuf->vb.v4l2_buf.field = V4L2_FIELD_NONE; in pwc_frame_complete() 244 fbuf->vb.v4l2_buf.sequence = pdev->vframe_count; in pwc_frame_complete() 245 vb2_buffer_done(&fbuf->vb, VB2_BUF_STATE_DONE); in pwc_frame_complete() 316 struct pwc_frame_buf *fbuf = pdev->fill_buf; in pwc_isoc_handler() local [all …]
|
D | pwc.h | 391 int pwc_decompress(struct pwc_device *pdev, struct pwc_frame_buf *fbuf);
|
/drivers/staging/line6/ |
D | capture.c | 143 void line6_capture_copy(struct snd_line6_pcm *line6pcm, char *fbuf, int fsize) in line6_capture_copy() argument 164 line6pcm->pos_in_done * bytes_per_frame, fbuf, in line6_capture_copy() 166 memcpy(runtime->dma_area, fbuf + len * bytes_per_frame, in line6_capture_copy() 176 line6pcm->pos_in_done * bytes_per_frame, fbuf, fsize); in line6_capture_copy() 222 char *fbuf; in audio_in_callback() local 231 fbuf = urb->transfer_buffer + fin->offset; in audio_in_callback() 243 line6pcm->prev_fbuf = fbuf; in audio_in_callback() 251 line6_capture_copy(line6pcm, fbuf, fsize); in audio_in_callback()
|
D | capture.h | 22 extern void line6_capture_copy(struct snd_line6_pcm *line6pcm, char *fbuf,
|
/drivers/media/v4l2-core/ |
D | videobuf-dma-sg.c | 455 struct v4l2_framebuffer *fbuf) in __videobuf_iolock() argument 496 if (NULL == fbuf) in __videobuf_iolock() 504 bus = (dma_addr_t)(unsigned long)fbuf->base + vb->boff; in __videobuf_iolock()
|
D | videobuf-vmalloc.c | 159 struct v4l2_framebuffer *fbuf) in __videobuf_iolock() argument
|
D | videobuf-dma-contig.c | 238 struct v4l2_framebuffer *fbuf) in __videobuf_iolock() argument
|
D | videobuf-core.c | 120 struct v4l2_framebuffer *fbuf) in videobuf_iolock() argument 125 return CALL(q, iolock, q, vb, fbuf); in videobuf_iolock()
|
/drivers/scsi/csiostor/ |
D | csio_wr.c | 1052 struct csio_dma_buf *buf, *fbuf; in csio_wr_process_fl() local 1074 for (n = 0, fbuf = flb.flbufs; ; n++, fbuf++) { in csio_wr_process_fl() 1078 fbuf->paddr = buf->paddr; in csio_wr_process_fl() 1079 fbuf->vaddr = buf->vaddr; in csio_wr_process_fl() 1083 fbuf->len = lastlen; in csio_wr_process_fl()
|
/drivers/media/pci/bt8xx/ |
D | bttv-driver.c | 1645 if (0 != (rc = videobuf_iolock(q,&buf->vb,&btv->fbuf))) in bttv_prepare_buffer() 2241 if (NULL != btv->fbuf.base) in setup_window_lock() 2242 n = btcx_screen_clips(btv->fbuf.fmt.width, btv->fbuf.fmt.height, in setup_window_lock() 2621 *fb = btv->fbuf; in bttv_g_fbuf() 2638 if (unlikely(!btv->fbuf.base)) { in bttv_overlay() 2701 btv->fbuf.base = fb->base; in bttv_s_fbuf() 2702 btv->fbuf.fmt.width = fb->fmt.width; in bttv_s_fbuf() 2703 btv->fbuf.fmt.height = fb->fmt.height; in bttv_s_fbuf() 2705 btv->fbuf.fmt.bytesperline = fb->fmt.bytesperline; in bttv_s_fbuf() 2707 btv->fbuf.fmt.bytesperline = btv->fbuf.fmt.width*fmt->depth/8; in bttv_s_fbuf()
|
D | bttv-risc.c | 276 addr = (unsigned long)btv->fbuf.base; in bttv_risc_overlay() 277 addr += btv->fbuf.fmt.bytesperline * ov->w.top; in bttv_risc_overlay() 282 line++, addr += btv->fbuf.fmt.bytesperline) { in bttv_risc_overlay()
|
D | bttvp.h | 432 struct v4l2_framebuffer fbuf; member
|
/drivers/media/usb/usbvision/ |
D | usbvision-core.c | 1792 usbvision->fbuf = usbvision_rvmalloc(usbvision->fbuf_size); in usbvision_frames_alloc() 1793 if (usbvision->fbuf) in usbvision_frames_alloc() 1806 usbvision->frame[i].data = usbvision->fbuf + in usbvision_frames_alloc() 1831 if (usbvision->fbuf != NULL) { in usbvision_frames_free() 1832 usbvision_rvfree(usbvision->fbuf, usbvision->fbuf_size); in usbvision_frames_free() 1833 usbvision->fbuf = NULL; in usbvision_frames_free()
|
D | usbvision.h | 414 char *fbuf; /* Videodev buffer area for mmap*/ member
|
/drivers/media/pci/ngene/ |
D | ngene.h | 713 struct v4l2_framebuffer fbuf; member
|
/drivers/staging/dgrp/ |
D | dgrp_net_ops.c | 60 unsigned char *fbuf, int *len); 260 unsigned char *fbuf, int *len) in parity_scan() argument 272 fout = fbuf; in parity_scan()
|