Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/staging/media/hantro/
Dhantro.h84 int (*init)(struct hantro_dev *vpu);
85 int (*runtime_resume)(struct hantro_dev *vpu);
177 struct hantro_dev { struct
222 struct hantro_dev *dev;
329 static inline void vepu_write_relaxed(struct hantro_dev *vpu, in vepu_write_relaxed()
336 static inline void vepu_write(struct hantro_dev *vpu, u32 val, u32 reg) in vepu_write()
342 static inline u32 vepu_read(struct hantro_dev *vpu, u32 reg) in vepu_read()
350 static inline void vdpu_write_relaxed(struct hantro_dev *vpu, in vdpu_write_relaxed()
357 static inline void vdpu_write(struct hantro_dev *vpu, u32 val, u32 reg) in vdpu_write()
363 static inline u32 vdpu_read(struct hantro_dev *vpu, u32 reg) in vdpu_read()
[all …]
Dimx8m_vpu_hw.c27 static void imx8m_soft_reset(struct hantro_dev *vpu, u32 reset_bits) in imx8m_soft_reset()
44 static void imx8m_clk_enable(struct hantro_dev *vpu, u32 clock_bits) in imx8m_clk_enable()
53 static int imx8mq_runtime_resume(struct hantro_dev *vpu) in imx8mq_runtime_resume()
135 struct hantro_dev *vpu = dev_id; in imx8m_vpu_g1_irq()
151 static int imx8mq_vpu_hw_init(struct hantro_dev *vpu) in imx8mq_vpu_hw_init()
161 struct hantro_dev *vpu = ctx->dev; in imx8m_vpu_g1_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()
143 struct hantro_dev *vpu = ctx->dev; in hantro_jpeg_enc_done()
Drk3399_vpu_hw.c93 struct hantro_dev *vpu = dev_id; in rk3399_vepu_irq()
111 struct hantro_dev *vpu = dev_id; in rk3399_vdpu_irq()
127 static int rk3399_vpu_hw_init(struct hantro_dev *vpu) in rk3399_vpu_hw_init()
136 struct hantro_dev *vpu = ctx->dev; in rk3399_vpu_enc_reset()
145 struct hantro_dev *vpu = ctx->dev; in rk3399_vpu_dec_reset()
Drk3288_vpu_hw.c114 struct hantro_dev *vpu = dev_id; in rk3288_vepu_irq()
132 struct hantro_dev *vpu = dev_id; in rk3288_vdpu_irq()
148 static int rk3288_vpu_hw_init(struct hantro_dev *vpu) in rk3288_vpu_hw_init()
157 struct hantro_dev *vpu = ctx->dev; in rk3288_vpu_enc_reset()
166 struct hantro_dev *vpu = ctx->dev; in rk3288_vpu_dec_reset()
Dhantro_drv.c59 static void hantro_job_finish(struct hantro_dev *vpu, in hantro_job_finish()
84 void hantro_irq_done(struct hantro_dev *vpu, in hantro_irq_done()
104 struct hantro_dev *vpu; in hantro_watchdog()
108 struct hantro_dev, watchdog_work); in hantro_watchdog()
355 static int hantro_ctrls_setup(struct hantro_dev *vpu, in hantro_ctrls_setup()
386 struct hantro_dev *vpu = video_drvdata(filp); in hantro_open()
520 static int hantro_attach_func(struct hantro_dev *vpu, in hantro_attach_func()
623 static int hantro_add_func(struct hantro_dev *vpu, unsigned int funcid) in hantro_add_func()
680 static int hantro_add_enc_func(struct hantro_dev *vpu) in hantro_add_enc_func()
688 static int hantro_add_dec_func(struct hantro_dev *vpu) in hantro_add_dec_func()
[all …]
Drk3399_vpu_hw_jpeg_enc.c35 static void rk3399_vpu_set_src_img_ctrl(struct hantro_dev *vpu, in rk3399_vpu_set_src_img_ctrl()
62 static void rk3399_vpu_jpeg_enc_set_buffers(struct hantro_dev *vpu, in rk3399_vpu_jpeg_enc_set_buffers()
95 rk3399_vpu_jpeg_enc_set_qtable(struct hantro_dev *vpu, in rk3399_vpu_jpeg_enc_set_qtable()
123 struct hantro_dev *vpu = ctx->dev; in rk3399_vpu_jpeg_enc_run()
Dhantro_postproc.c55 struct hantro_dev *vpu = ctx->dev; in hantro_postproc_enable()
99 struct hantro_dev *vpu = ctx->dev; in hantro_postproc_free()
115 struct hantro_dev *vpu = ctx->dev; in hantro_postproc_alloc()
144 struct hantro_dev *vpu = ctx->dev; in hantro_postproc_disable()
Dhantro_g1_vp8_dec.c140 struct hantro_dev *vpu = ctx->dev; in cfg_lf()
182 struct hantro_dev *vpu = ctx->dev; in cfg_qp()
235 struct hantro_dev *vpu = ctx->dev; in cfg_parts()
333 struct hantro_dev *vpu = ctx->dev; in cfg_tap()
373 struct hantro_dev *vpu = ctx->dev; in cfg_ref()
405 struct hantro_dev *vpu = ctx->dev; in cfg_buffers()
432 struct hantro_dev *vpu = ctx->dev; in hantro_g1_vp8_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()
Drk3399_vpu_hw_vp8_dec.c281 struct hantro_dev *vpu = ctx->dev; in cfg_lf()
320 struct hantro_dev *vpu = ctx->dev; in cfg_qp()
348 struct hantro_dev *vpu = ctx->dev; in cfg_parts()
431 struct hantro_dev *vpu = ctx->dev; in cfg_tap()
450 struct hantro_dev *vpu = ctx->dev; in cfg_ref()
482 struct hantro_dev *vpu = ctx->dev; in cfg_buffers()
510 struct hantro_dev *vpu = ctx->dev; in rk3399_vpu_vp8_dec_run()
Dhantro_g1_h264_dec.c29 struct hantro_dev *vpu = ctx->dev; in set_params()
132 struct hantro_dev *vpu = ctx->dev; in set_ref()
233 struct hantro_dev *vpu = ctx->dev; in set_buffers()
278 struct hantro_dev *vpu = ctx->dev; in hantro_g1_h264_dec_run()
Dhantro_hw.h25 struct hantro_dev;
164 void hantro_irq_done(struct hantro_dev *vpu,
Drk3399_vpu_hw_mpeg2_dec.c87 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()
162 struct hantro_dev *vpu = ctx->dev; in rk3399_vpu_mpeg2_dec_run()
Dhantro_g1_mpeg2_dec.c85 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()
160 struct hantro_dev *vpu = ctx->dev; in hantro_g1_mpeg2_dec_run()
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()
Dhantro_h264.c383 struct hantro_dev *vpu = ctx->dev; in hantro_h264_dec_exit()
392 struct hantro_dev *vpu = ctx->dev; in hantro_h264_dec_init()
Dhantro_v4l2.c103 struct hantro_dev *vpu = video_drvdata(file); in vidioc_querycap()