Home
last modified time | relevance | path

Searched refs:vout (Results 1 – 8 of 8) sorted by relevance

/drivers/media/video/omap/
Domap_vout.c243 void omap_vout_free_buffers(struct omap_vout_device *vout) in omap_vout_free_buffers() argument
248 numbuffers = (vout->vid) ? video2_numbuffers : video1_numbuffers; in omap_vout_free_buffers()
249 vout->buffer_size = (vout->vid) ? video2_bufsize : video1_bufsize; in omap_vout_free_buffers()
252 omap_vout_free_buffer(vout->buf_virt_addr[i], in omap_vout_free_buffers()
253 vout->buffer_size); in omap_vout_free_buffers()
254 vout->buf_phy_addr[i] = 0; in omap_vout_free_buffers()
255 vout->buf_virt_addr[i] = 0; in omap_vout_free_buffers()
288 static int omap_vout_calculate_offset(struct omap_vout_device *vout) in omap_vout_calculate_offset() argument
291 struct v4l2_rect *crop = &vout->crop; in omap_vout_calculate_offset()
292 struct v4l2_pix_format *pix = &vout->pix; in omap_vout_calculate_offset()
[all …]
Domap_vout_vrfb.c28 static int omap_vout_allocate_vrfb_buffers(struct omap_vout_device *vout, in omap_vout_allocate_vrfb_buffers() argument
34 if (!vout->smsshado_virt_addr[i]) { in omap_vout_allocate_vrfb_buffers()
35 vout->smsshado_virt_addr[i] = in omap_vout_allocate_vrfb_buffers()
36 omap_vout_alloc_buffer(vout->smsshado_size, in omap_vout_allocate_vrfb_buffers()
37 &vout->smsshado_phy_addr[i]); in omap_vout_allocate_vrfb_buffers()
39 if (!vout->smsshado_virt_addr[i] && startindex != -1) { in omap_vout_allocate_vrfb_buffers()
40 if (V4L2_MEMORY_MMAP == vout->memory && i >= startindex) in omap_vout_allocate_vrfb_buffers()
43 if (!vout->smsshado_virt_addr[i]) { in omap_vout_allocate_vrfb_buffers()
46 vout->smsshado_virt_addr[j], in omap_vout_allocate_vrfb_buffers()
47 vout->smsshado_size); in omap_vout_allocate_vrfb_buffers()
[all …]
Domap_vout_vrfb.h16 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 void omap_vout_free_vrfb_buffers(struct omap_vout_device *vout) { } in omap_vout_free_vrfb_buffers() argument
30 void omap_vout_release_vrfb(struct omap_vout_device *vout) { } in omap_vout_release_vrfb() argument
31 int omap_vout_vrfb_buffer_setup(struct omap_vout_device *vout, in omap_vout_vrfb_buffer_setup() argument
34 int omap_vout_prepare_vrfb(struct omap_vout_device *vout, in omap_vout_prepare_vrfb() argument
37 void omap_vout_calculate_vrfb_offset(struct omap_vout_device *vout) { } in omap_vout_calculate_vrfb_offset() argument
Domap_voutdef.h180 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 …]
DMakefile6 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/video/ivtv/
Divtv-ioctl.c790 static int ivtv_s_audio(struct file *file, void *fh, struct v4l2_audio *vout) in ivtv_s_audio() argument
794 if (vout->index >= itv->nof_audio_inputs) in ivtv_s_audio()
797 itv->audio_input = vout->index; in ivtv_s_audio()
819 static int ivtv_s_audout(struct file *file, void *fh, struct v4l2_audioout *vout) in ivtv_s_audout() argument
823 return ivtv_get_audio_output(itv, vout->index, vout); in ivtv_s_audout()
834 static int ivtv_enum_output(struct file *file, void *fh, struct v4l2_output *vout) in ivtv_enum_output() argument
838 return ivtv_get_output(itv, vout->index, vout); in ivtv_enum_output()
/drivers/usb/otg/
Dmsm_otg.c1042 bool is_dcd, tmout, vout; in msm_chg_detect_work() local
1068 vout = msm_chg_check_primary_det(motg); in msm_chg_detect_work()
1069 if (vout) { in msm_chg_detect_work()
1080 vout = msm_chg_check_secondary_det(motg); in msm_chg_detect_work()
1081 if (vout) in msm_chg_detect_work()
/drivers/media/video/cx18/
Dcx18-ioctl.c495 static int cx18_s_audio(struct file *file, void *fh, struct v4l2_audio *vout) in cx18_s_audio() argument
499 if (vout->index >= cx->nof_audio_inputs) in cx18_s_audio()
501 cx->audio_input = vout->index; in cx18_s_audio()