Home
last modified time | relevance | path

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

123

/linux-5.19.10/drivers/media/platform/mediatek/vcodec/
Dvdec_vpu_if.c16 struct vdec_vpu_inst *vpu = (struct vdec_vpu_inst *) in handle_init_ack_msg() local
60 struct vdec_vpu_inst *vpu = (struct vdec_vpu_inst *) in handle_get_param_msg_ack() local
91 struct vdec_vpu_inst *vpu = (struct vdec_vpu_inst *) in vpu_dec_ipi_handler() local
125 static int vcodec_vpu_send_msg(struct vdec_vpu_inst *vpu, void *msg, int len) in vcodec_vpu_send_msg()
156 static int vcodec_send_ap_ipi(struct vdec_vpu_inst *vpu, unsigned int msg_id) in vcodec_send_ap_ipi()
176 int vpu_dec_init(struct vdec_vpu_inst *vpu) in vpu_dec_init()
215 int vpu_dec_start(struct vdec_vpu_inst *vpu, uint32_t *data, unsigned int len) in vpu_dec_start()
244 int vpu_dec_get_param(struct vdec_vpu_inst *vpu, uint32_t *data, in vpu_dec_get_param()
269 int vpu_dec_core(struct vdec_vpu_inst *vpu) in vpu_dec_core()
274 int vpu_dec_end(struct vdec_vpu_inst *vpu) in vpu_dec_end()
[all …]
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()
276 int vpu_enc_deinit(struct venc_vpu_inst *vpu) in vpu_enc_deinit()
/linux-5.19.10/drivers/media/platform/amphion/
Dvpu_drv.c32 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 …]
Dvpu_imx8q.c42 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()
Dvpu_core.c181 static struct vpu_core *vpu_core_find_proper_by_type(struct vpu_dev *vpu, u32 type) in vpu_core_find_proper_by_type()
209 static bool vpu_core_is_exist(struct vpu_dev *vpu, struct vpu_core *core) in vpu_core_is_exist()
232 struct vpu_dev *vpu = dev_get_drvdata(dev); in vpu_core_register() local
350 struct vpu_core *vpu_request_core(struct vpu_dev *vpu, enum vpu_core_type type) in vpu_request_core()
397 struct vpu_dev *vpu; in vpu_inst_register() local
496 struct vpu_dev *vpu; in vpu_get_resource() local
594 struct vpu_dev *vpu = dev_get_drvdata(dev->parent); in vpu_core_probe() local
/linux-5.19.10/drivers/remoteproc/
Dingenic_rproc.c61 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-5.19.10/drivers/staging/media/hantro/
Dhantro_postproc.c16 #define HANTRO_PP_REG_WRITE(vpu, reg_name, val) \ argument
23 #define HANTRO_PP_REG_WRITE_S(vpu, reg_name, val) \ argument
64 struct hantro_dev *vpu = ctx->dev; in hantro_postproc_g1_enable() local
113 struct hantro_dev *vpu = ctx->dev; in hantro_postproc_g2_enable() local
157 struct hantro_dev *vpu = ctx->dev; in hantro_postproc_free() local
173 struct hantro_dev *vpu = ctx->dev; in hantro_postproc_alloc() local
209 struct hantro_dev *vpu = ctx->dev; in hantro_postproc_g1_disable() local
216 struct hantro_dev *vpu = ctx->dev; in hantro_postproc_g2_disable() local
223 struct hantro_dev *vpu = ctx->dev; in hantro_postproc_disable() local
231 struct hantro_dev *vpu = ctx->dev; in hantro_postproc_enable() local
[all …]
Drockchip_vpu_hw.c282 struct hantro_dev *vpu = dev_id; in rockchip_vpu1_vepu_irq() local
300 struct hantro_dev *vpu = dev_id; in rockchip_vpu2_vdpu_irq() local
318 struct hantro_dev *vpu = dev_id; in rockchip_vpu2_vepu_irq() local
334 static int rk3036_vpu_hw_init(struct hantro_dev *vpu) in rk3036_vpu_hw_init()
341 static int rk3066_vpu_hw_init(struct hantro_dev *vpu) in rk3066_vpu_hw_init()
349 static int rockchip_vpu_hw_init(struct hantro_dev *vpu) in rockchip_vpu_hw_init()
358 struct hantro_dev *vpu = ctx->dev; in rk3066_vpu_dec_reset() local
366 struct hantro_dev *vpu = ctx->dev; in rockchip_vpu1_enc_reset() local
375 struct hantro_dev *vpu = ctx->dev; in rockchip_vpu2_dec_reset() local
384 struct hantro_dev *vpu = ctx->dev; in rockchip_vpu2_enc_reset() local
Dhantro_drv.c63 static void hantro_job_finish_no_pm(struct hantro_dev *vpu, in hantro_job_finish_no_pm()
90 static void hantro_job_finish(struct hantro_dev *vpu, in hantro_job_finish()
102 void hantro_irq_done(struct hantro_dev *vpu, in hantro_irq_done()
122 struct hantro_dev *vpu; in hantro_watchdog() local
515 static int hantro_ctrls_setup(struct hantro_dev *vpu, in hantro_ctrls_setup()
546 struct hantro_dev *vpu = video_drvdata(filp); in hantro_open() local
693 static int hantro_attach_func(struct hantro_dev *vpu, in hantro_attach_func()
796 static int hantro_add_func(struct hantro_dev *vpu, unsigned int funcid) in hantro_add_func()
856 static int hantro_add_enc_func(struct hantro_dev *vpu) in hantro_add_enc_func()
864 static int hantro_add_dec_func(struct hantro_dev *vpu) in hantro_add_dec_func()
[all …]
Dimx8m_vpu_hw.c28 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()
210 struct hantro_dev *vpu = dev_id; in imx8m_vpu_g1_irq() local
226 static int imx8mq_vpu_hw_init(struct hantro_dev *vpu) in imx8mq_vpu_hw_init()
235 struct hantro_dev *vpu = ctx->dev; in imx8m_vpu_g1_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()
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
Drockchip_vpu2_hw_jpeg_enc.c35 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
Dhantro_g1_vp8_dec.c139 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
Dhantro_g2_hevc_dec.c27 struct hantro_dev *vpu = ctx->dev; in prepare_tile_info_buffer() local
126 struct hantro_dev *vpu = ctx->dev; in set_params() local
270 struct hantro_dev *vpu = ctx->dev; in set_ref_pic_list() local
351 struct hantro_dev *vpu = ctx->dev; in set_ref() local
472 struct hantro_dev *vpu = ctx->dev; in set_buffers() local
497 struct hantro_dev *vpu = ctx->dev; in prepare_scaling_list_buffer() local
547 struct hantro_dev *vpu = ctx->dev; in hantro_g2_hevc_dec_run() local
Dhantro_g1_h264_dec.c28 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
Drockchip_vpu2_hw_vp8_dec.c280 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
Dhantro_g1.c16 struct hantro_dev *vpu = dev_id; in hantro_g1_irq() local
34 struct hantro_dev *vpu = ctx->dev; in hantro_g1_reset() local
Dhantro_g2.c11 void hantro_g2_check_idle(struct hantro_dev *vpu) in hantro_g2_check_idle()
30 struct hantro_dev *vpu = dev_id; in hantro_g2_irq() local
Dsunxi_vpu_hw.c56 static int sunxi_vpu_hw_init(struct hantro_dev *vpu) in sunxi_vpu_hw_init()
65 struct hantro_dev *vpu = ctx->dev; in sunxi_vpu_reset() 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_hevc.c72 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
Dhantro.h367 static inline void vepu_write_relaxed(struct hantro_dev *vpu, in vepu_write_relaxed()
374 static inline void vepu_write(struct hantro_dev *vpu, u32 val, u32 reg) in vepu_write()
380 static inline u32 vepu_read(struct hantro_dev *vpu, u32 reg) in vepu_read()
388 static inline void vdpu_write_relaxed(struct hantro_dev *vpu, in vdpu_write_relaxed()
395 static inline void vdpu_write(struct hantro_dev *vpu, u32 val, u32 reg) in vdpu_write()
401 static inline void hantro_write_addr(struct hantro_dev *vpu, in hantro_write_addr()
408 static inline u32 vdpu_read(struct hantro_dev *vpu, u32 reg) in vdpu_read()
416 static inline u32 vdpu_read_mask(struct hantro_dev *vpu, in vdpu_read_mask()
428 static inline void hantro_reg_write(struct hantro_dev *vpu, in hantro_reg_write()
435 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
/linux-5.19.10/drivers/media/platform/mediatek/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()
/linux-5.19.10/drivers/media/platform/mediatek/vpu/
Dmtk_vpu.c227 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 …]

123