Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/media/platform/mtk-vcodec/
Dvdec_vpu_if.c14 struct vdec_vpu_inst *vpu = (struct vdec_vpu_inst *) in handle_init_ack_msg() local
34 struct vdec_vpu_inst *vpu = (struct vdec_vpu_inst *) in vpu_dec_ipi_handler() local
62 static int vcodec_vpu_send_msg(struct vdec_vpu_inst *vpu, void *msg, int len) in vcodec_vpu_send_msg()
81 static int vcodec_send_ap_ipi(struct vdec_vpu_inst *vpu, unsigned int msg_id) in vcodec_send_ap_ipi()
97 int vpu_dec_init(struct vdec_vpu_inst *vpu) in vpu_dec_init()
123 int vpu_dec_start(struct vdec_vpu_inst *vpu, uint32_t *data, unsigned int len) in vpu_dec_start()
148 int vpu_dec_end(struct vdec_vpu_inst *vpu) in vpu_dec_end()
153 int vpu_dec_deinit(struct vdec_vpu_inst *vpu) in vpu_dec_deinit()
158 int vpu_dec_reset(struct vdec_vpu_inst *vpu) in vpu_dec_reset()
Dvenc_vpu_if.c11 static void handle_enc_init_msg(struct venc_vpu_inst *vpu, void *data) in handle_enc_init_msg()
19 static void handle_enc_encode_msg(struct venc_vpu_inst *vpu, void *data) in handle_enc_encode_msg()
31 struct venc_vpu_inst *vpu = in vpu_enc_ipi_handler() local
59 static int vpu_enc_send_msg(struct venc_vpu_inst *vpu, void *msg, in vpu_enc_send_msg()
85 int vpu_enc_init(struct venc_vpu_inst *vpu) in vpu_enc_init()
116 int vpu_enc_set_param(struct venc_vpu_inst *vpu, in vpu_enc_set_param()
169 int vpu_enc_encode(struct venc_vpu_inst *vpu, unsigned int bs_mode, in vpu_enc_encode()
210 int vpu_enc_deinit(struct venc_vpu_inst *vpu) in vpu_enc_deinit()
/Linux-v5.4/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
33 struct mtk_mdp_vpu *vpu = (struct mtk_mdp_vpu *) in mtk_mdp_vpu_ipi_handler() local
74 static int mtk_mdp_vpu_send_msg(void *msg, int len, struct mtk_mdp_vpu *vpu, in mtk_mdp_vpu_send_msg()
95 static int mtk_mdp_vpu_send_ap_ipi(struct mtk_mdp_vpu *vpu, uint32_t msg_id) in mtk_mdp_vpu_send_ap_ipi()
111 int mtk_mdp_vpu_init(struct mtk_mdp_vpu *vpu) in mtk_mdp_vpu_init()
129 int mtk_mdp_vpu_deinit(struct mtk_mdp_vpu *vpu) in mtk_mdp_vpu_deinit()
134 int mtk_mdp_vpu_process(struct mtk_mdp_vpu *vpu) in mtk_mdp_vpu_process()
/Linux-v5.4/drivers/media/platform/mtk-vpu/
Dmtk_vpu.c218 static inline void vpu_cfg_writel(struct mtk_vpu *vpu, u32 val, u32 offset) in vpu_cfg_writel()
223 static inline u32 vpu_cfg_readl(struct mtk_vpu *vpu, u32 offset) in vpu_cfg_readl()
228 static inline bool vpu_running(struct mtk_vpu *vpu) in vpu_running()
233 static void vpu_clock_disable(struct mtk_vpu *vpu) in vpu_clock_disable()
246 static int vpu_clock_enable(struct mtk_vpu *vpu) in vpu_clock_enable()
268 struct mtk_vpu *vpu = platform_get_drvdata(pdev); in vpu_ipi_register() local
294 struct mtk_vpu *vpu = platform_get_drvdata(pdev); in vpu_ipi_send() local
363 struct mtk_vpu *vpu = container_of(wdt, struct mtk_vpu, wdt); in vpu_wdt_reset_func() local
391 struct mtk_vpu *vpu = platform_get_drvdata(pdev); in vpu_wdt_reg_handler() local
417 struct mtk_vpu *vpu = platform_get_drvdata(pdev); in vpu_get_vdec_hw_capa() local
[all …]
/Linux-v5.4/drivers/staging/media/hantro/
Dhantro_drv.c91 static void hantro_job_finish(struct hantro_dev *vpu, in hantro_job_finish()
124 void hantro_irq_done(struct hantro_dev *vpu, unsigned int bytesused, in hantro_irq_done()
141 struct hantro_dev *vpu; in hantro_watchdog() local
362 static int hantro_ctrls_setup(struct hantro_dev *vpu, in hantro_ctrls_setup()
393 struct hantro_dev *vpu = video_drvdata(filp); in hantro_open() local
525 static int hantro_attach_func(struct hantro_dev *vpu, in hantro_attach_func()
628 static int hantro_add_func(struct hantro_dev *vpu, unsigned int funcid) in hantro_add_func()
685 static int hantro_add_enc_func(struct hantro_dev *vpu) in hantro_add_enc_func()
693 static int hantro_add_dec_func(struct hantro_dev *vpu) in hantro_add_dec_func()
701 static void hantro_remove_func(struct hantro_dev *vpu, in hantro_remove_func()
[all …]
Drk3288_vpu_hw.c107 struct hantro_dev *vpu = dev_id; in rk3288_vepu_irq() local
126 struct hantro_dev *vpu = dev_id; in rk3288_vdpu_irq() local
142 static int rk3288_vpu_hw_init(struct hantro_dev *vpu) in rk3288_vpu_hw_init()
151 struct hantro_dev *vpu = ctx->dev; in rk3288_vpu_enc_reset() local
160 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
112 struct hantro_dev *vpu = dev_id; in rk3399_vdpu_irq() local
128 static int rk3399_vpu_hw_init(struct hantro_dev *vpu) in rk3399_vpu_hw_init()
137 struct hantro_dev *vpu = ctx->dev; in rk3399_vpu_enc_reset() local
146 struct hantro_dev *vpu = ctx->dev; in rk3399_vpu_dec_reset() 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
374 struct hantro_dev *vpu = ctx->dev; in cfg_ref() local
406 struct hantro_dev *vpu = ctx->dev; in cfg_buffers() local
433 struct hantro_dev *vpu = ctx->dev; in hantro_g1_vp8_dec_run() 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()
82 struct hantro_dev *vpu = ctx->dev; in hantro_h1_jpeg_enc_run() local
Drk3399_vpu_hw_jpeg_enc.c36 static void rk3399_vpu_set_src_img_ctrl(struct hantro_dev *vpu, in rk3399_vpu_set_src_img_ctrl()
63 static void rk3399_vpu_jpeg_enc_set_buffers(struct hantro_dev *vpu, in rk3399_vpu_jpeg_enc_set_buffers()
96 rk3399_vpu_jpeg_enc_set_qtable(struct hantro_dev *vpu, in rk3399_vpu_jpeg_enc_set_qtable()
113 struct hantro_dev *vpu = ctx->dev; in rk3399_vpu_jpeg_enc_run() local
Dhantro_g1_h264_dec.c30 struct hantro_dev *vpu = ctx->dev; in set_params() local
132 struct hantro_dev *vpu = ctx->dev; in set_ref() local
234 struct hantro_dev *vpu = ctx->dev; in set_buffers() local
266 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
484 struct hantro_dev *vpu = ctx->dev; in cfg_buffers() local
512 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.h325 static inline void vepu_write_relaxed(struct hantro_dev *vpu, in vepu_write_relaxed()
332 static inline void vepu_write(struct hantro_dev *vpu, u32 val, u32 reg) in vepu_write()
338 static inline u32 vepu_read(struct hantro_dev *vpu, u32 reg) in vepu_read()
346 static inline void vdpu_write_relaxed(struct hantro_dev *vpu, in vdpu_write_relaxed()
353 static inline void vdpu_write(struct hantro_dev *vpu, u32 val, u32 reg) in vdpu_write()
359 static inline u32 vdpu_read(struct hantro_dev *vpu, u32 reg) in vdpu_read()
367 static inline void hantro_reg_write(struct hantro_dev *vpu, in hantro_reg_write()
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_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()
163 struct hantro_dev *vpu = ctx->dev; in hantro_g1_mpeg2_dec_run() 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()
165 struct hantro_dev *vpu = ctx->dev; in rk3399_vpu_mpeg2_dec_run() local
Dhantro_h264.c617 struct hantro_dev *vpu = ctx->dev; in hantro_h264_dec_exit() local
626 struct hantro_dev *vpu = ctx->dev; in hantro_h264_dec_init() local
/Linux-v5.4/drivers/media/platform/mtk-vcodec/vdec/
Dvdec_h264_if.c131 struct vdec_vpu_inst vpu; member
341 struct vdec_vpu_inst *vpu = &inst->vpu; in vdec_h264_decode() local
Dvdec_vp8_if.c164 struct vdec_vpu_inst vpu; member
437 struct vdec_vpu_inst *vpu = &inst->vpu; in vdec_vp8_decode() local
/Linux-v5.4/arch/arm/boot/dts/
Dimx51.dtsi619 vpu: vpu@83ff4000 { label
Dimx53.dtsi828 vpu: vpu@63ff4000 { label
Dimx6qdl.dtsi493 vpu: vpu@2040000 { label
/Linux-v5.4/arch/arm64/boot/dts/amlogic/
Dmeson-gx.dtsi544 vpu: vpu@d0100000 { label
/Linux-v5.4/arch/arm64/boot/dts/mediatek/
Dmt8173.dtsi481 vpu: vpu@10020000 { label

12