Lines Matching refs:mtk_vpu
209 struct mtk_vpu { struct
227 static inline void vpu_cfg_writel(struct mtk_vpu *vpu, u32 val, u32 offset) in vpu_cfg_writel() argument
232 static inline u32 vpu_cfg_readl(struct mtk_vpu *vpu, u32 offset) in vpu_cfg_readl()
237 static inline bool vpu_running(struct mtk_vpu *vpu) in vpu_running()
242 static void vpu_clock_disable(struct mtk_vpu *vpu) in vpu_clock_disable()
255 static int vpu_clock_enable(struct mtk_vpu *vpu) in vpu_clock_enable()
273 static void vpu_dump_status(struct mtk_vpu *vpu) in vpu_dump_status()
291 struct mtk_vpu *vpu = platform_get_drvdata(pdev); in vpu_ipi_register()
317 struct mtk_vpu *vpu = platform_get_drvdata(pdev); in vpu_ipi_send()
388 struct mtk_vpu *vpu = container_of(wdt, struct mtk_vpu, wdt); in vpu_wdt_reset_func()
416 struct mtk_vpu *vpu = platform_get_drvdata(pdev); in vpu_wdt_reg_handler()
442 struct mtk_vpu *vpu = platform_get_drvdata(pdev); in vpu_get_vdec_hw_capa()
450 struct mtk_vpu *vpu = platform_get_drvdata(pdev); in vpu_get_venc_hw_capa()
459 struct mtk_vpu *vpu = platform_get_drvdata(pdev); in vpu_mapping_dm_addr()
499 static int load_requested_vpu(struct mtk_vpu *vpu, in load_requested_vpu()
564 struct mtk_vpu *vpu; in vpu_load_firmware()
640 struct mtk_vpu *vpu = priv; in vpu_init_ipi_handler()
659 struct mtk_vpu *vpu = dev_get_drvdata(dev); in vpu_debug_read()
704 static void vpu_free_ext_mem(struct mtk_vpu *vpu, u8 fw_type) in vpu_free_ext_mem()
713 static int vpu_alloc_ext_mem(struct mtk_vpu *vpu, u32 fw_type) in vpu_alloc_ext_mem()
743 static void vpu_ipi_handler(struct mtk_vpu *vpu) in vpu_ipi_handler()
763 static int vpu_ipi_init(struct mtk_vpu *vpu) in vpu_ipi_init()
779 struct mtk_vpu *vpu = priv; in vpu_irq_handler()
813 struct mtk_vpu *vpu; in mtk_vpu_probe()
964 struct mtk_vpu *vpu = platform_get_drvdata(pdev); in mtk_vpu_remove()
983 struct mtk_vpu *vpu = dev_get_drvdata(dev); in mtk_vpu_suspend()
1023 struct mtk_vpu *vpu = dev_get_drvdata(dev); in mtk_vpu_resume()