Home
last modified time | relevance | path

Searched refs:hantro_dev (Results 1 – 21 of 21) sorted by relevance

/drivers/staging/media/hantro/
Dhantro.h85 int (*init)(struct hantro_dev *vpu);
86 int (*runtime_resume)(struct hantro_dev *vpu);
180 struct hantro_dev { struct
227 struct hantro_dev *dev;
337 static inline void vepu_write_relaxed(struct hantro_dev *vpu, in vepu_write_relaxed()
344 static inline void vepu_write(struct hantro_dev *vpu, u32 val, u32 reg) in vepu_write()
350 static inline u32 vepu_read(struct hantro_dev *vpu, u32 reg) in vepu_read()
358 static inline void vdpu_write_relaxed(struct hantro_dev *vpu, in vdpu_write_relaxed()
365 static inline void vdpu_write(struct hantro_dev *vpu, u32 val, u32 reg) in vdpu_write()
371 static inline u32 vdpu_read(struct hantro_dev *vpu, u32 reg) in vdpu_read()
[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()
157 struct hantro_dev *vpu = dev_id; in imx8m_vpu_g1_irq()
175 struct hantro_dev *vpu = dev_id; in imx8m_vpu_g2_irq()
191 static int imx8mq_vpu_hw_init(struct hantro_dev *vpu) in imx8mq_vpu_hw_init()
200 struct hantro_dev *vpu = ctx->dev; in imx8m_vpu_g1_reset()
207 struct hantro_dev *vpu = ctx->dev; in imx8m_vpu_g2_reset()
Drockchip_vpu_hw.c209 struct hantro_dev *vpu = dev_id; in rockchip_vpu1_vepu_irq()
227 struct hantro_dev *vpu = dev_id; in rockchip_vpu2_vdpu_irq()
245 struct hantro_dev *vpu = dev_id; in rockchip_vpu2_vepu_irq()
261 static int rk3036_vpu_hw_init(struct hantro_dev *vpu) in rk3036_vpu_hw_init()
268 static int rk3066_vpu_hw_init(struct hantro_dev *vpu) in rk3066_vpu_hw_init()
276 static int rockchip_vpu_hw_init(struct hantro_dev *vpu) in rockchip_vpu_hw_init()
285 struct hantro_dev *vpu = ctx->dev; in rk3066_vpu_dec_reset()
293 struct hantro_dev *vpu = ctx->dev; in rockchip_vpu1_enc_reset()
302 struct hantro_dev *vpu = ctx->dev; in rockchip_vpu2_dec_reset()
311 struct hantro_dev *vpu = ctx->dev; in rockchip_vpu2_enc_reset()
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()
93 struct hantro_dev *vpu = ctx->dev; in hantro_h1_jpeg_enc_run()
145 struct hantro_dev *vpu = ctx->dev; in hantro_h1_jpeg_enc_done()
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()
62 static void rockchip_vpu2_jpeg_enc_set_buffers(struct hantro_dev *vpu, in rockchip_vpu2_jpeg_enc_set_buffers()
95 rockchip_vpu2_jpeg_enc_set_qtable(struct hantro_dev *vpu, in rockchip_vpu2_jpeg_enc_set_qtable()
123 struct hantro_dev *vpu = ctx->dev; in rockchip_vpu2_jpeg_enc_run()
177 struct hantro_dev *vpu = ctx->dev; in rockchip_vpu2_jpeg_enc_done()
Dhantro_drv.c59 static void hantro_job_finish_no_pm(struct hantro_dev *vpu, in hantro_job_finish_no_pm()
80 static void hantro_job_finish(struct hantro_dev *vpu, in hantro_job_finish()
92 void hantro_irq_done(struct hantro_dev *vpu, in hantro_irq_done()
112 struct hantro_dev *vpu; in hantro_watchdog()
116 struct hantro_dev, watchdog_work); in hantro_watchdog()
465 static int hantro_ctrls_setup(struct hantro_dev *vpu, in hantro_ctrls_setup()
496 struct hantro_dev *vpu = video_drvdata(filp); in hantro_open()
637 static int hantro_attach_func(struct hantro_dev *vpu, in hantro_attach_func()
740 static int hantro_add_func(struct hantro_dev *vpu, unsigned int funcid) in hantro_add_func()
797 static int hantro_add_enc_func(struct hantro_dev *vpu) in hantro_add_enc_func()
[all …]
Dhantro_postproc.c63 struct hantro_dev *vpu = ctx->dev; in hantro_postproc_enable()
107 struct hantro_dev *vpu = ctx->dev; in hantro_postproc_free()
123 struct hantro_dev *vpu = ctx->dev; in hantro_postproc_alloc()
153 struct hantro_dev *vpu = ctx->dev; in hantro_postproc_disable()
Dhantro_g1_vp8_dec.c139 struct hantro_dev *vpu = ctx->dev; in cfg_lf()
181 struct hantro_dev *vpu = ctx->dev; in cfg_qp()
234 struct hantro_dev *vpu = ctx->dev; in cfg_parts()
332 struct hantro_dev *vpu = ctx->dev; in cfg_tap()
373 struct hantro_dev *vpu = ctx->dev; in cfg_ref()
411 struct hantro_dev *vpu = ctx->dev; in cfg_buffers()
435 struct hantro_dev *vpu = ctx->dev; in hantro_g1_vp8_dec_run()
Drockchip_vpu2_hw_vp8_dec.c280 struct hantro_dev *vpu = ctx->dev; in cfg_lf()
319 struct hantro_dev *vpu = ctx->dev; in cfg_qp()
347 struct hantro_dev *vpu = ctx->dev; in cfg_parts()
430 struct hantro_dev *vpu = ctx->dev; in cfg_tap()
450 struct hantro_dev *vpu = ctx->dev; in cfg_ref()
487 struct hantro_dev *vpu = ctx->dev; in cfg_buffers()
512 struct hantro_dev *vpu = ctx->dev; in rockchip_vpu2_vp8_dec_run()
Dhantro_g1.c16 struct hantro_dev *vpu = dev_id; in hantro_g1_irq()
34 struct hantro_dev *vpu = ctx->dev; in hantro_g1_reset()
Dhantro_hevc.c75 struct hantro_dev *vpu = ctx->dev; in hantro_hevc_ref_free()
113 struct hantro_dev *vpu = ctx->dev; in hantro_hevc_get_ref_buf()
161 struct hantro_dev *vpu = ctx->dev; in tile_buffer_reallocate()
278 struct hantro_dev *vpu = ctx->dev; in hantro_hevc_dec_exit()
310 struct hantro_dev *vpu = ctx->dev; in hantro_hevc_dec_init()
Dhantro_g2_hevc_dec.c18 static inline void hantro_write_addr(struct hantro_dev *vpu, in hantro_write_addr()
27 struct hantro_dev *vpu = ctx->dev; in prepare_tile_info_buffer()
126 struct hantro_dev *vpu = ctx->dev; in set_params()
270 struct hantro_dev *vpu = ctx->dev; in set_ref_pic_list()
352 struct hantro_dev *vpu = ctx->dev; in set_ref()
469 struct hantro_dev *vpu = ctx->dev; in set_buffers()
501 static void hantro_g2_check_idle(struct hantro_dev *vpu) in hantro_g2_check_idle()
520 struct hantro_dev *vpu = ctx->dev; in hantro_g2_hevc_dec_run()
Dhantro_mpeg2.c40 struct hantro_dev *vpu = ctx->dev; in hantro_mpeg2_dec_init()
55 struct hantro_dev *vpu = ctx->dev; in hantro_mpeg2_dec_exit()
Dhantro_g1_h264_dec.c28 struct hantro_dev *vpu = ctx->dev; in set_params()
130 struct hantro_dev *vpu = ctx->dev; in set_ref()
209 struct hantro_dev *vpu = ctx->dev; in set_buffers()
252 struct hantro_dev *vpu = ctx->dev; in hantro_g1_h264_dec_run()
Drockchip_vpu2_hw_mpeg2_dec.c83 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()
Dhantro_g1_mpeg2_dec.c81 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()
Dhantro_hw.h25 struct hantro_dev;
226 void hantro_irq_done(struct hantro_dev *vpu,
Dhantro_vp8.c147 struct hantro_dev *vpu = ctx->dev; in hantro_vp8_dec_init()
195 struct hantro_dev *vpu = ctx->dev; in hantro_vp8_dec_exit()
Drockchip_vpu2_hw_h264_dec.c199 struct hantro_dev *vpu = ctx->dev; in set_params()
302 struct hantro_dev *vpu = ctx->dev; in set_ref()
426 struct hantro_dev *vpu = ctx->dev; in set_buffers()
469 struct hantro_dev *vpu = ctx->dev; in rockchip_vpu2_h264_dec_run()
Dhantro_h264.c405 struct hantro_dev *vpu = ctx->dev; in hantro_h264_dec_exit()
414 struct hantro_dev *vpu = ctx->dev; in hantro_h264_dec_init()
Dhantro_v4l2.c58 struct hantro_dev *vpu = ctx->dev; in hantro_get_postproc_formats()
105 struct hantro_dev *vpu = video_drvdata(file); in vidioc_querycap()