/linux/drivers/media/platform/mediatek/vcodec/decoder/ |
H A D | vdec_vpu_if.c | 14 struct vdec_vpu_inst *vpu = (struct vdec_vpu_inst *) in handle_init_ack_msg() local 57 struct vdec_vpu_inst *vpu = (struct vdec_vpu_inst *) in handle_get_param_msg_ack() local 75 static bool vpu_dec_check_ap_inst(struct mtk_vcodec_dec_dev *dec_dev, struct vdec_vpu_inst *vpu) in vpu_dec_check_ap_inst() 106 struct vdec_vpu_inst *vpu; in vpu_dec_ipi_handler() local 151 static int vcodec_vpu_send_msg(struct vdec_vpu_inst *vpu, void *msg, int len) in vcodec_vpu_send_msg() 182 static int vcodec_send_ap_ipi(struct vdec_vpu_inst *vpu, unsigned int msg_id) in vcodec_send_ap_ipi() 202 int vpu_dec_init(struct vdec_vpu_inst *vpu) in vpu_dec_init() 246 int vpu_dec_start(struct vdec_vpu_inst *vpu, uint32_t *data, unsigned int len) in vpu_dec_start() 273 int vpu_dec_get_param(struct vdec_vpu_inst *vpu, uint32_t *data, in vpu_dec_get_param() 296 int vpu_dec_core(struct vdec_vpu_inst *vpu) in vpu_dec_core() [all …]
|
/linux/drivers/remoteproc/ |
H A D | ingenic_rproc.c | 61 struct vpu { struct 65 struct vpu_mem_info mem_info[ARRAY_SIZE(vpu_mem_map)]; argument 71 struct vpu *vpu = rproc->priv; in ingenic_rproc_prepare() argument 84 struct vpu *vpu = rproc->priv; in ingenic_rproc_unprepare() local 93 struct vpu *vpu = rproc->priv; in ingenic_rproc_start() local 107 struct vpu *vpu = rproc->priv; in ingenic_rproc_stop() local 119 struct vpu *vpu = rproc->priv; in ingenic_rproc_kick() local 126 struct vpu *vpu = rproc->priv; in ingenic_rproc_da_to_va() local 155 struct vpu *vpu = rproc->priv; in vpu_interrupt() local 171 struct vpu *vpu; in ingenic_rproc_probe() local
|
/linux/drivers/media/platform/mediatek/vcodec/encoder/ |
H A D | venc_vpu_if.c | 11 static void handle_enc_init_msg(struct venc_vpu_inst *vpu, const void *data) in handle_enc_init_msg() 36 static void handle_enc_encode_msg(struct venc_vpu_inst *vpu, const void *data) in handle_enc_encode_msg() 45 static bool vpu_enc_check_ap_inst(struct mtk_vcodec_enc_dev *enc_dev, struct venc_vpu_inst *vpu) in vpu_enc_check_ap_inst() 66 struct venc_vpu_inst *vpu; in vpu_enc_ipi_handler() local 109 static int vpu_enc_send_msg(struct venc_vpu_inst *vpu, void *msg, in vpu_enc_send_msg() 132 int vpu_enc_init(struct venc_vpu_inst *vpu) in vpu_enc_init() 167 static unsigned int venc_enc_param_crop_right(struct venc_vpu_inst *vpu, in venc_enc_param_crop_right() 186 int vpu_enc_set_param(struct venc_vpu_inst *vpu, in vpu_enc_set_param() 251 static int vpu_enc_encode_32bits(struct venc_vpu_inst *vpu, in vpu_enc_encode_32bits() 299 static int vpu_enc_encode_34bits(struct venc_vpu_inst *vpu, in vpu_enc_encode_34bits() [all …]
|
/linux/drivers/media/platform/verisilicon/ |
H A D | rockchip_vpu_hw.c | 358 struct hantro_dev *vpu = dev_id; in rockchip_vpu1_vepu_irq() local 376 struct hantro_dev *vpu = dev_id; in rockchip_vpu2_vdpu_irq() local 394 struct hantro_dev *vpu = dev_id; in rockchip_vpu2_vepu_irq() local 412 struct hantro_dev *vpu = dev_id; in rk3588_vpu981_irq() local 428 static int rk3036_vpu_hw_init(struct hantro_dev *vpu) in rk3036_vpu_hw_init() 435 static int rk3066_vpu_hw_init(struct hantro_dev *vpu) in rk3066_vpu_hw_init() 443 static int rk3588_vpu981_hw_init(struct hantro_dev *vpu) in rk3588_vpu981_hw_init() 450 static int rockchip_vpu_hw_init(struct hantro_dev *vpu) in rockchip_vpu_hw_init() 459 struct hantro_dev *vpu = ctx->dev; in rk3066_vpu_dec_reset() local 467 struct hantro_dev *vpu = ctx->dev; in rockchip_vpu1_enc_reset() local [all …]
|
H A D | hantro_drv.c | 61 static void hantro_job_finish_no_pm(struct hantro_dev *vpu, in hantro_job_finish_no_pm() 88 static void hantro_job_finish(struct hantro_dev *vpu, in hantro_job_finish() 100 void hantro_irq_done(struct hantro_dev *vpu, in hantro_irq_done() 120 struct hantro_dev *vpu; in hantro_watchdog() local 597 static int hantro_ctrls_setup(struct hantro_dev *vpu, in hantro_ctrls_setup() 628 struct hantro_dev *vpu = video_drvdata(filp); in hantro_open() local 782 static int hantro_attach_func(struct hantro_dev *vpu, in hantro_attach_func() 885 static int hantro_add_func(struct hantro_dev *vpu, unsigned int funcid) in hantro_add_func() 948 static int hantro_add_enc_func(struct hantro_dev *vpu) in hantro_add_enc_func() 956 static int hantro_add_dec_func(struct hantro_dev *vpu) in hantro_add_dec_func() [all …]
|
H A 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() 40 static void hantro_h1_jpeg_enc_set_buffers(struct hantro_dev *vpu, in hantro_h1_jpeg_enc_set_buffers() 80 hantro_h1_jpeg_enc_set_qtable(struct hantro_dev *vpu, in hantro_h1_jpeg_enc_set_qtable() 108 struct hantro_dev *vpu = ctx->dev; in hantro_h1_jpeg_enc_run() local 160 struct hantro_dev *vpu = ctx->dev; in hantro_h1_jpeg_enc_done() local
|
H A D | rockchip_vpu2_hw_jpeg_enc.c | 35 static void rockchip_vpu2_set_src_img_ctrl(struct hantro_dev *vpu, in rockchip_vpu2_set_src_img_ctrl() 67 static void rockchip_vpu2_jpeg_enc_set_buffers(struct hantro_dev *vpu, in rockchip_vpu2_jpeg_enc_set_buffers() 106 rockchip_vpu2_jpeg_enc_set_qtable(struct hantro_dev *vpu, in rockchip_vpu2_jpeg_enc_set_qtable() 134 struct hantro_dev *vpu = ctx->dev; in rockchip_vpu2_jpeg_enc_run() local 191 struct hantro_dev *vpu = ctx->dev; in rockchip_vpu2_jpeg_enc_done() local
|
H A D | hantro_g1_vp8_dec.c | 139 struct hantro_dev *vpu = ctx->dev; in cfg_lf() local 181 struct hantro_dev *vpu = ctx->dev; in cfg_qp() local 234 struct hantro_dev *vpu = ctx->dev; in cfg_parts() local 332 struct hantro_dev *vpu = ctx->dev; in cfg_tap() local 373 struct hantro_dev *vpu = ctx->dev; in cfg_ref() local 411 struct hantro_dev *vpu = ctx->dev; in cfg_buffers() local 435 struct hantro_dev *vpu = ctx->dev; in hantro_g1_vp8_dec_run() local
|
H A D | hantro_g2_hevc_dec.c | 13 struct hantro_dev *vpu = ctx->dev; in prepare_tile_info_buffer() local 147 struct hantro_dev *vpu = ctx->dev; in set_params() local 289 struct hantro_dev *vpu = ctx->dev; in set_ref_pic_list() local 371 struct hantro_dev *vpu = ctx->dev; in set_ref() local 506 struct hantro_dev *vpu = ctx->dev; in set_buffers() local 531 struct hantro_dev *vpu = ctx->dev; in prepare_scaling_list_buffer() local 581 struct hantro_dev *vpu = ctx->dev; in hantro_g2_hevc_dec_run() local
|
H A D | hantro_g1_h264_dec.c | 28 struct hantro_dev *vpu = ctx->dev; in set_params() local 130 struct hantro_dev *vpu = ctx->dev; in set_ref() local 209 struct hantro_dev *vpu = ctx->dev; in set_buffers() local 252 struct hantro_dev *vpu = ctx->dev; in hantro_g1_h264_dec_run() local
|
H A D | rockchip_vpu2_hw_vp8_dec.c | 280 struct hantro_dev *vpu = ctx->dev; in cfg_lf() local 319 struct hantro_dev *vpu = ctx->dev; in cfg_qp() local 347 struct hantro_dev *vpu = ctx->dev; in cfg_parts() local 430 struct hantro_dev *vpu = ctx->dev; in cfg_tap() local 450 struct hantro_dev *vpu = ctx->dev; in cfg_ref() local 487 struct hantro_dev *vpu = ctx->dev; in cfg_buffers() local 512 struct hantro_dev *vpu = ctx->dev; in rockchip_vpu2_vp8_dec_run() local
|
H A D | hantro_g1.c | 16 struct hantro_dev *vpu = dev_id; in hantro_g1_irq() local 34 struct hantro_dev *vpu = ctx->dev; in hantro_g1_reset() local
|
H A D | sunxi_vpu_hw.c | 83 static int sunxi_vpu_hw_init(struct hantro_dev *vpu) in sunxi_vpu_hw_init() 92 struct hantro_dev *vpu = ctx->dev; in sunxi_vpu_reset() local
|
H A D | hantro_hevc.c | 77 struct hantro_dev *vpu = ctx->dev; in tile_buffer_reallocate() local 217 struct hantro_dev *vpu = ctx->dev; in hantro_hevc_dec_exit() local 253 struct hantro_dev *vpu = ctx->dev; in hantro_hevc_dec_init() local
|
H A 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
|
H A D | stm32mp25_vpu_hw.c | 99 struct hantro_dev *vpu = dev_id; in stm32mp25_venc_irq() local 116 struct hantro_dev *vpu = ctx->dev; in stm32mp25_venc_reset() local
|
H A 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
|
H A D | hantro_g1_mpeg2_dec.c | 81 hantro_g1_mpeg2_dec_set_quantisation(struct hantro_dev *vpu, in hantro_g1_mpeg2_dec_set_quantisation() 92 hantro_g1_mpeg2_dec_set_buffers(struct hantro_dev *vpu, struct hantro_ctx *ctx, in hantro_g1_mpeg2_dec_set_buffers() 150 struct hantro_dev *vpu = ctx->dev; in hantro_g1_mpeg2_dec_run() local
|
H A D | rockchip_vpu2_hw_mpeg2_dec.c | 83 rockchip_vpu2_mpeg2_dec_set_quantisation(struct hantro_dev *vpu, in rockchip_vpu2_mpeg2_dec_set_quantisation() 94 rockchip_vpu2_mpeg2_dec_set_buffers(struct hantro_dev *vpu, in rockchip_vpu2_mpeg2_dec_set_buffers() 153 struct hantro_dev *vpu = ctx->dev; in rockchip_vpu2_mpeg2_dec_run() local
|
H A D | hantro_vp9.c | 160 struct hantro_dev *vpu = ctx->dev; in hantro_vp9_dec_init() local 231 struct hantro_dev *vpu = ctx->dev; in hantro_vp9_dec_exit() local
|
H A D | hantro_h264.c | 497 struct hantro_dev *vpu = ctx->dev; in hantro_h264_dec_exit() local 506 struct hantro_dev *vpu = ctx->dev; in hantro_h264_dec_init() local
|
/linux/drivers/media/platform/mediatek/mdp3/ |
H A D | mtk-mdp3-vpu.c | 14 static inline struct mdp_dev *vpu_to_mdp(struct mdp_vpu_dev *vpu) in vpu_to_mdp() 19 static int mdp_vpu_shared_mem_alloc(struct mdp_vpu_dev *vpu) in mdp_vpu_shared_mem_alloc() 61 void mdp_vpu_shared_mem_free(struct mdp_vpu_dev *vpu) in mdp_vpu_shared_mem_free() 84 struct mdp_vpu_dev *vpu = in mdp_vpu_ipi_handle_init_ack() local 98 struct mdp_vpu_dev *vpu = in mdp_vpu_ipi_handle_deinit_ack() local 111 struct mdp_vpu_dev *vpu = in mdp_vpu_ipi_handle_frame_ack() local 165 static int mdp_vpu_sendmsg(struct mdp_vpu_dev *vpu, enum scp_ipi_id id, in mdp_vpu_sendmsg() 193 int mdp_vpu_dev_init(struct mdp_vpu_dev *vpu, struct mtk_scp *scp, in mdp_vpu_dev_init() 251 int mdp_vpu_dev_deinit(struct mdp_vpu_dev *vpu) in mdp_vpu_dev_deinit() 261 int mdp_vpu_process(struct mdp_vpu_dev *vpu, struct img_ipi_frameparam *param) in mdp_vpu_process()
|
/linux/drivers/media/platform/mediatek/mdp/ |
H A 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 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()
|
/linux/drivers/media/platform/amphion/ |
H A D | vpu_imx8q.c | 42 int vpu_imx8q_setup_dec(struct vpu_dev *vpu) in vpu_imx8q_setup_dec() 52 int vpu_imx8q_setup_enc(struct vpu_dev *vpu) in vpu_imx8q_setup_enc() 57 int vpu_imx8q_setup(struct vpu_dev *vpu) in vpu_imx8q_setup() 75 static int vpu_imx8q_reset_enc(struct vpu_dev *vpu) in vpu_imx8q_reset_enc() 80 static int vpu_imx8q_reset_dec(struct vpu_dev *vpu) in vpu_imx8q_reset_dec() 89 int vpu_imx8q_reset(struct vpu_dev *vpu) in vpu_imx8q_reset()
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8-ss-vpu.dtsi | 7 vpu: vpu@2c000000 { label
|