| /drivers/media/platform/verisilicon/ |
| A D | hantro.h | 93 int (*init)(struct hantro_dev *vpu); 94 int (*runtime_resume)(struct hantro_dev *vpu); 195 struct hantro_dev { struct 248 struct hantro_dev *dev; 391 static __always_inline void vepu_write_relaxed(struct hantro_dev *vpu, in vepu_write_relaxed() 404 static __always_inline u32 vepu_read(struct hantro_dev *vpu, u32 reg) in vepu_read() 412 static __always_inline void vdpu_write_relaxed(struct hantro_dev *vpu, in vdpu_write_relaxed() 425 static __always_inline void hantro_write_addr(struct hantro_dev *vpu, in hantro_write_addr() 432 static __always_inline u32 vdpu_read(struct hantro_dev *vpu, u32 reg) in vdpu_read() 440 static __always_inline u32 vdpu_read_mask(struct hantro_dev *vpu, in vdpu_read_mask() [all …]
|
| A D | hantro_postproc.c | 71 struct hantro_dev *vpu = ctx->dev; in hantro_postproc_g1_enable() 122 struct hantro_dev *vpu = ctx->dev; in hantro_postproc_g2_enable() 183 struct hantro_dev *vpu = ctx->dev; in hantro_postproc_free() 226 struct hantro_dev *vpu = ctx->dev; in hantro_postproc_alloc() 271 struct hantro_dev *vpu = ctx->dev; in hantro_postproc_get_dec_buf_addr() 296 struct hantro_dev *vpu = ctx->dev; in hantro_postproc_g1_disable() 303 struct hantro_dev *vpu = ctx->dev; in hantro_postproc_g2_disable() 310 struct hantro_dev *vpu = ctx->dev; in hantro_postproc_disable() 318 struct hantro_dev *vpu = ctx->dev; in hantro_postproc_enable() 327 struct hantro_dev *vpu = ctx->dev; in hanto_postproc_enum_framesizes()
|
| 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() 160 struct hantro_dev *vpu = ctx->dev; in hantro_h1_jpeg_enc_done()
|
| A D | rockchip_vpu_hw.c | 371 struct hantro_dev *vpu = dev_id; in rockchip_vpu1_vepu_irq() 389 struct hantro_dev *vpu = dev_id; in rockchip_vpu2_vdpu_irq() 407 struct hantro_dev *vpu = dev_id; in rockchip_vpu2_vepu_irq() 425 struct hantro_dev *vpu = dev_id; in rk3588_vpu981_irq() 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() 473 struct hantro_dev *vpu = ctx->dev; in rockchip_vpu1_enc_reset() 482 struct hantro_dev *vpu = ctx->dev; in rockchip_vpu2_dec_reset() [all …]
|
| 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() 191 struct hantro_dev *vpu = ctx->dev; in rockchip_vpu2_jpeg_enc_done()
|
| A D | hantro_drv.c | 61 static void hantro_job_finish_no_pm(struct hantro_dev *vpu, in hantro_job_finish_no_pm() 88 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() 124 struct hantro_dev, watchdog_work); in hantro_watchdog() 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() 782 static int hantro_attach_func(struct hantro_dev *vpu, in hantro_attach_func() 1042 struct hantro_dev *vpu; in hantro_probe() 1244 struct hantro_dev *vpu = platform_get_drvdata(pdev); in hantro_remove() [all …]
|
| 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() 239 struct hantro_dev *vpu = dev_id; in imx8m_vpu_g1_irq() 255 static int imx8mq_vpu_hw_init(struct hantro_dev *vpu) in imx8mq_vpu_hw_init() 264 struct hantro_dev *vpu = ctx->dev; in imx8m_vpu_g1_reset()
|
| A D | hantro_g1_vp8_dec.c | 139 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()
|
| A D | rockchip_vpu2_hw_vp8_dec.c | 280 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()
|
| A D | hantro_g1.c | 16 struct hantro_dev *vpu = dev_id; in hantro_g1_irq() 34 struct hantro_dev *vpu = ctx->dev; in hantro_g1_reset()
|
| A D | hantro_mpeg2.c | 40 struct hantro_dev *vpu = ctx->dev; in hantro_mpeg2_dec_init() 55 struct hantro_dev *vpu = ctx->dev; in hantro_mpeg2_dec_exit()
|
| A D | hantro_g1_h264_dec.c | 28 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()
|
| A D | hantro_g2.c | 13 void hantro_g2_check_idle(struct hantro_dev *vpu) in hantro_g2_check_idle() 32 struct hantro_dev *vpu = dev_id; in hantro_g2_irq()
|
| A D | rockchip_vpu981_hw_av1_dec.c | 223 struct hantro_dev *vpu = ctx->dev; in rockchip_vpu981_av1_dec_tiles_free() 256 struct hantro_dev *vpu = ctx->dev; in rockchip_vpu981_av1_dec_tiles_reallocate() 322 struct hantro_dev *vpu = ctx->dev; in rockchip_vpu981_av1_dec_exit() 364 struct hantro_dev *vpu = ctx->dev; in rockchip_vpu981_av1_dec_init() 516 struct hantro_dev *vpu = ctx->dev; in rockchip_vpu981_av1_dec_set_global_model() 580 struct hantro_dev *vpu = ctx->dev; in rockchip_vpu981_av1_dec_set_tile_info() 686 struct hantro_dev *vpu = ctx->dev; in rockchip_vpu981_av1_dec_set_ref() 759 struct hantro_dev *vpu = ctx->dev; in rockchip_vpu981_av1_dec_set_sign_bias() 796 struct hantro_dev *vpu = ctx->dev; in rockchip_vpu981_av1_dec_set_segmentation() 1072 struct hantro_dev *vpu = ctx->dev; in rockchip_vpu981_av1_dec_set_loopfilter() [all …]
|
| A D | hantro_g2_hevc_dec.c | 13 struct hantro_dev *vpu = ctx->dev; in prepare_tile_info_buffer() 147 struct hantro_dev *vpu = ctx->dev; in set_params() 289 struct hantro_dev *vpu = ctx->dev; in set_ref_pic_list() 371 struct hantro_dev *vpu = ctx->dev; in set_ref() 506 struct hantro_dev *vpu = ctx->dev; in set_buffers() 532 struct hantro_dev *vpu = ctx->dev; in prepare_scaling_list_buffer() 582 struct hantro_dev *vpu = ctx->dev; in hantro_g2_hevc_dec_run()
|
| 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()
|
| A D | stm32mp25_vpu_hw.c | 99 struct hantro_dev *vpu = dev_id; in stm32mp25_venc_irq() 116 struct hantro_dev *vpu = ctx->dev; in stm32mp25_venc_reset()
|
| 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()
|
| A D | hantro_hevc.c | 77 struct hantro_dev *vpu = ctx->dev; in tile_buffer_reallocate() 217 struct hantro_dev *vpu = ctx->dev; in hantro_hevc_dec_exit() 253 struct hantro_dev *vpu = ctx->dev; in hantro_hevc_dec_init()
|
| A D | hantro_hw.h | 52 struct hantro_dev; 431 void hantro_irq_done(struct hantro_dev *vpu, 585 void hantro_g2_check_idle(struct hantro_dev *vpu);
|
| A D | rockchip_vpu2_hw_mpeg2_dec.c | 83 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()
|
| A D | hantro_vp8.c | 147 struct hantro_dev *vpu = ctx->dev; in hantro_vp8_dec_init() 195 struct hantro_dev *vpu = ctx->dev; in hantro_vp8_dec_exit()
|
| A D | rockchip_vpu2_hw_h264_dec.c | 199 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()
|
| A D | hantro_vp9.c | 160 struct hantro_dev *vpu = ctx->dev; in hantro_vp9_dec_init() 231 struct hantro_dev *vpu = ctx->dev; in hantro_vp9_dec_exit()
|
| A D | hantro_h264.c | 497 struct hantro_dev *vpu = ctx->dev; in hantro_h264_dec_exit() 506 struct hantro_dev *vpu = ctx->dev; in hantro_h264_dec_init()
|