| /linux/drivers/media/platform/amphion/ |
| H A D | vpu_drv.c | 32 void vpu_writel(struct vpu_dev *vpu, u32 reg, u32 val) in vpu_writel() 37 u32 vpu_readl(struct vpu_dev *vpu, u32 reg) in vpu_readl() 42 static void vpu_dev_get(struct vpu_dev *vpu) in vpu_dev_get() 48 static void vpu_dev_put(struct vpu_dev *vpu) in vpu_dev_put() 53 static void vpu_enc_get(struct vpu_dev *vpu) in vpu_enc_get() 59 static void vpu_enc_put(struct vpu_dev *vpu) in vpu_enc_put() 64 static void vpu_dec_get(struct vpu_dev *vpu) in vpu_dec_get() 70 static void vpu_dec_put(struct vpu_dev *vpu) in vpu_dec_put() 75 static int vpu_init_media_device(struct vpu_dev *vpu) in vpu_init_media_device() 89 struct vpu_dev *vpu; in vpu_probe() local [all …]
|
| 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/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/verisilicon/ |
| H A D | hantro_drv.c | 62 static void hantro_job_finish_no_pm(struct hantro_dev *vpu, in hantro_job_finish_no_pm() 89 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 780 static int hantro_attach_func(struct hantro_dev *vpu, in hantro_attach_func() 883 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_postproc.c | 17 #define HANTRO_PP_REG_WRITE(vpu, reg_name, val) \ argument 24 #define HANTRO_PP_REG_WRITE_RELAXED(vpu, reg_name, val) \ argument 71 struct hantro_dev *vpu = ctx->dev; in hantro_postproc_g1_enable() local 122 struct hantro_dev *vpu = ctx->dev; in hantro_postproc_g2_enable() local 183 struct hantro_dev *vpu = ctx->dev; in hantro_postproc_free() local 226 struct hantro_dev *vpu = ctx->dev; in hantro_postproc_alloc() local 271 struct hantro_dev *vpu = ctx->dev; in hantro_postproc_get_dec_buf_addr() local 296 struct hantro_dev *vpu = ctx->dev; in hantro_postproc_g1_disable() local 303 struct hantro_dev *vpu = ctx->dev; in hantro_postproc_g2_disable() local 310 struct hantro_dev *vpu = ctx->dev; in hantro_postproc_disable() local [all …]
|
| H A D | rockchip_vpu_hw.c | 371 struct hantro_dev *vpu = dev_id; in rockchip_vpu1_vepu_irq() local 389 struct hantro_dev *vpu = dev_id; in rockchip_vpu2_vdpu_irq() local 407 struct hantro_dev *vpu = dev_id; in rockchip_vpu2_vepu_irq() local 425 struct hantro_dev *vpu = dev_id; in rk3588_vpu981_irq() local 441 static int rk3036_vpu_hw_init(struct hantro_dev *vpu) in rk3036_vpu_hw_init() 448 static int rk3066_vpu_hw_init(struct hantro_dev *vpu) in rk3066_vpu_hw_init() 456 static int rockchip_vpu_hw_init(struct hantro_dev *vpu) in rockchip_vpu_hw_init() 465 struct hantro_dev *vpu = ctx->dev; in rk3066_vpu_dec_reset() local 473 struct hantro_dev *vpu = ctx->dev; in rockchip_vpu1_enc_reset() local 482 struct hantro_dev *vpu = ctx->dev; in rockchip_vpu2_dec_reset() local [all …]
|
| 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_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 | 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 | imx8m_vpu_hw.c | 28 static void imx8m_soft_reset(struct hantro_dev *vpu, u32 reset_bits) in imx8m_soft_reset() 45 static void imx8m_clk_enable(struct hantro_dev *vpu, u32 clock_bits) in imx8m_clk_enable() 54 static int imx8mq_runtime_resume(struct hantro_dev *vpu) in imx8mq_runtime_resume() 237 static int imx8mq_vpu_hw_init(struct hantro_dev *vpu) in imx8mq_vpu_hw_init() 246 struct hantro_dev *vpu = ctx->dev; in imx8m_vpu_g1_reset() 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 298 struct hantro_dev *vpu = ctx->dev; in set_ref_pic_list() local 382 struct hantro_dev *vpu = ctx->dev; in set_ref() local 517 struct hantro_dev *vpu = ctx->dev; in set_buffers() local 543 struct hantro_dev *vpu = ctx->dev; in prepare_scaling_list_buffer() local 593 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_g2.c | 16 struct hantro_dev *vpu = ctx->dev; in hantro_g2_active() local 35 struct hantro_dev *vpu = ctx->dev; in hantro_g2_reset() local 52 struct hantro_dev *vpu = dev_id; in hantro_g2_irq() 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
|
| /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/mediatek/vpu/ |
| H A D | mtk_vpu.c | 227 static inline void vpu_cfg_writel(struct mtk_vpu *vpu, u32 val, u32 offset) in vpu_cfg_writel() 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() local 317 struct mtk_vpu *vpu = platform_get_drvdata(pdev); in vpu_ipi_send() local 388 struct mtk_vpu *vpu = container_of(wdt, struct mtk_vpu, wdt); in vpu_wdt_reset_func() local 416 struct mtk_vpu *vpu = platform_get_drvdata(pdev); in vpu_wdt_reg_handler() local [all …]
|
| /linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
| H A D | vdec_h264_req_multi_if.c | 242 struct vdec_vpu_inst vpu; member 584 struct vdec_vpu_inst *vpu = &inst->vpu; in vdec_h264_slice_core_decode_ext() local 636 struct vdec_vpu_inst *vpu = &inst->vpu; in vdec_h264_slice_core_decode() local 741 struct vdec_vpu_inst *vpu = &inst->vpu; in vdec_h264_slice_lat_decode_ext() local 864 struct vdec_vpu_inst *vpu = &inst->vpu; in vdec_h264_slice_lat_decode() local 1010 struct vdec_vpu_inst *vpu = &inst->vpu; in vdec_h264_slice_single_decode_ext() local 1105 struct vdec_vpu_inst *vpu = &inst->vpu; in vdec_h264_slice_single_decode() local
|