Home
last modified time | relevance | path

Searched refs:vdi (Results 1 – 4 of 4) sorted by relevance

/drivers/gpu/ipu-v3/
Dipu-vdi.c45 static inline u32 ipu_vdi_read(struct ipu_vdi *vdi, unsigned int offset) in ipu_vdi_read() argument
47 return readl(vdi->base + offset); in ipu_vdi_read()
50 static inline void ipu_vdi_write(struct ipu_vdi *vdi, u32 value, in ipu_vdi_write() argument
53 writel(value, vdi->base + offset); in ipu_vdi_write()
56 void ipu_vdi_set_field_order(struct ipu_vdi *vdi, v4l2_std_id std, u32 field) in ipu_vdi_set_field_order() argument
78 spin_lock_irqsave(&vdi->lock, flags); in ipu_vdi_set_field_order()
80 reg = ipu_vdi_read(vdi, VDI_C); in ipu_vdi_set_field_order()
85 ipu_vdi_write(vdi, reg, VDI_C); in ipu_vdi_set_field_order()
87 spin_unlock_irqrestore(&vdi->lock, flags); in ipu_vdi_set_field_order()
91 void ipu_vdi_set_motion(struct ipu_vdi *vdi, enum ipu_motion_sel motion_sel) in ipu_vdi_set_motion() argument
[all …]
DMakefile6 ipu-image-convert.o ipu-smfc.o ipu-vdi.o
Dipu-common.c654 void ipu_set_ic_src_mux(struct ipu_soc *ipu, int csi_id, bool vdi) in ipu_set_ic_src_mux() argument
662 if (vdi) in ipu_set_ic_src_mux()
/drivers/staging/media/imx/
Dimx-media-vdic.c71 struct ipu_vdi *vdi; member
129 if (!IS_ERR_OR_NULL(priv->vdi)) in vdic_put_ipu_resources()
130 ipu_vdi_put(priv->vdi); in vdic_put_ipu_resources()
131 priv->vdi = NULL; in vdic_put_ipu_resources()
138 struct ipu_vdi *vdi; in vdic_get_ipu_resources() local
140 vdi = ipu_vdi_get(priv->ipu); in vdic_get_ipu_resources()
141 if (IS_ERR(vdi)) { in vdic_get_ipu_resources()
143 ret = PTR_ERR(vdi); in vdic_get_ipu_resources()
146 priv->vdi = vdi; in vdic_get_ipu_resources()
379 ipu_vdi_setup(priv->vdi, MEDIA_BUS_FMT_UYVY8_2X8, in vdic_start()
[all …]