| /linux/drivers/media/platform/mediatek/vcodec/decoder/ | 
| H A D | vdec_vpu_if.c | 14 	struct vdec_vpu_inst *vpu = (struct vdec_vpu_inst *)  in handle_init_ack_msg()  local17 	mtk_vdec_debug(vpu->ctx, "+ ap_inst_addr = 0x%llx", msg->ap_inst_addr);  in handle_init_ack_msg()
 19 	/* mapping VPU address to kernel virtual address */  in handle_init_ack_msg()
 20 	/* the content in vsi is initialized to 0 in VPU */  in handle_init_ack_msg()
 21 	vpu->vsi = mtk_vcodec_fw_map_dm_addr(vpu->ctx->dev->fw_handler,  in handle_init_ack_msg()
 23 	vpu->inst_addr = msg->vpu_inst_addr;  in handle_init_ack_msg()
 25 	mtk_vdec_debug(vpu->ctx, "- vpu_inst_addr = 0x%x", vpu->inst_addr);  in handle_init_ack_msg()
 28 	vpu->fw_abi_version = 0;  in handle_init_ack_msg()
 33 	vpu->inst_id = 0xdeadbeef;  in handle_init_ack_msg()
 35 	/* VPU firmware does not contain a version field. */  in handle_init_ack_msg()
 [all …]
 
 | 
| H A D | vdec_vpu_if.h | 13  * struct vdec_vpu_inst - VPU instance for video codec16  * @vsi         : driver structure allocated by VPU side and shared to AP side
 18  * @failure     : VPU execution result status, 0: success, others: fail
 19  * @inst_addr	: VPU decoder instance address
 23  * @signaled    : 1 - Host has received ack message from VPU, 0 - not received
 25  * @wq          : wait queue to wait VPU message ack
 49  * vpu_dec_init - init decoder instance and allocate required resource in VPU.
 51  * @vpu: instance for vdec_vpu_inst
 53 int vpu_dec_init(struct vdec_vpu_inst *vpu);
 59  * @vpu : instance for vdec_vpu_inst
 [all …]
 
 | 
| /linux/drivers/media/platform/mediatek/vcodec/encoder/ | 
| H A D | venc_vpu_if.c | 11 static void handle_enc_init_msg(struct venc_vpu_inst *vpu, const void *data)  in handle_enc_init_msg()  argument15 	vpu->inst_addr = msg->vpu_inst_addr;  in handle_enc_init_msg()
 16 	vpu->vsi = mtk_vcodec_fw_map_dm_addr(vpu->ctx->dev->fw_handler,  in handle_enc_init_msg()
 20 	if (mtk_vcodec_fw_get_type(vpu->ctx->dev->fw_handler) == VPU)  in handle_enc_init_msg()
 24 	mtk_venc_debug(vpu->ctx, "firmware version: 0x%x\n", msg->venc_abi_version);  in handle_enc_init_msg()
 29 		mtk_venc_err(vpu->ctx, "unhandled firmware version 0x%x\n",  in handle_enc_init_msg()
 31 		vpu->failure = 1;  in handle_enc_init_msg()
 36 static void handle_enc_encode_msg(struct venc_vpu_inst *vpu, const void *data)  in handle_enc_encode_msg()  argument
 40 	vpu->state = msg->state;  in handle_enc_encode_msg()
 41 	vpu->bs_size = msg->bs_size;  in handle_enc_encode_msg()
 [all …]
 
 | 
| H A D | venc_ipi_msg.h | 16  * enum venc_ipi_msg_id - message id between AP and VPU18  * @AP_IPIMSG_ENC_XXX:		AP to VPU cmd message id
 19  * @VPU_IPIMSG_ENC_XXX_DONE:	VPU ack AP cmd message id
 34  * struct venc_ap_ipi_msg_init - AP to VPU init cmd structure
 36  * @reserved:	reserved for future use. vpu is running in 32bit. Without
 38  *		will be different between kernel and vpu
 49  * struct venc_ap_ipi_msg_set_param - AP to VPU set_param cmd structure
 51  * @vpu_inst_addr:	VPU encoder instance addr
 71  * struct venc_ap_ipi_msg_enc - AP to VPU enc cmd structure
 73  * @vpu_inst_addr:	VPU encoder instance addr
 [all …]
 
 | 
| H A D | venc_vpu_if.h | 13  * struct venc_vpu_inst - encoder VPU driver instance14  * @wq_hd: wait queue used for vpu cmd trigger then wait vpu interrupt done
 15  * @signaled: flag used for checking vpu interrupt done
 16  * @failure: flag to show vpu cmd succeeds or not
 20  * @inst_addr: VPU instance addr
 21  * @vsi: driver structure allocated by VPU side and shared to AP side for
 40 int vpu_enc_init(struct venc_vpu_inst *vpu);
 41 int vpu_enc_set_param(struct venc_vpu_inst *vpu,
 44 int vpu_enc_encode(struct venc_vpu_inst *vpu, unsigned int bs_mode,
 48 int vpu_enc_deinit(struct venc_vpu_inst *vpu);
 
 | 
| /linux/drivers/remoteproc/ | 
| H A D | ingenic_rproc.c | 53  * struct vpu - Ingenic VPU remoteproc private structure55  * @clks: pointers to the VPU and AUX clocks
 61 struct vpu {  struct
 71 	struct vpu *vpu = rproc->priv;  in ingenic_rproc_prepare()  argument
 75 	ret = clk_bulk_prepare_enable(ARRAY_SIZE(vpu->clks), vpu->clks);  in ingenic_rproc_prepare()
 77 		dev_err(vpu->dev, "Unable to start clocks: %d\n", ret);  in ingenic_rproc_prepare()
 84 	struct vpu *vpu = rproc->priv;  in ingenic_rproc_unprepare()  local
 86 	clk_bulk_disable_unprepare(ARRAY_SIZE(vpu->clks), vpu->clks);  in ingenic_rproc_unprepare()
 93 	struct vpu *vpu = rproc->priv;  in ingenic_rproc_start()  local
 96 	enable_irq(vpu->irq);  in ingenic_rproc_start()
 [all …]
 
 | 
| /linux/drivers/media/platform/mediatek/mdp/ | 
| H A D | mtk_mdp_vpu.c | 13 static inline struct mtk_mdp_ctx *vpu_to_ctx(struct mtk_mdp_vpu *vpu)  in vpu_to_ctx()  argument15 	return container_of(vpu, struct mtk_mdp_ctx, vpu);  in vpu_to_ctx()
 20 	struct mtk_mdp_vpu *vpu = (struct mtk_mdp_vpu *)  in mtk_mdp_vpu_handle_init_ack()  local
 23 	/* mapping VPU address to kernel virtual address */  in mtk_mdp_vpu_handle_init_ack()
 24 	vpu->vsi = (struct mdp_process_vsi *)  in mtk_mdp_vpu_handle_init_ack()
 25 			vpu_mapping_dm_addr(vpu->pdev, msg->vpu_inst_addr);  in mtk_mdp_vpu_handle_init_ack()
 26 	vpu->inst_addr = msg->vpu_inst_addr;  in mtk_mdp_vpu_handle_init_ack()
 34 	struct mtk_mdp_vpu *vpu = (struct mtk_mdp_vpu *)  in mtk_mdp_vpu_ipi_handler()  local
 38 	vpu->failure = msg->status;  in mtk_mdp_vpu_ipi_handler()
 39 	if (!vpu->failure) {  in mtk_mdp_vpu_ipi_handler()
 [all …]
 
 | 
| H A D | mtk_mdp_vpu.h | 15  * struct mtk_mdp_vpu - VPU instance for MDP16  * @pdev	: pointer to the VPU platform device
 17  * @inst_addr	: VPU MDP instance address
 18  * @failure	: VPU execution result status
 19  * @vsi		: VPU shared information
 29 int mtk_mdp_vpu_init(struct mtk_mdp_vpu *vpu);
 30 int mtk_mdp_vpu_deinit(struct mtk_mdp_vpu *vpu);
 31 int mtk_mdp_vpu_process(struct mtk_mdp_vpu *vpu);
 
 | 
| /linux/drivers/media/platform/mediatek/vpu/ | 
| H A D | mtk_vpu.h | 13  * DOC: VPU15  * VPU (video processor unit) is a tiny processor controlling video hardware
 17  * VPU interfaces with other blocks by share memory and interrupt.
 27  * @IPI_VPU_INIT:	 The interrupt from vpu is to notfiy kernel
 28  *			 VPU initialization completed.
 29  *			 IPI_VPU_INIT is sent from VPU when firmware is
 31  *			 command to VPU.
 33  *			 to VPU to trigger the interrupt.
 34  * @IPI_VDEC_H264:	 The interrupt from vpu is to notify kernel to
 42  * @IPI_VDEC_VP9:	 The interrupt from vpu is to notify kernel to
 [all …]
 
 | 
| /linux/drivers/media/platform/verisilicon/ | 
| H A D | rockchip_vpu2_hw_jpeg_enc.c | 3  * Hantro VPU codec driver9  * The VPU JPEG encoder produces JPEG baseline sequential format.
 35 static void rockchip_vpu2_set_src_img_ctrl(struct hantro_dev *vpu,  in rockchip_vpu2_set_src_img_ctrl()  argument
 51 	vepu_write_relaxed(vpu, reg, VEPU_REG_INPUT_LUMA_INFO);  in rockchip_vpu2_set_src_img_ctrl()
 61 	vepu_write_relaxed(vpu, reg, VEPU_REG_ENC_OVER_FILL_STRM_OFFSET);  in rockchip_vpu2_set_src_img_ctrl()
 64 	vepu_write_relaxed(vpu, reg, VEPU_REG_ENC_CTRL1);  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()  argument
 82 	vepu_write_relaxed(vpu, vb2_dma_contig_plane_dma_addr(dst_buf, 0) +  in rockchip_vpu2_jpeg_enc_set_buffers()
 85 	vepu_write_relaxed(vpu, size_left, VEPU_REG_STR_BUF_LIMIT);  in rockchip_vpu2_jpeg_enc_set_buffers()
 89 		vepu_write_relaxed(vpu, src[0], VEPU_REG_ADDR_IN_PLANE_0);  in rockchip_vpu2_jpeg_enc_set_buffers()
 [all …]
 
 | 
| H A D | hantro_h1_jpeg_enc.c | 3  * Hantro VPU codec driver18 static void hantro_h1_set_src_img_ctrl(struct hantro_dev *vpu,  in hantro_h1_set_src_img_ctrl()  argument
 37 	vepu_write_relaxed(vpu, reg, H1_REG_IN_IMG_CTRL);  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()  argument
 55 	vepu_write_relaxed(vpu, vb2_dma_contig_plane_dma_addr(dst_buf, 0) +  in hantro_h1_jpeg_enc_set_buffers()
 58 	vepu_write_relaxed(vpu, size_left, H1_REG_STR_BUF_LIMIT);  in hantro_h1_jpeg_enc_set_buffers()
 63 		vepu_write_relaxed(vpu, src[0], H1_REG_ADDR_IN_PLANE_0);  in hantro_h1_jpeg_enc_set_buffers()
 67 		vepu_write_relaxed(vpu, src[0], H1_REG_ADDR_IN_PLANE_0);  in hantro_h1_jpeg_enc_set_buffers()
 68 		vepu_write_relaxed(vpu, src[1], H1_REG_ADDR_IN_PLANE_1);  in hantro_h1_jpeg_enc_set_buffers()
 73 		vepu_write_relaxed(vpu, src[0], H1_REG_ADDR_IN_PLANE_0);  in hantro_h1_jpeg_enc_set_buffers()
 [all …]
 
 | 
| H A D | rockchip_vpu2_hw_vp8_dec.c | 3  * Rockchip VPU codec vp8 decode driver280 	struct hantro_dev *vpu = ctx->dev;  in cfg_lf()  local
 285 		hantro_reg_write(vpu, &vp8_dec_lf_level[0], lf->level);  in cfg_lf()
 291 			hantro_reg_write(vpu, &vp8_dec_lf_level[i], lf_level);  in cfg_lf()
 295 			hantro_reg_write(vpu, &vp8_dec_lf_level[i],  in cfg_lf()
 302 	vdpu_write_relaxed(vpu, reg, VDPU_REG_FILTER_MB_ADJ);  in cfg_lf()
 306 			hantro_reg_write(vpu, &vp8_dec_mb_adj[i],  in cfg_lf()
 308 			hantro_reg_write(vpu, &vp8_dec_ref_adj[i],  in cfg_lf()
 319 	struct hantro_dev *vpu = ctx->dev;  in cfg_qp()  local
 323 		hantro_reg_write(vpu, &vp8_dec_quant[0], q->y_ac_qi);  in cfg_qp()
 [all …]
 
 | 
| H A D | hantro_g1_h264_dec.c | 3  * Rockchip RK3288 VPU codec driver28 	struct hantro_dev *vpu = ctx->dev;  in set_params()  local
 49 	vdpu_write_relaxed(vpu, reg, G1_REG_DEC_CTRL0);  in set_params()
 55 	vdpu_write_relaxed(vpu, reg, G1_REG_DEC_CTRL1);  in set_params()
 65 	vdpu_write_relaxed(vpu, reg, G1_REG_DEC_CTRL2);  in set_params()
 71 	vdpu_write_relaxed(vpu, reg, G1_REG_DEC_CTRL3);  in set_params()
 85 	vdpu_write_relaxed(vpu, reg, G1_REG_DEC_CTRL4);  in set_params()
 100 	vdpu_write_relaxed(vpu, reg, G1_REG_DEC_CTRL5);  in set_params()
 107 	vdpu_write_relaxed(vpu, reg, G1_REG_DEC_CTRL6);  in set_params()
 110 	vdpu_write_relaxed(vpu, 0, G1_REG_ERR_CONC);  in set_params()
 [all …]
 
 | 
| H A D | rockchip_vpu2_hw_mpeg2_dec.c | 3  * Hantro VPU codec driver83 rockchip_vpu2_mpeg2_dec_set_quantisation(struct hantro_dev *vpu,  in rockchip_vpu2_mpeg2_dec_set_quantisation()  argument
 90 	vdpu_write_relaxed(vpu, ctx->mpeg2_dec.qtable.dma, VDPU_REG_QTABLE_BASE);  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()  argument
 114 	vdpu_write_relaxed(vpu, addr, VDPU_REG_RLC_VLC_BASE);  in rockchip_vpu2_mpeg2_dec_set_buffers()
 122 	vdpu_write_relaxed(vpu, addr, VDPU_REG_DEC_OUT_BASE);  in rockchip_vpu2_mpeg2_dec_set_buffers()
 136 		vdpu_write_relaxed(vpu, forward_addr, VDPU_REG_REFER0_BASE);  in rockchip_vpu2_mpeg2_dec_set_buffers()
 137 		vdpu_write_relaxed(vpu, forward_addr, VDPU_REG_REFER1_BASE);  in rockchip_vpu2_mpeg2_dec_set_buffers()
 139 		vdpu_write_relaxed(vpu, forward_addr, VDPU_REG_REFER0_BASE);  in rockchip_vpu2_mpeg2_dec_set_buffers()
 140 		vdpu_write_relaxed(vpu, current_addr, VDPU_REG_REFER1_BASE);  in rockchip_vpu2_mpeg2_dec_set_buffers()
 [all …]
 
 | 
| H A D | hantro_g1_vp8_dec.c | 139 	struct hantro_dev *vpu = ctx->dev;  in cfg_lf()  local144 		hantro_reg_write(vpu, &vp8_dec_lf_level[0], lf->level);  in cfg_lf()
 150 			hantro_reg_write(vpu, &vp8_dec_lf_level[i], lf_level);  in cfg_lf()
 154 			hantro_reg_write(vpu, &vp8_dec_lf_level[i],  in cfg_lf()
 161 	vdpu_write_relaxed(vpu, reg, G1_REG_REF_PIC(0));  in cfg_lf()
 165 			hantro_reg_write(vpu, &vp8_dec_mb_adj[i],  in cfg_lf()
 167 			hantro_reg_write(vpu, &vp8_dec_ref_adj[i],  in cfg_lf()
 181 	struct hantro_dev *vpu = ctx->dev;  in cfg_qp()  local
 185 		hantro_reg_write(vpu, &vp8_dec_quant[0], q->y_ac_qi);  in cfg_qp()
 191 			hantro_reg_write(vpu, &vp8_dec_quant[i], quant);  in cfg_qp()
 [all …]
 
 | 
| H A D | hantro_g1_mpeg2_dec.c | 3  * Hantro VPU codec driver81 hantro_g1_mpeg2_dec_set_quantisation(struct hantro_dev *vpu,  in hantro_g1_mpeg2_dec_set_quantisation()  argument
 88 	vdpu_write_relaxed(vpu, ctx->mpeg2_dec.qtable.dma, G1_REG_QTABLE_BASE);  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()  argument
 111 	vdpu_write_relaxed(vpu, addr, G1_REG_RLC_VLC_BASE);  in hantro_g1_mpeg2_dec_set_buffers()
 119 	vdpu_write_relaxed(vpu, addr, G1_REG_DEC_OUT_BASE);  in hantro_g1_mpeg2_dec_set_buffers()
 133 		vdpu_write_relaxed(vpu, forward_addr, G1_REG_REFER0_BASE);  in hantro_g1_mpeg2_dec_set_buffers()
 134 		vdpu_write_relaxed(vpu, forward_addr, G1_REG_REFER1_BASE);  in hantro_g1_mpeg2_dec_set_buffers()
 136 		vdpu_write_relaxed(vpu, forward_addr, G1_REG_REFER0_BASE);  in hantro_g1_mpeg2_dec_set_buffers()
 137 		vdpu_write_relaxed(vpu, current_addr, G1_REG_REFER1_BASE);  in hantro_g1_mpeg2_dec_set_buffers()
 [all …]
 
 | 
| H A D | hantro_g1.c | 3  * Hantro VPU codec driver16 	struct hantro_dev *vpu = dev_id;  in hantro_g1_irq()  local
 20 	status = vdpu_read(vpu, G1_REG_INTERRUPT);  in hantro_g1_irq()
 24 	vdpu_write(vpu, 0, G1_REG_INTERRUPT);  in hantro_g1_irq()
 25 	vdpu_write(vpu, G1_REG_CONFIG_DEC_CLK_GATE_E, G1_REG_CONFIG);  in hantro_g1_irq()
 27 	hantro_irq_done(vpu, state);  in hantro_g1_irq()
 34 	struct hantro_dev *vpu = ctx->dev;  in hantro_g1_reset()  local
 36 	vdpu_write(vpu, G1_REG_INTERRUPT_DEC_IRQ_DIS, G1_REG_INTERRUPT);  in hantro_g1_reset()
 37 	vdpu_write(vpu, G1_REG_CONFIG_DEC_CLK_GATE_E, G1_REG_CONFIG);  in hantro_g1_reset()
 38 	vdpu_write(vpu, 1, G1_REG_SOFT_RESET);  in hantro_g1_reset()
 
 | 
| H A D | rockchip_vpu2_hw_h264_dec.c | 3  * Hantro VPU codec driver199 	struct hantro_dev *vpu = ctx->dev;  in set_params()  local
 207 	vdpu_write_relaxed(vpu, reg, VDPU_SWREG(50));  in set_params()
 211 	vdpu_write_relaxed(vpu, reg, VDPU_SWREG(51));  in set_params()
 216 	vdpu_write_relaxed(vpu, reg, VDPU_SWREG(52));  in set_params()
 219 	vdpu_write_relaxed(vpu, reg, VDPU_SWREG(53));  in set_params()
 227 	vdpu_write_relaxed(vpu, reg, VDPU_SWREG(54));  in set_params()
 233 	vdpu_write_relaxed(vpu, reg, VDPU_SWREG(56));  in set_params()
 248 	vdpu_write_relaxed(vpu, reg, VDPU_SWREG(57));  in set_params()
 253 	vdpu_write_relaxed(vpu, reg, VDPU_SWREG(59));  in set_params()
 [all …]
 
 | 
| H A D | hantro_hevc.c | 3  * Hantro VPU HEVC codec driver77 	struct hantro_dev *vpu = ctx->dev;  in tile_buffer_reallocate()  local
 92 		dma_free_coherent(vpu->dev, hevc_dec->tile_filter.size,  in tile_buffer_reallocate()
 99 		dma_free_coherent(vpu->dev, hevc_dec->tile_sao.size,  in tile_buffer_reallocate()
 106 		dma_free_coherent(vpu->dev, hevc_dec->tile_bsd.size,  in tile_buffer_reallocate()
 113 	hevc_dec->tile_filter.cpu = dma_alloc_coherent(vpu->dev, size,  in tile_buffer_reallocate()
 121 	hevc_dec->tile_sao.cpu = dma_alloc_coherent(vpu->dev, size,  in tile_buffer_reallocate()
 129 	hevc_dec->tile_bsd.cpu = dma_alloc_coherent(vpu->dev, size,  in tile_buffer_reallocate()
 142 		dma_free_coherent(vpu->dev, hevc_dec->tile_sao.size,  in tile_buffer_reallocate()
 149 		dma_free_coherent(vpu->dev, hevc_dec->tile_filter.size,  in tile_buffer_reallocate()
 [all …]
 
 | 
| /linux/drivers/media/platform/amphion/ | 
| H A D | vpu_imx8q.c | 15 #include "vpu.h"42 int vpu_imx8q_setup_dec(struct vpu_dev *vpu)  in vpu_imx8q_setup_dec()  argument
 46 	vpu_writel(vpu, offset + MFD_BLK_CTRL_MFD_SYS_CLOCK_ENABLE_SET, 0x1f);  in vpu_imx8q_setup_dec()
 47 	vpu_writel(vpu, offset + MFD_BLK_CTRL_MFD_SYS_RESET_SET, 0xffffffff);  in vpu_imx8q_setup_dec()
 52 int vpu_imx8q_setup_enc(struct vpu_dev *vpu)  in vpu_imx8q_setup_enc()  argument
 57 int vpu_imx8q_setup(struct vpu_dev *vpu)  in vpu_imx8q_setup()  argument
 61 	vpu_readl(vpu, offset + 0x108);  in vpu_imx8q_setup()
 63 	vpu_writel(vpu, offset + SCB_BLK_CTRL_SCB_CLK_ENABLE_SET, 0x1);  in vpu_imx8q_setup()
 64 	vpu_writel(vpu, offset + 0x190, 0xffffffff);  in vpu_imx8q_setup()
 65 	vpu_writel(vpu, offset + SCB_BLK_CTRL_XMEM_RESET_SET, 0xffffffff);  in vpu_imx8q_setup()
 [all …]
 
 | 
| /linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/ | 
| H A D | vdec_vp9_if.c | 30  * struct vp9_dram_buf - contains buffer info for vpu46  * @reserved : reserved field used by vpu
 68  * @reserved : reserved field used by vpu
 89  * struct vdec_vp9_vsi - shared buffer between host and VPU firmware
 91  *	VPU-W/R: VPU is write/reader on this item
 92  * @sf_bs_buf : super frame backup buffer (AP-W, VPU-R)
 94  *	(AP-R/W, VPU-R/W)
 95  * @sf_next_ref_fb_idx : next available super frame (AP-W, VPU-R)
 96  * @sf_frm_cnt : super frame count, filled by vpu (AP-R, VPU-W)
 97  * @sf_frm_offset : super frame offset, filled by vpu (AP-R, VPU-W)
 [all …]
 
 | 
| H A D | vdec_h264_if.c | 90  *                        between VPU and Host.91  *                        The memory is allocated by VPU then mapping to Host
 93  *                        by VPU.
 95  *                        VPU-W/R: VPU is write/reader on this item
 96  * @hdr_buf      : Header parsing buffer (AP-W, VPU-R)
 97  * @pred_buf_dma : HW working prediction buffer dma address (AP-W, VPU-R)
 98  * @mv_buf_dma   : HW working motion vector buffer dma address (AP-W, VPU-R)
 99  * @list_free    : free frame buffer ring list (AP-W/R, VPU-W)
 100  * @list_disp    : display frame buffer ring list (AP-R, VPU-W)
 101  * @dec          : decode information (AP-R, VPU-W)
 [all …]
 
 | 
| H A D | vdec_h264_req_if.c | 51  *                        between VPU and Host.52  *                        The memory is allocated by VPU then mapping to Host
 54  *                        by VPU.
 56  *                        VPU-W/R: VPU is write/reader on this item
 57  * @pred_buf_dma : HW working prediction buffer dma address (AP-W, VPU-R)
 58  * @mv_buf_dma   : HW working motion vector buffer dma address (AP-W, VPU-R)
 59  * @dec          : decode information (AP-R, VPU-W)
 60  * @pic          : picture information (AP-R, VPU-W)
 61  * @crop         : crop information (AP-R, VPU-W)
 79  * @vpu      : VPU instance
 [all …]
 
 | 
| /linux/drivers/accel/ivpu/ | 
| H A D | vpu_boot_api.h | 109 /** VPU scheduling mode. By default, OS scheduling is used. */119 /** VPU MCA ECC signalling mode. By default, no signalling is used */
 131  * defines the list of logging destinations supported by the VPU firmware (NOTE:
 132  * a specific VPU FW binary may support only a subset of such output
 169 /* VPU 30xx HW component IDs are sequential, so define first and last IDs. */
 188  * It will be used by VPU to swap between normal and focus priorities
 240 	 * ShaveNN FW section VPU base address
 249 	/* ARM -> VPU doorbell interrupt. ARM is notifying VPU of async command or compute job. */
 251 	/* VPU -> ARM job done interrupt. VPU is notifying ARM of compute job completion. */
 253 	/* VPU -> ARM IRQ line to use to request MMU update. */
 [all …]
 
 | 
| H A D | vpu_jsm_api.h | 59  * VPU status values.79  * Host <-> VPU IPC channels.
 105 	 * VPU private data mask.
 106 	 * Reserved for the VPU to store private data about the job (or inline command)
 129 	 *   1. For queues using native fences, VPU expects that all jobs in the queue
 134 	 *  2. Native fence queues are only supported on VPU 40xx onwards.
 190  * VPU does nothing other than consuming the inline command object.
 195  * VPU waits for the fence current value to reach monitored value.
 197  * the fence to be satisfied, VPU blocks fetching of the next objects in the queue.
 204  * VPU sets the fence current value to the provided value. If new current value
 [all …]
 
 |