Lines Matching full:vpu

15 #include "vpu.h"
42 int vpu_imx8q_setup_dec(struct vpu_dev *vpu) in vpu_imx8q_setup_dec() argument
46 vpu_writel(vpu, offset + MFD_BLK_CTRL_MFD_SYS_CLOCK_ENABLE_SET, 0x1f); in vpu_imx8q_setup_dec()
47 vpu_writel(vpu, offset + MFD_BLK_CTRL_MFD_SYS_RESET_SET, 0xffffffff); in vpu_imx8q_setup_dec()
52 int vpu_imx8q_setup_enc(struct vpu_dev *vpu) in vpu_imx8q_setup_enc() argument
57 int vpu_imx8q_setup(struct vpu_dev *vpu) in vpu_imx8q_setup() argument
61 vpu_readl(vpu, offset + 0x108); in vpu_imx8q_setup()
63 vpu_writel(vpu, offset + SCB_BLK_CTRL_SCB_CLK_ENABLE_SET, 0x1); in vpu_imx8q_setup()
64 vpu_writel(vpu, offset + 0x190, 0xffffffff); in vpu_imx8q_setup()
65 vpu_writel(vpu, offset + SCB_BLK_CTRL_XMEM_RESET_SET, 0xffffffff); in vpu_imx8q_setup()
66 vpu_writel(vpu, offset + SCB_BLK_CTRL_SCB_CLK_ENABLE_SET, 0xE); in vpu_imx8q_setup()
67 vpu_writel(vpu, offset + SCB_BLK_CTRL_CACHE_RESET_SET, 0x7); in vpu_imx8q_setup()
68 vpu_writel(vpu, XMEM_CONTROL, 0x102); in vpu_imx8q_setup()
70 vpu_readl(vpu, offset + 0x108); in vpu_imx8q_setup()
75 static int vpu_imx8q_reset_enc(struct vpu_dev *vpu) in vpu_imx8q_reset_enc() argument
80 static int vpu_imx8q_reset_dec(struct vpu_dev *vpu) in vpu_imx8q_reset_dec() argument
84 vpu_writel(vpu, offset + MFD_BLK_CTRL_MFD_SYS_RESET_CLR, 0xffffffff); in vpu_imx8q_reset_dec()
89 int vpu_imx8q_reset(struct vpu_dev *vpu) in vpu_imx8q_reset() argument
93 vpu_writel(vpu, offset + SCB_BLK_CTRL_CACHE_RESET_CLR, 0x7); in vpu_imx8q_reset()
94 vpu_imx8q_reset_enc(vpu); in vpu_imx8q_reset()
95 vpu_imx8q_reset_dec(vpu); in vpu_imx8q_reset()
161 p[16] = core->vpu->res->plat_type; in vpu_imx8q_on_firmware_loaded()