Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/staging/media/hantro/
Dhantro.h95 int (*init)(struct hantro_dev *vpu);
96 int (*runtime_resume)(struct hantro_dev *vpu);
187 struct hantro_dev { struct
233 struct hantro_dev *dev;
325 static inline void vepu_write_relaxed(struct hantro_dev *vpu, in vepu_write_relaxed()
332 static inline void vepu_write(struct hantro_dev *vpu, u32 val, u32 reg) in vepu_write()
338 static inline u32 vepu_read(struct hantro_dev *vpu, u32 reg) in vepu_read()
346 static inline void vdpu_write_relaxed(struct hantro_dev *vpu, in vdpu_write_relaxed()
353 static inline void vdpu_write(struct hantro_dev *vpu, u32 val, u32 reg) in vdpu_write()
359 static inline u32 vdpu_read(struct hantro_dev *vpu, u32 reg) in vdpu_read()
[all …]
Drk3288_vpu_hw.c107 struct hantro_dev *vpu = dev_id; in rk3288_vepu_irq()
126 struct hantro_dev *vpu = dev_id; in rk3288_vdpu_irq()
142 static int rk3288_vpu_hw_init(struct hantro_dev *vpu) in rk3288_vpu_hw_init()
151 struct hantro_dev *vpu = ctx->dev; in rk3288_vpu_enc_reset()
160 struct hantro_dev *vpu = ctx->dev; in rk3288_vpu_dec_reset()
Drk3399_vpu_hw.c93 struct hantro_dev *vpu = dev_id; in rk3399_vepu_irq()
112 struct hantro_dev *vpu = dev_id; in rk3399_vdpu_irq()
128 static int rk3399_vpu_hw_init(struct hantro_dev *vpu) in rk3399_vpu_hw_init()
137 struct hantro_dev *vpu = ctx->dev; in rk3399_vpu_enc_reset()
146 struct hantro_dev *vpu = ctx->dev; in rk3399_vpu_dec_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()
82 struct hantro_dev *vpu = ctx->dev; in hantro_h1_jpeg_enc_run()
Dhantro_drv.c91 static void hantro_job_finish(struct hantro_dev *vpu, in hantro_job_finish()
124 void hantro_irq_done(struct hantro_dev *vpu, unsigned int bytesused, in hantro_irq_done()
141 struct hantro_dev *vpu; in hantro_watchdog()
145 struct hantro_dev, watchdog_work); in hantro_watchdog()
362 static int hantro_ctrls_setup(struct hantro_dev *vpu, in hantro_ctrls_setup()
393 struct hantro_dev *vpu = video_drvdata(filp); in hantro_open()
525 static int hantro_attach_func(struct hantro_dev *vpu, in hantro_attach_func()
628 static int hantro_add_func(struct hantro_dev *vpu, unsigned int funcid) in hantro_add_func()
685 static int hantro_add_enc_func(struct hantro_dev *vpu) in hantro_add_enc_func()
693 static int hantro_add_dec_func(struct hantro_dev *vpu) in hantro_add_dec_func()
[all …]
Drk3399_vpu_hw_jpeg_enc.c36 static void rk3399_vpu_set_src_img_ctrl(struct hantro_dev *vpu, in rk3399_vpu_set_src_img_ctrl()
63 static void rk3399_vpu_jpeg_enc_set_buffers(struct hantro_dev *vpu, in rk3399_vpu_jpeg_enc_set_buffers()
96 rk3399_vpu_jpeg_enc_set_qtable(struct hantro_dev *vpu, in rk3399_vpu_jpeg_enc_set_qtable()
113 struct hantro_dev *vpu = ctx->dev; in rk3399_vpu_jpeg_enc_run()
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()
374 struct hantro_dev *vpu = ctx->dev; in cfg_ref()
406 struct hantro_dev *vpu = ctx->dev; in cfg_buffers()
433 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()
484 struct hantro_dev *vpu = ctx->dev; in cfg_buffers()
512 struct hantro_dev *vpu = ctx->dev; in rk3399_vpu_vp8_dec_run()
Dhantro_g1_h264_dec.c30 struct hantro_dev *vpu = ctx->dev; in set_params()
132 struct hantro_dev *vpu = ctx->dev; in set_ref()
234 struct hantro_dev *vpu = ctx->dev; in set_buffers()
266 struct hantro_dev *vpu = ctx->dev; in hantro_g1_h264_dec_run()
Dhantro_hw.h21 struct hantro_dev;
151 void hantro_irq_done(struct hantro_dev *vpu, unsigned int bytesused,
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()
163 struct hantro_dev *vpu = ctx->dev; in hantro_g1_mpeg2_dec_run()
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()
165 struct hantro_dev *vpu = ctx->dev; in rk3399_vpu_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.c617 struct hantro_dev *vpu = ctx->dev; in hantro_h264_dec_exit()
626 struct hantro_dev *vpu = ctx->dev; in hantro_h264_dec_init()
Dhantro_v4l2.c78 struct hantro_dev *vpu = video_drvdata(file); in vidioc_querycap()