Home
last modified time | relevance | path

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

/drivers/media/platform/ti/omap/
Domap_vout_vrfb.c30 static int omap_vout_allocate_vrfb_buffers(struct omap_vout_device *vout, in omap_vout_allocate_vrfb_buffers() argument
36 if (!vout->smsshado_virt_addr[i]) { in omap_vout_allocate_vrfb_buffers()
37 vout->smsshado_virt_addr[i] = in omap_vout_allocate_vrfb_buffers()
38 omap_vout_alloc_buffer(vout->smsshado_size, in omap_vout_allocate_vrfb_buffers()
39 &vout->smsshado_phy_addr[i]); in omap_vout_allocate_vrfb_buffers()
41 if (!vout->smsshado_virt_addr[i] && startindex != -1) { in omap_vout_allocate_vrfb_buffers()
42 if (vout->vq.memory == V4L2_MEMORY_MMAP && i >= startindex) in omap_vout_allocate_vrfb_buffers()
45 if (!vout->smsshado_virt_addr[i]) { in omap_vout_allocate_vrfb_buffers()
48 vout->smsshado_virt_addr[j], in omap_vout_allocate_vrfb_buffers()
49 vout->smsshado_size); in omap_vout_allocate_vrfb_buffers()
[all …]
Domap_vout.c200 static int omap_vout_calculate_offset(struct omap_vout_device *vout) in omap_vout_calculate_offset() argument
203 struct v4l2_rect *crop = &vout->crop; in omap_vout_calculate_offset()
204 struct v4l2_pix_format *pix = &vout->pix; in omap_vout_calculate_offset()
205 int *cropped_offset = &vout->cropped_offset; in omap_vout_calculate_offset()
208 ovid = &vout->vid_info; in omap_vout_calculate_offset()
211 omap_vout_calculate_vrfb_offset(vout); in omap_vout_calculate_offset()
213 vout->line_length = line_length = pix->width; in omap_vout_calculate_offset()
223 vout->ps = ps; in omap_vout_calculate_offset()
229 v4l2_dbg(1, debug, &vout->vid_dev->v4l2_dev, "%s Offset:%x\n", in omap_vout_calculate_offset()
230 __func__, vout->cropped_offset); in omap_vout_calculate_offset()
[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 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
Domap_voutdef.h184 static inline int is_rotation_90_or_270(const struct omap_vout_device *vout) in is_rotation_90_or_270() argument
186 return (vout->rotation == dss_rotation_90_degree || in is_rotation_90_or_270()
187 vout->rotation == dss_rotation_270_degree); in is_rotation_90_or_270()
193 static inline int is_rotation_enabled(const struct omap_vout_device *vout) in is_rotation_enabled() argument
195 return vout->rotation || vout->mirror; in is_rotation_enabled()
201 static inline int calc_rotation(const struct omap_vout_device *vout) in calc_rotation() argument
203 if (!vout->mirror) in calc_rotation()
204 return vout->rotation; in calc_rotation()
206 switch (vout->rotation) { in calc_rotation()
218 void omap_vout_free_buffers(struct omap_vout_device *vout);
DMakefile7 omap-vout-y += omap_vout.o omap_voutlib.o
8 omap-vout-$(CONFIG_VIDEO_OMAP2_VOUT_VRFB) += omap_vout_vrfb.o
9 obj-$(CONFIG_VIDEO_OMAP2_VOUT) += omap-vout.o
/drivers/media/test-drivers/vivid/
Dvivid-vid-out.h37 int vidioc_enumaudout(struct file *file, void *fh, struct v4l2_audioout *vout);
38 int vidioc_g_audout(struct file *file, void *fh, struct v4l2_audioout *vout);
39 int vidioc_s_audout(struct file *file, void *fh, const struct v4l2_audioout *vout);
Dvivid-vid-out.c1102 int vidioc_enumaudout(struct file *file, void *fh, struct v4l2_audioout *vout) in vidioc_enumaudout() argument
1104 if (vout->index >= ARRAY_SIZE(vivid_audio_outputs)) in vidioc_enumaudout()
1106 *vout = vivid_audio_outputs[vout->index]; in vidioc_enumaudout()
1110 int vidioc_g_audout(struct file *file, void *fh, struct v4l2_audioout *vout) in vidioc_g_audout() argument
1116 *vout = vivid_audio_outputs[dev->tv_audio_output]; in vidioc_g_audout()
1120 int vidioc_s_audout(struct file *file, void *fh, const struct v4l2_audioout *vout) in vidioc_s_audout() argument
1126 if (vout->index >= ARRAY_SIZE(vivid_audio_outputs)) in vidioc_s_audout()
1128 dev->tv_audio_output = vout->index; in vidioc_s_audout()
/drivers/hwmon/pmbus/
Dstpddc60.c42 static u8 stpddc60_get_offset(int vout, u16 limit, bool over) in stpddc60_get_offset() argument
47 v = 250 + (vout - 1) * 5; /* Convert VID to mv */ in stpddc60_get_offset()
/drivers/media/pci/ivtv/
Divtv-ioctl.c754 static int ivtv_s_audio(struct file *file, void *fh, const struct v4l2_audio *vout) in ivtv_s_audio() argument
758 if (vout->index >= itv->nof_audio_inputs) in ivtv_s_audio()
761 itv->audio_input = vout->index; in ivtv_s_audio()
783 static int ivtv_s_audout(struct file *file, void *fh, const struct v4l2_audioout *vout) in ivtv_s_audout() argument
787 if (itv->card->video_outputs == NULL || vout->index != 0) in ivtv_s_audout()
800 static int ivtv_enum_output(struct file *file, void *fh, struct v4l2_output *vout) in ivtv_enum_output() argument
804 return ivtv_get_output(itv, vout->index, vout); in ivtv_enum_output()
/drivers/phy/rockchip/
Dphy-rockchip-inno-usb2.c710 bool is_dcd, tmout, vout; in rockchip_chg_detect_work() local
747 vout = property_enabled(rphy->grf, in rockchip_chg_detect_work()
750 if (vout) { in rockchip_chg_detect_work()
769 vout = property_enabled(rphy->grf, in rockchip_chg_detect_work()
773 if (vout) in rockchip_chg_detect_work()
/drivers/pcmcia/
Dsoc_common.c99 int vout = regulator_get_voltage(r->reg) / 100000; in soc_pcmcia_regulator_set() local
104 v / 10, v % 10, vout / 10, vout % 10); in soc_pcmcia_regulator_set()
/drivers/media/pci/cx18/
Dcx18-ioctl.c411 static int cx18_s_audio(struct file *file, void *fh, const struct v4l2_audio *vout) in cx18_s_audio() argument
415 if (vout->index >= cx->nof_audio_inputs) in cx18_s_audio()
417 cx->audio_input = vout->index; in cx18_s_audio()
/drivers/gpu/drm/virtio/
Dvirtgpu_vq.c370 struct scatterlist *sgs[3], vcmd, vout, vresp; in virtio_gpu_queue_fenced_ctrl_buffer() local
395 sg_init_one(&vout, vbuf->data_buf, vbuf->data_size); in virtio_gpu_queue_fenced_ctrl_buffer()
397 sgs[outcnt] = &vout; in virtio_gpu_queue_fenced_ctrl_buffer()
/drivers/media/usb/pvrusb2/
Dpvrusb2-v4l2.c280 static int pvr2_s_audio(struct file *file, void *priv, const struct v4l2_audio *vout) in pvr2_s_audio() argument
282 if (vout->index) in pvr2_s_audio()