/Linux-v5.4/drivers/media/platform/mtk-vcodec/ |
D | vdec_vpu_if.c | 14 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()
|
D | venc_vpu_if.c | 11 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/ |
D | mtk_mdp_vpu.c | 13 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/ |
D | mtk_vpu.c | 218 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/ |
D | hantro_drv.c | 91 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 …]
|
D | rk3288_vpu_hw.c | 107 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
|
D | rk3399_vpu_hw.c | 93 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
|
D | hantro_g1_vp8_dec.c | 140 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
|
D | hantro_h1_jpeg_enc.c | 18 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
|
D | rk3399_vpu_hw_jpeg_enc.c | 36 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
|
D | hantro_g1_h264_dec.c | 30 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
|
D | rk3399_vpu_hw_vp8_dec.c | 281 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
|
D | hantro_mpeg2.c | 40 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
|
D | hantro.h | 325 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()
|
D | hantro_vp8.c | 147 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
|
D | hantro_g1_mpeg2_dec.c | 85 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
|
D | rk3399_vpu_hw_mpeg2_dec.c | 87 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
|
D | hantro_h264.c | 617 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/ |
D | vdec_h264_if.c | 131 struct vdec_vpu_inst vpu; member 341 struct vdec_vpu_inst *vpu = &inst->vpu; in vdec_h264_decode() local
|
D | vdec_vp8_if.c | 164 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/ |
D | imx51.dtsi | 619 vpu: vpu@83ff4000 { label
|
D | imx53.dtsi | 828 vpu: vpu@63ff4000 { label
|
D | imx6qdl.dtsi | 493 vpu: vpu@2040000 { label
|
/Linux-v5.4/arch/arm64/boot/dts/amlogic/ |
D | meson-gx.dtsi | 544 vpu: vpu@d0100000 { label
|
/Linux-v5.4/arch/arm64/boot/dts/mediatek/ |
D | mt8173.dtsi | 481 vpu: vpu@10020000 { label
|