Home
last modified time | relevance | path

Searched defs:vpu (Results 1 – 25 of 39) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/remoteproc/
Dingenic_rproc.c56 struct vpu { struct
60 struct vpu_mem_info mem_info[ARRAY_SIZE(vpu_mem_map)]; argument
66 struct vpu *vpu = rproc->priv; in ingenic_rproc_prepare() argument
79 struct vpu *vpu = rproc->priv; in ingenic_rproc_unprepare() local
88 struct vpu *vpu = rproc->priv; in ingenic_rproc_start() local
102 struct vpu *vpu = rproc->priv; in ingenic_rproc_stop() local
114 struct vpu *vpu = rproc->priv; in ingenic_rproc_kick() local
121 struct vpu *vpu = rproc->priv; in ingenic_rproc_da_to_va() local
150 struct vpu *vpu = rproc->priv; in vpu_interrupt() local
166 struct vpu *vpu; in ingenic_rproc_probe() local
/kernel/linux/linux-5.10/drivers/media/platform/mtk-vcodec/
Dvdec_vpu_if.c15 struct vdec_vpu_inst *vpu = (struct vdec_vpu_inst *) in handle_init_ack_msg() local
42 struct vdec_vpu_inst *vpu = (struct vdec_vpu_inst *) in vpu_dec_ipi_handler() local
70 static int vcodec_vpu_send_msg(struct vdec_vpu_inst *vpu, void *msg, int len) in vcodec_vpu_send_msg()
90 static int vcodec_send_ap_ipi(struct vdec_vpu_inst *vpu, unsigned int msg_id) in vcodec_send_ap_ipi()
106 int vpu_dec_init(struct vdec_vpu_inst *vpu) in vpu_dec_init()
134 int vpu_dec_start(struct vdec_vpu_inst *vpu, uint32_t *data, unsigned int len) in vpu_dec_start()
159 int vpu_dec_end(struct vdec_vpu_inst *vpu) in vpu_dec_end()
164 int vpu_dec_deinit(struct vdec_vpu_inst *vpu) in vpu_dec_deinit()
169 int vpu_dec_reset(struct vdec_vpu_inst *vpu) in vpu_dec_reset()
Dvenc_vpu_if.c12 static void handle_enc_init_msg(struct venc_vpu_inst *vpu, const void *data) in handle_enc_init_msg()
38 static void handle_enc_encode_msg(struct venc_vpu_inst *vpu, const void *data) in handle_enc_encode_msg()
50 struct venc_vpu_inst *vpu = in vpu_enc_ipi_handler() local
81 static int vpu_enc_send_msg(struct venc_vpu_inst *vpu, void *msg, in vpu_enc_send_msg()
108 int vpu_enc_init(struct venc_vpu_inst *vpu) in vpu_enc_init()
140 static unsigned int venc_enc_param_crop_right(struct venc_vpu_inst *vpu, in venc_enc_param_crop_right()
159 int vpu_enc_set_param(struct venc_vpu_inst *vpu, in vpu_enc_set_param()
225 int vpu_enc_encode(struct venc_vpu_inst *vpu, unsigned int bs_mode, in vpu_enc_encode()
277 int vpu_enc_deinit(struct venc_vpu_inst *vpu) in vpu_enc_deinit()
/kernel/linux/linux-5.10/drivers/media/platform/mtk-mdp/
Dmtk_mdp_vpu.c13 static inline struct mtk_mdp_ctx *vpu_to_ctx(struct mtk_mdp_vpu *vpu) in vpu_to_ctx()
20 struct mtk_mdp_vpu *vpu = (struct mtk_mdp_vpu *) in mtk_mdp_vpu_handle_init_ack() local
34 struct mtk_mdp_vpu *vpu = (struct mtk_mdp_vpu *) in mtk_mdp_vpu_ipi_handler() local
75 static int mtk_mdp_vpu_send_msg(void *msg, int len, struct mtk_mdp_vpu *vpu, in mtk_mdp_vpu_send_msg()
96 static int mtk_mdp_vpu_send_ap_ipi(struct mtk_mdp_vpu *vpu, uint32_t msg_id) in mtk_mdp_vpu_send_ap_ipi()
112 int mtk_mdp_vpu_init(struct mtk_mdp_vpu *vpu) in mtk_mdp_vpu_init()
130 int mtk_mdp_vpu_deinit(struct mtk_mdp_vpu *vpu) in mtk_mdp_vpu_deinit()
135 int mtk_mdp_vpu_process(struct mtk_mdp_vpu *vpu) in mtk_mdp_vpu_process()
/kernel/linux/linux-5.10/drivers/staging/media/hantro/
Dhantro_drv.c59 static void hantro_job_finish_no_pm(struct hantro_dev *vpu, in hantro_job_finish_no_pm()
80 static void hantro_job_finish(struct hantro_dev *vpu, in hantro_job_finish()
92 void hantro_irq_done(struct hantro_dev *vpu, in hantro_irq_done()
112 struct hantro_dev *vpu; in hantro_watchdog() local
366 static int hantro_ctrls_setup(struct hantro_dev *vpu, in hantro_ctrls_setup()
397 struct hantro_dev *vpu = video_drvdata(filp); in hantro_open() local
531 static int hantro_attach_func(struct hantro_dev *vpu, in hantro_attach_func()
634 static int hantro_add_func(struct hantro_dev *vpu, unsigned int funcid) in hantro_add_func()
691 static int hantro_add_enc_func(struct hantro_dev *vpu) in hantro_add_enc_func()
699 static int hantro_add_dec_func(struct hantro_dev *vpu) in hantro_add_dec_func()
[all …]
Dimx8m_vpu_hw.c27 static void imx8m_soft_reset(struct hantro_dev *vpu, u32 reset_bits) in imx8m_soft_reset()
44 static void imx8m_clk_enable(struct hantro_dev *vpu, u32 clock_bits) in imx8m_clk_enable()
53 static int imx8mq_runtime_resume(struct hantro_dev *vpu) in imx8mq_runtime_resume()
135 struct hantro_dev *vpu = dev_id; in imx8m_vpu_g1_irq() local
151 static int imx8mq_vpu_hw_init(struct hantro_dev *vpu) in imx8mq_vpu_hw_init()
161 struct hantro_dev *vpu = ctx->dev; in imx8m_vpu_g1_reset() local
Dhantro_postproc.c15 #define HANTRO_PP_REG_WRITE(vpu, reg_name, val) \ argument
22 #define HANTRO_PP_REG_WRITE_S(vpu, reg_name, val) \ argument
55 struct hantro_dev *vpu = ctx->dev; in hantro_postproc_enable() local
99 struct hantro_dev *vpu = ctx->dev; in hantro_postproc_free() local
115 struct hantro_dev *vpu = ctx->dev; in hantro_postproc_alloc() local
144 struct hantro_dev *vpu = ctx->dev; in hantro_postproc_disable() local
Drk3288_vpu_hw.c114 struct hantro_dev *vpu = dev_id; in rk3288_vepu_irq() local
132 struct hantro_dev *vpu = dev_id; in rk3288_vdpu_irq() local
148 static int rk3288_vpu_hw_init(struct hantro_dev *vpu) in rk3288_vpu_hw_init()
157 struct hantro_dev *vpu = ctx->dev; in rk3288_vpu_enc_reset() local
166 struct hantro_dev *vpu = ctx->dev; in rk3288_vpu_dec_reset() local
Drk3399_vpu_hw.c93 struct hantro_dev *vpu = dev_id; in rk3399_vepu_irq() local
111 struct hantro_dev *vpu = dev_id; in rk3399_vdpu_irq() local
127 static int rk3399_vpu_hw_init(struct hantro_dev *vpu) in rk3399_vpu_hw_init()
136 struct hantro_dev *vpu = ctx->dev; in rk3399_vpu_enc_reset() local
145 struct hantro_dev *vpu = ctx->dev; in rk3399_vpu_dec_reset() local
Dhantro_h1_jpeg_enc.c18 static void hantro_h1_set_src_img_ctrl(struct hantro_dev *vpu, in hantro_h1_set_src_img_ctrl()
31 static void hantro_h1_jpeg_enc_set_buffers(struct hantro_dev *vpu, in hantro_h1_jpeg_enc_set_buffers()
65 hantro_h1_jpeg_enc_set_qtable(struct hantro_dev *vpu, in hantro_h1_jpeg_enc_set_qtable()
93 struct hantro_dev *vpu = ctx->dev; in hantro_h1_jpeg_enc_run() local
143 struct hantro_dev *vpu = ctx->dev; in hantro_jpeg_enc_done() local
Dhantro_g1_vp8_dec.c140 struct hantro_dev *vpu = ctx->dev; in cfg_lf() local
182 struct hantro_dev *vpu = ctx->dev; in cfg_qp() local
235 struct hantro_dev *vpu = ctx->dev; in cfg_parts() local
333 struct hantro_dev *vpu = ctx->dev; in cfg_tap() local
373 struct hantro_dev *vpu = ctx->dev; in cfg_ref() local
412 struct hantro_dev *vpu = ctx->dev; in cfg_buffers() local
439 struct hantro_dev *vpu = ctx->dev; in hantro_g1_vp8_dec_run() local
Drk3399_vpu_hw_jpeg_enc.c35 static void rk3399_vpu_set_src_img_ctrl(struct hantro_dev *vpu, in rk3399_vpu_set_src_img_ctrl()
62 static void rk3399_vpu_jpeg_enc_set_buffers(struct hantro_dev *vpu, in rk3399_vpu_jpeg_enc_set_buffers()
95 rk3399_vpu_jpeg_enc_set_qtable(struct hantro_dev *vpu, in rk3399_vpu_jpeg_enc_set_qtable()
123 struct hantro_dev *vpu = ctx->dev; in rk3399_vpu_jpeg_enc_run() local
Dhantro_g1_h264_dec.c29 struct hantro_dev *vpu = ctx->dev; in set_params() local
132 struct hantro_dev *vpu = ctx->dev; in set_ref() local
233 struct hantro_dev *vpu = ctx->dev; in set_buffers() local
278 struct hantro_dev *vpu = ctx->dev; in hantro_g1_h264_dec_run() local
Drk3399_vpu_hw_vp8_dec.c281 struct hantro_dev *vpu = ctx->dev; in cfg_lf() local
320 struct hantro_dev *vpu = ctx->dev; in cfg_qp() local
348 struct hantro_dev *vpu = ctx->dev; in cfg_parts() local
431 struct hantro_dev *vpu = ctx->dev; in cfg_tap() local
450 struct hantro_dev *vpu = ctx->dev; in cfg_ref() local
489 struct hantro_dev *vpu = ctx->dev; in cfg_buffers() local
517 struct hantro_dev *vpu = ctx->dev; in rk3399_vpu_vp8_dec_run() local
Dhantro_mpeg2.c40 struct hantro_dev *vpu = ctx->dev; in hantro_mpeg2_dec_init() local
55 struct hantro_dev *vpu = ctx->dev; in hantro_mpeg2_dec_exit() local
Dhantro.h329 static inline void vepu_write_relaxed(struct hantro_dev *vpu, in vepu_write_relaxed()
336 static inline void vepu_write(struct hantro_dev *vpu, u32 val, u32 reg) in vepu_write()
342 static inline u32 vepu_read(struct hantro_dev *vpu, u32 reg) in vepu_read()
350 static inline void vdpu_write_relaxed(struct hantro_dev *vpu, in vdpu_write_relaxed()
357 static inline void vdpu_write(struct hantro_dev *vpu, u32 val, u32 reg) in vdpu_write()
363 static inline u32 vdpu_read(struct hantro_dev *vpu, u32 reg) in vdpu_read()
371 static inline u32 vdpu_read_mask(struct hantro_dev *vpu, in vdpu_read_mask()
383 static inline void hantro_reg_write(struct hantro_dev *vpu, in hantro_reg_write()
390 static inline void hantro_reg_write_s(struct hantro_dev *vpu, in hantro_reg_write_s()
Dhantro_vp8.c147 struct hantro_dev *vpu = ctx->dev; in hantro_vp8_dec_init() local
195 struct hantro_dev *vpu = ctx->dev; in hantro_vp8_dec_exit() local
Dhantro_h264.c383 struct hantro_dev *vpu = ctx->dev; in hantro_h264_dec_exit() local
392 struct hantro_dev *vpu = ctx->dev; in hantro_h264_dec_init() local
Drk3399_vpu_hw_mpeg2_dec.c87 rk3399_vpu_mpeg2_dec_set_quantization(struct hantro_dev *vpu, in rk3399_vpu_mpeg2_dec_set_quantization()
100 rk3399_vpu_mpeg2_dec_set_buffers(struct hantro_dev *vpu, in rk3399_vpu_mpeg2_dec_set_buffers()
162 struct hantro_dev *vpu = ctx->dev; in rk3399_vpu_mpeg2_dec_run() local
Dhantro_g1_mpeg2_dec.c85 hantro_g1_mpeg2_dec_set_quantization(struct hantro_dev *vpu, in hantro_g1_mpeg2_dec_set_quantization()
99 hantro_g1_mpeg2_dec_set_buffers(struct hantro_dev *vpu, struct hantro_ctx *ctx, in hantro_g1_mpeg2_dec_set_buffers()
160 struct hantro_dev *vpu = ctx->dev; in hantro_g1_mpeg2_dec_run() local
/kernel/linux/linux-5.10/drivers/media/platform/mtk-vpu/
Dmtk_vpu.c220 static inline void vpu_cfg_writel(struct mtk_vpu *vpu, u32 val, u32 offset) in vpu_cfg_writel()
225 static inline u32 vpu_cfg_readl(struct mtk_vpu *vpu, u32 offset) in vpu_cfg_readl()
230 static inline bool vpu_running(struct mtk_vpu *vpu) in vpu_running()
235 static void vpu_clock_disable(struct mtk_vpu *vpu) in vpu_clock_disable()
248 static int vpu_clock_enable(struct mtk_vpu *vpu) in vpu_clock_enable()
270 struct mtk_vpu *vpu = platform_get_drvdata(pdev); in vpu_ipi_register() local
296 struct mtk_vpu *vpu = platform_get_drvdata(pdev); in vpu_ipi_send() local
365 struct mtk_vpu *vpu = container_of(wdt, struct mtk_vpu, wdt); in vpu_wdt_reset_func() local
393 struct mtk_vpu *vpu = platform_get_drvdata(pdev); in vpu_wdt_reg_handler() local
419 struct mtk_vpu *vpu = platform_get_drvdata(pdev); in vpu_get_vdec_hw_capa() local
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/mtk-vcodec/vdec/
Dvdec_h264_if.c131 struct vdec_vpu_inst vpu; member
339 struct vdec_vpu_inst *vpu = &inst->vpu; in vdec_h264_decode() local
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dimx51.dtsi633 vpu: vpu@83ff4000 { label
Dimx53.dtsi829 vpu: vpu@63ff4000 { label
/kernel/linux/linux-5.10/arch/arm64/boot/dts/amlogic/
Dmeson-gx.dtsi611 vpu: vpu@d0100000 { label

12