Home
last modified time | relevance | path

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

/drivers/staging/media/tegra-vde/
Dvde.c53 static void tegra_vde_writel(struct tegra_vde *vde, in tegra_vde_writel() argument
56 trace_vde_writel(vde, base, offset, value); in tegra_vde_writel()
61 static u32 tegra_vde_readl(struct tegra_vde *vde, in tegra_vde_readl() argument
66 trace_vde_readl(vde, base, offset, value); in tegra_vde_readl()
71 static void tegra_vde_set_bits(struct tegra_vde *vde, in tegra_vde_set_bits() argument
74 u32 value = tegra_vde_readl(vde, base, offset); in tegra_vde_set_bits()
76 tegra_vde_writel(vde, value | mask, base, offset); in tegra_vde_set_bits()
79 static int tegra_vde_wait_mbe(struct tegra_vde *vde) in tegra_vde_wait_mbe() argument
83 return readl_relaxed_poll_timeout(vde->mbe + 0x8C, tmp, in tegra_vde_wait_mbe()
87 static int tegra_vde_setup_mbe_frame_idx(struct tegra_vde *vde, in tegra_vde_setup_mbe_frame_idx() argument
[all …]
Diommu.c19 int tegra_vde_iommu_map(struct tegra_vde *vde, in tegra_vde_iommu_map() argument
29 end = vde->domain->geometry.aperture_end; in tegra_vde_iommu_map()
30 size = iova_align(&vde->iova, size); in tegra_vde_iommu_map()
31 shift = iova_shift(&vde->iova); in tegra_vde_iommu_map()
33 iova = alloc_iova(&vde->iova, size >> shift, end >> shift, true); in tegra_vde_iommu_map()
37 addr = iova_dma_addr(&vde->iova, iova); in tegra_vde_iommu_map()
39 size = iommu_map_sgtable(vde->domain, addr, sgt, in tegra_vde_iommu_map()
42 __free_iova(&vde->iova, iova); in tegra_vde_iommu_map()
51 void tegra_vde_iommu_unmap(struct tegra_vde *vde, struct iova *iova) in tegra_vde_iommu_unmap() argument
53 unsigned long shift = iova_shift(&vde->iova); in tegra_vde_iommu_unmap()
[all …]
Ddmabuf-cache.c22 struct tegra_vde *vde; member
35 if (entry->vde->domain) in tegra_vde_release_entry()
36 tegra_vde_iommu_unmap(entry->vde, entry->iova); in tegra_vde_release_entry()
49 struct tegra_vde *vde; in tegra_vde_delayed_unmap() local
53 vde = entry->vde; in tegra_vde_delayed_unmap()
55 mutex_lock(&vde->map_lock); in tegra_vde_delayed_unmap()
57 mutex_unlock(&vde->map_lock); in tegra_vde_delayed_unmap()
60 int tegra_vde_dmabuf_cache_map(struct tegra_vde *vde, in tegra_vde_dmabuf_cache_map() argument
66 struct device *dev = vde->miscdev.parent; in tegra_vde_dmabuf_cache_map()
73 mutex_lock(&vde->map_lock); in tegra_vde_dmabuf_cache_map()
[all …]
Dvde.h55 int tegra_vde_iommu_init(struct tegra_vde *vde);
56 void tegra_vde_iommu_deinit(struct tegra_vde *vde);
57 int tegra_vde_iommu_map(struct tegra_vde *vde,
61 void tegra_vde_iommu_unmap(struct tegra_vde *vde, struct iova *iova);
63 int tegra_vde_dmabuf_cache_map(struct tegra_vde *vde,
68 void tegra_vde_dmabuf_cache_unmap(struct tegra_vde *vde,
71 void tegra_vde_dmabuf_cache_unmap_sync(struct tegra_vde *vde);
72 void tegra_vde_dmabuf_cache_unmap_all(struct tegra_vde *vde);
75 tegra_vde_reg_base_name(struct tegra_vde *vde, void __iomem *base) in tegra_vde_reg_base_name() argument
77 if (vde->sxe == base) in tegra_vde_reg_base_name()
[all …]
Dtrace.h14 TP_PROTO(struct tegra_vde *vde, void __iomem *base,
16 TP_ARGS(vde, base, offset, value),
18 __string(hw_name, tegra_vde_reg_base_name(vde, base))
23 __assign_str(hw_name, tegra_vde_reg_base_name(vde, base));
32 TP_PROTO(struct tegra_vde *vde, void __iomem *base,
34 TP_ARGS(vde, base, offset, value));
36 TP_PROTO(struct tegra_vde *vde, void __iomem *base,
38 TP_ARGS(vde, base, offset, value));
93 #define TRACE_INCLUDE_PATH ../../drivers/staging/media/tegra-vde
DMakefile2 tegra-vde-y := vde.o iommu.o dmabuf-cache.o
3 obj-$(CONFIG_TEGRA_VDE) += tegra-vde.o
/drivers/staging/media/
DMakefile10 obj-$(CONFIG_TEGRA_VDE) += tegra-vde/
DKconfig39 source "drivers/staging/media/tegra-vde/Kconfig"
/drivers/gpu/drm/ingenic/
Dingenic-drm-drv.c186 unsigned int vpe, vds, vde, vt, hpe, hds, hde, ht; in ingenic_drm_crtc_update_timings() local
190 vde = vds + mode->vdisplay; in ingenic_drm_crtc_update_timings()
191 vt = vde + mode->vsync_start - mode->vdisplay; in ingenic_drm_crtc_update_timings()
215 vde << JZ_LCD_DAV_VDE_OFFSET); in ingenic_drm_crtc_update_timings()
/drivers/video/fbdev/
Datafb.c123 short vft, vbb, vbe, vdb, vde, vss; member
151 #define VDE hw.falcon.vde
1402 var->yres = hw->vde - hw->vdb; in falcon_encode_var()
1501 var->lower_margin = (hw->vft + 1 - hw->vde + 1) / 2; /* round up */ in falcon_encode_var()
1557 hw->vde = videl.vde; in falcon_get_par()
1619 videl.vde = hw->vde; in falcon_vbl_switcher()
/drivers/video/console/
Dvgacon.c1019 unsigned char ovr, vde, fsr; in vgacon_adjust_height() local
1042 vde = maxscan & 0xff; /* Vertical display end reg */ in vgacon_adjust_height()
1053 outb_p(vde, vga_video_port_val); in vgacon_adjust_height()
/drivers/gpu/drm/ast/
Dast_drv.h265 u32 vde; member
Dast_mode.c193 adjusted_mode->crtc_vblank_start = vbios_mode->enh_table->vde + vborder; in ast_get_vbios_mode_info()
195 adjusted_mode->crtc_vsync_start = vbios_mode->enh_table->vde + vborder + in ast_get_vbios_mode_info()
197 adjusted_mode->crtc_vsync_end = (vbios_mode->enh_table->vde + vborder + in ast_get_vbios_mode_info()
/drivers/usb/misc/sisusbvga/
Dsisusb_con.c1135 unsigned char ovr, vde, fsr; in sisusbcon_do_font_op() local
1149 vde = maxscan & 0xff; in sisusbcon_do_font_op()
1154 sisusb_setidxreg(sisusb, SISCR, 0x12, vde); in sisusbcon_do_font_op()