Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/media/platform/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
/Linux-v5.4/drivers/media/platform/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.c1106 int vidioc_enumaudout(struct file *file, void *fh, struct v4l2_audioout *vout) in vidioc_enumaudout() argument
1108 if (vout->index >= ARRAY_SIZE(vivid_audio_outputs)) in vidioc_enumaudout()
1110 *vout = vivid_audio_outputs[vout->index]; in vidioc_enumaudout()
1114 int vidioc_g_audout(struct file *file, void *fh, struct v4l2_audioout *vout) in vidioc_g_audout() argument
1120 *vout = vivid_audio_outputs[dev->tv_audio_output]; in vidioc_g_audout()
1124 int vidioc_s_audout(struct file *file, void *fh, const struct v4l2_audioout *vout) in vidioc_s_audout() argument
1130 if (vout->index >= ARRAY_SIZE(vivid_audio_outputs)) in vidioc_s_audout()
1132 dev->tv_audio_output = vout->index; in vidioc_s_audout()
/Linux-v5.4/Documentation/devicetree/bindings/regulator/
Dtps62360-regulator.txt12 - ti,enable-vout-discharge: Enable output discharge. This is boolean value.
33 regulator-name = "tps62361-vout";
43 ti,enable-vout-discharge;
Dtps51632-regulator.txt21 regulator-name = "tps51632-vout";
/Linux-v5.4/drivers/phy/rockchip/
Dphy-rockchip-inno-usb2.c690 bool is_dcd, tmout, vout; in rockchip_chg_detect_work() local
727 vout = property_enabled(rphy->grf, in rockchip_chg_detect_work()
730 if (vout) { in rockchip_chg_detect_work()
749 vout = property_enabled(rphy->grf, in rockchip_chg_detect_work()
753 if (vout) in rockchip_chg_detect_work()
/Linux-v5.4/Documentation/hwmon/
Dtps40422.rst47 in[1-2]_label "vout[1-2]"
Disl68137.rst61 in[2-3]_label "vout[1-2]"
Dmax31785.rst47 in[1-6]_label "vout[18-23]"
Dmax16064.rst48 in[1-4]_label "vout[1-4]"
Dir35221.rst62 in[2-3]_label "vout[1-2]"
Dpxe1610.rst88 in[2-4]_label "vout[1-3]"
Ducd9200.rst73 in[2-5]_label "vout[1-4]".
Dmax34440.rst113 in[1-6]_label "vout[1-6]".
Ducd9000.rst85 in[1-12]_label "vout[1-12]".
Dltc2978.rst199 in[N]_label "vout[1-8]".
/Linux-v5.4/drivers/media/pci/ivtv/
Divtv-ioctl.c760 static int ivtv_s_audio(struct file *file, void *fh, const struct v4l2_audio *vout) in ivtv_s_audio() argument
764 if (vout->index >= itv->nof_audio_inputs) in ivtv_s_audio()
767 itv->audio_input = vout->index; in ivtv_s_audio()
789 static int ivtv_s_audout(struct file *file, void *fh, const struct v4l2_audioout *vout) in ivtv_s_audout() argument
793 if (itv->card->video_outputs == NULL || vout->index != 0) in ivtv_s_audout()
806 static int ivtv_enum_output(struct file *file, void *fh, struct v4l2_output *vout) in ivtv_enum_output() argument
810 return ivtv_get_output(itv, vout->index, vout); in ivtv_enum_output()
/Linux-v5.4/drivers/pcmcia/
Dsoc_common.c100 int vout = regulator_get_voltage(r->reg) / 100000; in soc_pcmcia_regulator_set() local
105 v / 10, v % 10, vout / 10, vout % 10); in soc_pcmcia_regulator_set()
/Linux-v5.4/Documentation/misc-devices/
Dmax6875.rst33 - vin gpi vout
/Linux-v5.4/drivers/media/pci/cx18/
Dcx18-ioctl.c413 static int cx18_s_audio(struct file *file, void *fh, const struct v4l2_audio *vout) in cx18_s_audio() argument
417 if (vout->index >= cx->nof_audio_inputs) in cx18_s_audio()
419 cx->audio_input = vout->index; in cx18_s_audio()
/Linux-v5.4/drivers/gpu/drm/virtio/
Dvirtgpu_vq.c261 struct scatterlist *sgs[3], vcmd, vout, vresp; in virtio_gpu_queue_ctrl_buffer_locked() local
273 sg_init_one(&vout, vbuf->data_buf, vbuf->data_size); in virtio_gpu_queue_ctrl_buffer_locked()
274 sgs[outcnt + incnt] = &vout; in virtio_gpu_queue_ctrl_buffer_locked()

12