vdi 719 drivers/gpu/ipu-v3/ipu-common.c void ipu_set_ic_src_mux(struct ipu_soc *ipu, int csi_id, bool vdi) vdi 727 drivers/gpu/ipu-v3/ipu-common.c if (vdi) vdi 45 drivers/gpu/ipu-v3/ipu-vdi.c static inline u32 ipu_vdi_read(struct ipu_vdi *vdi, unsigned int offset) vdi 47 drivers/gpu/ipu-v3/ipu-vdi.c return readl(vdi->base + offset); vdi 50 drivers/gpu/ipu-v3/ipu-vdi.c static inline void ipu_vdi_write(struct ipu_vdi *vdi, u32 value, vdi 53 drivers/gpu/ipu-v3/ipu-vdi.c writel(value, vdi->base + offset); vdi 56 drivers/gpu/ipu-v3/ipu-vdi.c void ipu_vdi_set_field_order(struct ipu_vdi *vdi, v4l2_std_id std, u32 field) vdi 78 drivers/gpu/ipu-v3/ipu-vdi.c spin_lock_irqsave(&vdi->lock, flags); vdi 80 drivers/gpu/ipu-v3/ipu-vdi.c reg = ipu_vdi_read(vdi, VDI_C); vdi 85 drivers/gpu/ipu-v3/ipu-vdi.c ipu_vdi_write(vdi, reg, VDI_C); vdi 87 drivers/gpu/ipu-v3/ipu-vdi.c spin_unlock_irqrestore(&vdi->lock, flags); vdi 91 drivers/gpu/ipu-v3/ipu-vdi.c void ipu_vdi_set_motion(struct ipu_vdi *vdi, enum ipu_motion_sel motion_sel) vdi 96 drivers/gpu/ipu-v3/ipu-vdi.c spin_lock_irqsave(&vdi->lock, flags); vdi 98 drivers/gpu/ipu-v3/ipu-vdi.c reg = ipu_vdi_read(vdi, VDI_C); vdi 114 drivers/gpu/ipu-v3/ipu-vdi.c ipu_vdi_write(vdi, reg, VDI_C); vdi 116 drivers/gpu/ipu-v3/ipu-vdi.c spin_unlock_irqrestore(&vdi->lock, flags); vdi 120 drivers/gpu/ipu-v3/ipu-vdi.c void ipu_vdi_setup(struct ipu_vdi *vdi, u32 code, int xres, int yres) vdi 125 drivers/gpu/ipu-v3/ipu-vdi.c spin_lock_irqsave(&vdi->lock, flags); vdi 128 drivers/gpu/ipu-v3/ipu-vdi.c ipu_vdi_write(vdi, reg, VDI_FSIZE); vdi 142 drivers/gpu/ipu-v3/ipu-vdi.c reg = ipu_vdi_read(vdi, VDI_C); vdi 147 drivers/gpu/ipu-v3/ipu-vdi.c ipu_vdi_write(vdi, reg, VDI_C); vdi 149 drivers/gpu/ipu-v3/ipu-vdi.c spin_unlock_irqrestore(&vdi->lock, flags); vdi 153 drivers/gpu/ipu-v3/ipu-vdi.c void ipu_vdi_unsetup(struct ipu_vdi *vdi) vdi 157 drivers/gpu/ipu-v3/ipu-vdi.c spin_lock_irqsave(&vdi->lock, flags); vdi 158 drivers/gpu/ipu-v3/ipu-vdi.c ipu_vdi_write(vdi, 0, VDI_FSIZE); vdi 159 drivers/gpu/ipu-v3/ipu-vdi.c ipu_vdi_write(vdi, 0, VDI_C); vdi 160 drivers/gpu/ipu-v3/ipu-vdi.c spin_unlock_irqrestore(&vdi->lock, flags); vdi 164 drivers/gpu/ipu-v3/ipu-vdi.c int ipu_vdi_enable(struct ipu_vdi *vdi) vdi 168 drivers/gpu/ipu-v3/ipu-vdi.c spin_lock_irqsave(&vdi->lock, flags); vdi 170 drivers/gpu/ipu-v3/ipu-vdi.c if (!vdi->use_count) vdi 171 drivers/gpu/ipu-v3/ipu-vdi.c ipu_module_enable(vdi->ipu, vdi->module); vdi 173 drivers/gpu/ipu-v3/ipu-vdi.c vdi->use_count++; vdi 175 drivers/gpu/ipu-v3/ipu-vdi.c spin_unlock_irqrestore(&vdi->lock, flags); vdi 181 drivers/gpu/ipu-v3/ipu-vdi.c int ipu_vdi_disable(struct ipu_vdi *vdi) vdi 185 drivers/gpu/ipu-v3/ipu-vdi.c spin_lock_irqsave(&vdi->lock, flags); vdi 187 drivers/gpu/ipu-v3/ipu-vdi.c if (vdi->use_count) { vdi 188 drivers/gpu/ipu-v3/ipu-vdi.c if (!--vdi->use_count) vdi 189 drivers/gpu/ipu-v3/ipu-vdi.c ipu_module_disable(vdi->ipu, vdi->module); vdi 192 drivers/gpu/ipu-v3/ipu-vdi.c spin_unlock_irqrestore(&vdi->lock, flags); vdi 204 drivers/gpu/ipu-v3/ipu-vdi.c void ipu_vdi_put(struct ipu_vdi *vdi) vdi 212 drivers/gpu/ipu-v3/ipu-vdi.c struct ipu_vdi *vdi; vdi 214 drivers/gpu/ipu-v3/ipu-vdi.c vdi = devm_kzalloc(dev, sizeof(*vdi), GFP_KERNEL); vdi 215 drivers/gpu/ipu-v3/ipu-vdi.c if (!vdi) vdi 218 drivers/gpu/ipu-v3/ipu-vdi.c ipu->vdi_priv = vdi; vdi 220 drivers/gpu/ipu-v3/ipu-vdi.c spin_lock_init(&vdi->lock); vdi 221 drivers/gpu/ipu-v3/ipu-vdi.c vdi->module = module; vdi 222 drivers/gpu/ipu-v3/ipu-vdi.c vdi->base = devm_ioremap(dev, base, PAGE_SIZE); vdi 223 drivers/gpu/ipu-v3/ipu-vdi.c if (!vdi->base) vdi 226 drivers/gpu/ipu-v3/ipu-vdi.c dev_dbg(dev, "VDI base: 0x%08lx remapped to %p\n", base, vdi->base); vdi 227 drivers/gpu/ipu-v3/ipu-vdi.c vdi->ipu = ipu; vdi 71 drivers/staging/media/imx/imx-media-vdic.c struct ipu_vdi *vdi; vdi 129 drivers/staging/media/imx/imx-media-vdic.c if (!IS_ERR_OR_NULL(priv->vdi)) vdi 130 drivers/staging/media/imx/imx-media-vdic.c ipu_vdi_put(priv->vdi); vdi 131 drivers/staging/media/imx/imx-media-vdic.c priv->vdi = NULL; vdi 138 drivers/staging/media/imx/imx-media-vdic.c struct ipu_vdi *vdi; vdi 140 drivers/staging/media/imx/imx-media-vdic.c vdi = ipu_vdi_get(priv->ipu); vdi 141 drivers/staging/media/imx/imx-media-vdic.c if (IS_ERR(vdi)) { vdi 143 drivers/staging/media/imx/imx-media-vdic.c ret = PTR_ERR(vdi); vdi 146 drivers/staging/media/imx/imx-media-vdic.c priv->vdi = vdi; vdi 379 drivers/staging/media/imx/imx-media-vdic.c ipu_vdi_setup(priv->vdi, MEDIA_BUS_FMT_UYVY8_2X8, vdi 381 drivers/staging/media/imx/imx-media-vdic.c ipu_vdi_set_field_order(priv->vdi, V4L2_STD_UNKNOWN, infmt->field); vdi 382 drivers/staging/media/imx/imx-media-vdic.c ipu_vdi_set_motion(priv->vdi, priv->motion); vdi 388 drivers/staging/media/imx/imx-media-vdic.c ipu_vdi_enable(priv->vdi); vdi 402 drivers/staging/media/imx/imx-media-vdic.c ipu_vdi_disable(priv->vdi); vdi 207 include/video/imx-ipu-v3.h void ipu_set_ic_src_mux(struct ipu_soc *ipu, int csi_id, bool vdi); vdi 465 include/video/imx-ipu-v3.h void ipu_vdi_set_field_order(struct ipu_vdi *vdi, v4l2_std_id std, u32 field); vdi 466 include/video/imx-ipu-v3.h void ipu_vdi_set_motion(struct ipu_vdi *vdi, enum ipu_motion_sel motion_sel); vdi 467 include/video/imx-ipu-v3.h void ipu_vdi_setup(struct ipu_vdi *vdi, u32 code, int xres, int yres); vdi 468 include/video/imx-ipu-v3.h void ipu_vdi_unsetup(struct ipu_vdi *vdi); vdi 469 include/video/imx-ipu-v3.h int ipu_vdi_enable(struct ipu_vdi *vdi); vdi 470 include/video/imx-ipu-v3.h int ipu_vdi_disable(struct ipu_vdi *vdi); vdi 472 include/video/imx-ipu-v3.h void ipu_vdi_put(struct ipu_vdi *vdi);