/drivers/media/platform/omap/ |
D | omap_vout.c | 231 void omap_vout_free_buffers(struct omap_vout_device *vout) in omap_vout_free_buffers() argument 236 numbuffers = (vout->vid) ? video2_numbuffers : video1_numbuffers; in omap_vout_free_buffers() 237 vout->buffer_size = (vout->vid) ? video2_bufsize : video1_bufsize; in omap_vout_free_buffers() 240 omap_vout_free_buffer(vout->buf_virt_addr[i], in omap_vout_free_buffers() 241 vout->buffer_size); in omap_vout_free_buffers() 242 vout->buf_phy_addr[i] = 0; in omap_vout_free_buffers() 243 vout->buf_virt_addr[i] = 0; in omap_vout_free_buffers() 276 static int omap_vout_calculate_offset(struct omap_vout_device *vout) in omap_vout_calculate_offset() argument 279 struct v4l2_rect *crop = &vout->crop; in omap_vout_calculate_offset() 280 struct v4l2_pix_format *pix = &vout->pix; in omap_vout_calculate_offset() [all …]
|
D | omap_vout_vrfb.c | 31 static int omap_vout_allocate_vrfb_buffers(struct omap_vout_device *vout, in omap_vout_allocate_vrfb_buffers() argument 37 if (!vout->smsshado_virt_addr[i]) { in omap_vout_allocate_vrfb_buffers() 38 vout->smsshado_virt_addr[i] = in omap_vout_allocate_vrfb_buffers() 39 omap_vout_alloc_buffer(vout->smsshado_size, in omap_vout_allocate_vrfb_buffers() 40 &vout->smsshado_phy_addr[i]); in omap_vout_allocate_vrfb_buffers() 42 if (!vout->smsshado_virt_addr[i] && startindex != -1) { in omap_vout_allocate_vrfb_buffers() 43 if (V4L2_MEMORY_MMAP == vout->memory && i >= startindex) in omap_vout_allocate_vrfb_buffers() 46 if (!vout->smsshado_virt_addr[i]) { in omap_vout_allocate_vrfb_buffers() 49 vout->smsshado_virt_addr[j], in omap_vout_allocate_vrfb_buffers() 50 vout->smsshado_size); in omap_vout_allocate_vrfb_buffers() [all …]
|
D | omap_vout_vrfb.h | 16 void omap_vout_free_vrfb_buffers(struct omap_vout_device *vout); 19 void omap_vout_release_vrfb(struct omap_vout_device *vout); 20 int omap_vout_vrfb_buffer_setup(struct omap_vout_device *vout, 22 int omap_vout_prepare_vrfb(struct omap_vout_device *vout, 24 void omap_vout_calculate_vrfb_offset(struct omap_vout_device *vout); 26 static inline void omap_vout_free_vrfb_buffers(struct omap_vout_device *vout) { }; in omap_vout_free_vrfb_buffers() argument 30 static inline void omap_vout_release_vrfb(struct omap_vout_device *vout) { }; in omap_vout_release_vrfb() argument 31 static inline int omap_vout_vrfb_buffer_setup(struct omap_vout_device *vout, in omap_vout_vrfb_buffer_setup() argument 34 static inline int omap_vout_prepare_vrfb(struct omap_vout_device *vout, in omap_vout_prepare_vrfb() argument 37 static inline void omap_vout_calculate_vrfb_offset(struct omap_vout_device *vout) { }; in omap_vout_calculate_vrfb_offset() argument
|
D | omap_voutdef.h | 180 struct omap_vout_device *vout; member 190 static inline int is_rotation_90_or_270(const struct omap_vout_device *vout) in is_rotation_90_or_270() argument 192 return (vout->rotation == dss_rotation_90_degree || in is_rotation_90_or_270() 193 vout->rotation == dss_rotation_270_degree); in is_rotation_90_or_270() 199 static inline int is_rotation_enabled(const struct omap_vout_device *vout) in is_rotation_enabled() argument 201 return vout->rotation || vout->mirror; in is_rotation_enabled() 207 static inline int calc_rotation(const struct omap_vout_device *vout) in calc_rotation() argument 209 if (!vout->mirror) in calc_rotation() 210 return vout->rotation; in calc_rotation() 212 switch (vout->rotation) { in calc_rotation() [all …]
|
D | Makefile | 6 omap-vout-y += omap_vout.o omap_voutlib.o 7 omap-vout-$(CONFIG_VIDEO_OMAP2_VOUT_VRFB) += omap_vout_vrfb.o 8 obj-$(CONFIG_VIDEO_OMAP2_VOUT) += omap-vout.o
|
/drivers/media/platform/vivid/ |
D | vivid-vid-out.h | 49 int vidioc_enumaudout(struct file *file, void *fh, struct v4l2_audioout *vout); 50 int vidioc_g_audout(struct file *file, void *fh, struct v4l2_audioout *vout); 51 int vidioc_s_audout(struct file *file, void *fh, const struct v4l2_audioout *vout);
|
D | vivid-vid-out.c | 1083 int vidioc_enumaudout(struct file *file, void *fh, struct v4l2_audioout *vout) in vidioc_enumaudout() argument 1085 if (vout->index >= ARRAY_SIZE(vivid_audio_outputs)) in vidioc_enumaudout() 1087 *vout = vivid_audio_outputs[vout->index]; in vidioc_enumaudout() 1091 int vidioc_g_audout(struct file *file, void *fh, struct v4l2_audioout *vout) in vidioc_g_audout() argument 1097 *vout = vivid_audio_outputs[dev->tv_audio_output]; in vidioc_g_audout() 1101 int vidioc_s_audout(struct file *file, void *fh, const struct v4l2_audioout *vout) in vidioc_s_audout() argument 1107 if (vout->index >= ARRAY_SIZE(vivid_audio_outputs)) in vidioc_s_audout() 1109 dev->tv_audio_output = vout->index; in vidioc_s_audout()
|
/drivers/media/pci/ivtv/ |
D | ivtv-ioctl.c | 775 static int ivtv_s_audio(struct file *file, void *fh, const struct v4l2_audio *vout) in ivtv_s_audio() argument 779 if (vout->index >= itv->nof_audio_inputs) in ivtv_s_audio() 782 itv->audio_input = vout->index; in ivtv_s_audio() 804 static int ivtv_s_audout(struct file *file, void *fh, const struct v4l2_audioout *vout) in ivtv_s_audout() argument 808 if (itv->card->video_outputs == NULL || vout->index != 0) in ivtv_s_audout() 821 static int ivtv_enum_output(struct file *file, void *fh, struct v4l2_output *vout) in ivtv_enum_output() argument 825 return ivtv_get_output(itv, vout->index, vout); in ivtv_enum_output()
|
/drivers/usb/phy/ |
D | phy-msm-usb.c | 1083 bool is_dcd, tmout, vout; in msm_chg_detect_work() local 1109 vout = msm_chg_check_primary_det(motg); in msm_chg_detect_work() 1110 if (vout) { in msm_chg_detect_work() 1121 vout = msm_chg_check_secondary_det(motg); in msm_chg_detect_work() 1122 if (vout) in msm_chg_detect_work()
|
/drivers/gpu/drm/virtio/ |
D | virtgpu_vq.c | 300 struct scatterlist *sgs[3], vcmd, vout, vresp; in virtio_gpu_queue_ctrl_buffer_locked() local 312 sg_init_one(&vout, vbuf->data_buf, vbuf->data_size); in virtio_gpu_queue_ctrl_buffer_locked() 313 sgs[outcnt + incnt] = &vout; in virtio_gpu_queue_ctrl_buffer_locked()
|
/drivers/media/pci/cx18/ |
D | cx18-ioctl.c | 430 static int cx18_s_audio(struct file *file, void *fh, const struct v4l2_audio *vout) in cx18_s_audio() argument 434 if (vout->index >= cx->nof_audio_inputs) in cx18_s_audio() 436 cx->audio_input = vout->index; in cx18_s_audio()
|
/drivers/media/usb/pvrusb2/ |
D | pvrusb2-v4l2.c | 315 static int pvr2_s_audio(struct file *file, void *priv, const struct v4l2_audio *vout) in pvr2_s_audio() argument 317 if (vout->index) in pvr2_s_audio()
|