Home
last modified time | relevance | path

Searched full:vpu (Results 1 – 25 of 464) sorted by relevance

12345678910>>...19

/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vpu/
Dmtk_vpu.c23 * VPU (video processor unit) is a tiny processor controlling video hardware
25 * VPU interfaces with other blocks by share memory and interrupt.
44 /* the size of share buffer between Host and VPU */
68 /* vpu inter-processor communication interrupt */
70 /* vpu idle state */
74 * enum vpu_fw_type - VPU firmware type
86 * struct vpu_mem - VPU extended program/data memory information
88 * @va: the kernel virtual memory address of VPU extended memory
89 * @pa: the physical memory address of VPU extended memory
98 * struct vpu_regs - VPU TCM and configuration registers
[all …]
Dmtk_vpu.h13 * DOC: VPU
15 * 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 …]
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/mdp3/
Dmtk-mdp3-vpu.c9 #include "mtk-mdp3-vpu.h"
14 static inline struct mdp_dev *vpu_to_mdp(struct mdp_vpu_dev *vpu) in vpu_to_mdp() argument
16 return container_of(vpu, struct mdp_dev, vpu); in vpu_to_mdp()
19 static int mdp_vpu_shared_mem_alloc(struct mdp_vpu_dev *vpu) in mdp_vpu_shared_mem_alloc() argument
23 if (IS_ERR_OR_NULL(vpu)) in mdp_vpu_shared_mem_alloc()
26 dev = scp_get_device(vpu->scp); in mdp_vpu_shared_mem_alloc()
28 if (!vpu->param) { in mdp_vpu_shared_mem_alloc()
29 vpu->param = dma_alloc_wc(dev, vpu->param_size, in mdp_vpu_shared_mem_alloc()
30 &vpu->param_addr, GFP_KERNEL); in mdp_vpu_shared_mem_alloc()
31 if (!vpu->param) in mdp_vpu_shared_mem_alloc()
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/mtk-vpu/
Dmtk_vpu.c23 * VPU (video processor unit) is a tiny processor controlling video hardware
25 * VPU interfaces with other blocks by share memory and interrupt.
43 /* the size of share buffer between Host and VPU */
63 /* vpu inter-processor communication interrupt */
67 * enum vpu_fw_type - VPU firmware type
79 * struct vpu_mem - VPU extended program/data memory information
81 * @va: the kernel virtual memory address of VPU extended memory
82 * @pa: the physical memory address of VPU extended memory
91 * struct vpu_regs - VPU TCM and configuration registers
93 * @tcm: the register for VPU Tightly-Coupled Memory
[all …]
Dmtk_vpu.h13 * VPU (video processor unit) is a tiny processor controlling video hardware
15 * VPU interfaces with other blocks by share memory and interrupt.
25 * @IPI_VPU_INIT: The interrupt from vpu is to notfiy kernel
26 * VPU initialization completed.
27 * IPI_VPU_INIT is sent from VPU when firmware is
29 * command to VPU.
31 * to VPU to trigger the interrupt.
32 * @IPI_VDEC_H264: The interrupt from vpu is to notify kernel to
40 * @IPI_VDEC_VP9: The interrupt from vpu is to notify kernel to
44 * @IPI_VENC_H264: The interrupt from vpu is to notify kernel to
[all …]
/kernel/linux/linux-6.6/drivers/media/platform/amphion/
Dvpu_drv.c26 #include "vpu.h"
32 void vpu_writel(struct vpu_dev *vpu, u32 reg, u32 val) in vpu_writel() argument
34 writel(val, vpu->base + reg); in vpu_writel()
37 u32 vpu_readl(struct vpu_dev *vpu, u32 reg) in vpu_readl() argument
39 return readl(vpu->base + reg); in vpu_readl()
42 static void vpu_dev_get(struct vpu_dev *vpu) in vpu_dev_get() argument
44 if (atomic_inc_return(&vpu->ref_vpu) == 1 && vpu->res->setup) in vpu_dev_get()
45 vpu->res->setup(vpu); in vpu_dev_get()
48 static void vpu_dev_put(struct vpu_dev *vpu) in vpu_dev_put() argument
50 atomic_dec(&vpu->ref_vpu); in vpu_dev_put()
[all …]
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/decoder/
Dvdec_vpu_if.c14 struct vdec_vpu_inst *vpu = (struct vdec_vpu_inst *) in handle_init_ack_msg() local
17 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 …]
Dvdec_vpu_if.h13 * struct vdec_vpu_inst - VPU instance for video codec
16 * @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 * @dev : platform device of VPU
26 * @wq : wait queue to wait VPU message ack
50 * vpu_dec_init - init decoder instance and allocate required resource in VPU.
52 * @vpu: instance for vdec_vpu_inst
54 int vpu_dec_init(struct vdec_vpu_inst *vpu);
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/mtk-vcodec/
Dvdec_vpu_if.c15 struct vdec_vpu_inst *vpu = (struct vdec_vpu_inst *) in handle_init_ack_msg() local
18 mtk_vcodec_debug(vpu, "+ ap_inst_addr = 0x%llx", msg->ap_inst_addr); in handle_init_ack_msg()
20 /* mapping VPU address to kernel virtual address */ in handle_init_ack_msg()
21 /* the content in vsi is initialized to 0 in VPU */ in handle_init_ack_msg()
22 vpu->vsi = mtk_vcodec_fw_map_dm_addr(vpu->ctx->dev->fw_handler, in handle_init_ack_msg()
24 vpu->inst_addr = msg->vpu_inst_addr; in handle_init_ack_msg()
26 mtk_vcodec_debug(vpu, "- vpu_inst_addr = 0x%x", vpu->inst_addr); in handle_init_ack_msg()
30 * vpu_dec_ipi_handler - Handler for VPU ipi message.
37 * from VPU.
42 struct vdec_vpu_inst *vpu = (struct vdec_vpu_inst *) in vpu_dec_ipi_handler() local
[all …]
Dvenc_vpu_if.c12 static void handle_enc_init_msg(struct venc_vpu_inst *vpu, const void *data) in handle_enc_init_msg() argument
16 vpu->inst_addr = msg->vpu_inst_addr; in handle_enc_init_msg()
17 vpu->vsi = mtk_vcodec_fw_map_dm_addr(vpu->ctx->dev->fw_handler, in handle_enc_init_msg()
21 if (vpu->ctx->dev->venc_pdata->chip == MTK_MT8173) in handle_enc_init_msg()
25 mtk_vcodec_debug(vpu, "firmware version: 0x%x\n", in handle_enc_init_msg()
31 mtk_vcodec_err(vpu, "unhandled firmware version 0x%x\n", in handle_enc_init_msg()
33 vpu->failure = 1; in handle_enc_init_msg()
38 static void handle_enc_encode_msg(struct venc_vpu_inst *vpu, const void *data) in handle_enc_encode_msg() argument
42 vpu->state = msg->state; in handle_enc_encode_msg()
43 vpu->bs_size = msg->bs_size; in handle_enc_encode_msg()
[all …]
Dvdec_vpu_if.h15 * struct vdec_vpu_inst - VPU instance for video codec
17 * @vsi : driver structure allocated by VPU side and shared to AP side
19 * @failure : VPU execution result status, 0: success, others: fail
20 * @inst_addr : VPU decoder instance address
21 * @signaled : 1 - Host has received ack message from VPU, 0 - not received
23 * @dev : platform device of VPU
24 * @wq : wait queue to wait VPU message ack
39 * vpu_dec_init - init decoder instance and allocate required resource in VPU.
41 * @vpu: instance for vdec_vpu_inst
43 int vpu_dec_init(struct vdec_vpu_inst *vpu);
[all …]
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/encoder/
Dvenc_vpu_if.c11 static void handle_enc_init_msg(struct venc_vpu_inst *vpu, const void *data) in handle_enc_init_msg() argument
15 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 …]
/kernel/linux/linux-5.10/drivers/remoteproc/
Dingenic_rproc.c48 * struct vpu - Ingenic VPU remoteproc private structure
50 * @clks: pointers to the VPU and AUX clocks
56 struct vpu { struct
66 struct vpu *vpu = rproc->priv; in ingenic_rproc_prepare() argument
70 ret = clk_bulk_prepare_enable(ARRAY_SIZE(vpu->clks), vpu->clks); in ingenic_rproc_prepare()
72 dev_err(vpu->dev, "Unable to start clocks: %d\n", ret); in ingenic_rproc_prepare()
79 struct vpu *vpu = rproc->priv; in ingenic_rproc_unprepare() local
81 clk_bulk_disable_unprepare(ARRAY_SIZE(vpu->clks), vpu->clks); in ingenic_rproc_unprepare()
88 struct vpu *vpu = rproc->priv; in ingenic_rproc_start() local
91 enable_irq(vpu->irq); in ingenic_rproc_start()
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/hantro/
Dhantro_drv.c3 * Hantro VPU codec driver
31 #define DRIVER_NAME "hantro-vpu"
59 static void hantro_job_finish_no_pm(struct hantro_dev *vpu, in hantro_job_finish_no_pm() argument
80 static void hantro_job_finish(struct hantro_dev *vpu, in hantro_job_finish() argument
84 pm_runtime_mark_last_busy(vpu->dev); in hantro_job_finish()
85 pm_runtime_put_autosuspend(vpu->dev); in hantro_job_finish()
87 clk_bulk_disable(vpu->variant->num_clocks, vpu->clocks); in hantro_job_finish()
89 hantro_job_finish_no_pm(vpu, ctx, result); in hantro_job_finish()
92 void hantro_irq_done(struct hantro_dev *vpu, in hantro_irq_done() argument
96 v4l2_m2m_get_curr_priv(vpu->m2m_dev); in hantro_irq_done()
[all …]
Dimx8m_vpu_hw.c3 * Hantro VPU codec driver
27 static void imx8m_soft_reset(struct hantro_dev *vpu, u32 reset_bits) in imx8m_soft_reset() argument
32 val = readl(vpu->ctrl_base + CTRL_SOFT_RESET); in imx8m_soft_reset()
34 writel(val, vpu->ctrl_base + CTRL_SOFT_RESET); in imx8m_soft_reset()
39 val = readl(vpu->ctrl_base + CTRL_SOFT_RESET); in imx8m_soft_reset()
41 writel(val, vpu->ctrl_base + CTRL_SOFT_RESET); in imx8m_soft_reset()
44 static void imx8m_clk_enable(struct hantro_dev *vpu, u32 clock_bits) in imx8m_clk_enable() argument
48 val = readl(vpu->ctrl_base + CTRL_CLOCK_ENABLE); in imx8m_clk_enable()
50 writel(val, vpu->ctrl_base + CTRL_CLOCK_ENABLE); in imx8m_clk_enable()
53 static int imx8mq_runtime_resume(struct hantro_dev *vpu) in imx8mq_runtime_resume() argument
[all …]
Dhantro_postproc.c15 #define HANTRO_PP_REG_WRITE(vpu, reg_name, val) \ argument
17 hantro_reg_write(vpu, \
18 &(vpu)->variant->postproc_regs->reg_name, \
22 #define HANTRO_PP_REG_WRITE_S(vpu, reg_name, val) \ argument
24 hantro_reg_write_s(vpu, \
25 &(vpu)->variant->postproc_regs->reg_name, \
55 struct hantro_dev *vpu = ctx->dev; in hantro_postproc_enable() local
60 if (!vpu->variant->postproc_regs) in hantro_postproc_enable()
64 HANTRO_PP_REG_WRITE_S(vpu, pipeline_en, 0x1); in hantro_postproc_enable()
82 HANTRO_PP_REG_WRITE(vpu, clk_gate, 0x1); in hantro_postproc_enable()
[all …]
Drk3399_vpu_hw_jpeg_enc.c3 * Hantro VPU codec driver
9 * The VPU JPEG encoder produces JPEG baseline sequential format.
35 static void rk3399_vpu_set_src_img_ctrl(struct hantro_dev *vpu, in rk3399_vpu_set_src_img_ctrl() argument
46 vepu_write_relaxed(vpu, reg, VEPU_REG_INPUT_LUMA_INFO); in rk3399_vpu_set_src_img_ctrl()
56 vepu_write_relaxed(vpu, reg, VEPU_REG_ENC_OVER_FILL_STRM_OFFSET); in rk3399_vpu_set_src_img_ctrl()
59 vepu_write_relaxed(vpu, reg, VEPU_REG_ENC_CTRL1); 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() argument
71 vepu_write_relaxed(vpu, ctx->jpeg_enc.bounce_buffer.dma, in rk3399_vpu_jpeg_enc_set_buffers()
73 vepu_write_relaxed(vpu, ctx->jpeg_enc.bounce_buffer.size, in rk3399_vpu_jpeg_enc_set_buffers()
78 vepu_write_relaxed(vpu, src[0], VEPU_REG_ADDR_IN_PLANE_0); in rk3399_vpu_jpeg_enc_set_buffers()
[all …]
/kernel/linux/linux-6.6/drivers/media/platform/verisilicon/
Drockchip_vpu981_hw_av1_dec.c223 struct hantro_dev *vpu = ctx->dev; in rockchip_vpu981_av1_dec_tiles_free() local
227 dma_free_coherent(vpu->dev, av1_dec->db_data_col.size, in rockchip_vpu981_av1_dec_tiles_free()
233 dma_free_coherent(vpu->dev, av1_dec->db_ctrl_col.size, in rockchip_vpu981_av1_dec_tiles_free()
239 dma_free_coherent(vpu->dev, av1_dec->cdef_col.size, in rockchip_vpu981_av1_dec_tiles_free()
244 dma_free_coherent(vpu->dev, av1_dec->sr_col.size, in rockchip_vpu981_av1_dec_tiles_free()
249 dma_free_coherent(vpu->dev, av1_dec->lr_col.size, in rockchip_vpu981_av1_dec_tiles_free()
256 struct hantro_dev *vpu = ctx->dev; in rockchip_vpu981_av1_dec_tiles_reallocate() local
272 av1_dec->db_data_col.cpu = dma_alloc_coherent(vpu->dev, size, in rockchip_vpu981_av1_dec_tiles_reallocate()
280 av1_dec->db_ctrl_col.cpu = dma_alloc_coherent(vpu->dev, size, in rockchip_vpu981_av1_dec_tiles_reallocate()
288 av1_dec->cdef_col.cpu = dma_alloc_coherent(vpu->dev, size, in rockchip_vpu981_av1_dec_tiles_reallocate()
[all …]
Dhantro_drv.c3 * Hantro VPU codec driver
31 #define DRIVER_NAME "hantro-vpu"
61 static void hantro_job_finish_no_pm(struct hantro_dev *vpu, in hantro_job_finish_no_pm() argument
88 static void hantro_job_finish(struct hantro_dev *vpu, in hantro_job_finish() argument
92 pm_runtime_mark_last_busy(vpu->dev); in hantro_job_finish()
93 pm_runtime_put_autosuspend(vpu->dev); in hantro_job_finish()
95 clk_bulk_disable(vpu->variant->num_clocks, vpu->clocks); in hantro_job_finish()
97 hantro_job_finish_no_pm(vpu, ctx, result); in hantro_job_finish()
100 void hantro_irq_done(struct hantro_dev *vpu, in hantro_irq_done() argument
104 v4l2_m2m_get_curr_priv(vpu->m2m_dev); in hantro_irq_done()
[all …]
Dhantro_g2_hevc_dec.c3 * Hantro VPU HEVC codec driver
27 struct hantro_dev *vpu = ctx->dev; in prepare_tile_info_buffer() local
42 hantro_reg_write(vpu, &g2_tile_e, tiles_enabled); in prepare_tile_info_buffer()
60 hantro_reg_write(vpu, &g2_num_tile_rows, num_tile_rows); in prepare_tile_info_buffer()
61 hantro_reg_write(vpu, &g2_num_tile_cols, num_tile_cols); in prepare_tile_info_buffer()
108 hantro_reg_write(vpu, &g2_num_tile_rows, 1); in prepare_tile_info_buffer()
109 hantro_reg_write(vpu, &g2_num_tile_cols, 1); in prepare_tile_info_buffer()
161 struct hantro_dev *vpu = ctx->dev; in set_params() local
167 hantro_reg_write(vpu, &g2_bit_depth_y_minus8, sps->bit_depth_luma_minus8); in set_params()
168 hantro_reg_write(vpu, &g2_bit_depth_c_minus8, sps->bit_depth_chroma_minus8); in set_params()
[all …]
Dhantro_postproc.c17 #define HANTRO_PP_REG_WRITE(vpu, reg_name, val) \ argument
19 hantro_reg_write(vpu, \
24 #define HANTRO_PP_REG_WRITE_RELAXED(vpu, reg_name, val) \ argument
26 hantro_reg_write_relaxed(vpu, \
69 struct hantro_dev *vpu = ctx->dev; in hantro_postproc_g1_enable() local
75 HANTRO_PP_REG_WRITE(vpu, pipeline_en, 0x1); in hantro_postproc_g1_enable()
93 HANTRO_PP_REG_WRITE(vpu, clk_gate, 0x1); in hantro_postproc_g1_enable()
94 HANTRO_PP_REG_WRITE(vpu, out_endian, 0x1); in hantro_postproc_g1_enable()
95 HANTRO_PP_REG_WRITE(vpu, out_swap32, 0x1); in hantro_postproc_g1_enable()
96 HANTRO_PP_REG_WRITE(vpu, max_burst, 16); in hantro_postproc_g1_enable()
[all …]
Drockchip_vpu2_hw_jpeg_enc.c3 * Hantro VPU codec driver
9 * 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 …]
/kernel/linux/linux-6.6/drivers/remoteproc/
Dingenic_rproc.c53 * struct vpu - Ingenic VPU remoteproc private structure
55 * @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 …]
/kernel/linux/linux-5.10/drivers/media/platform/mtk-mdp/
Dmtk_mdp_vpu.c13 static inline struct mtk_mdp_ctx *vpu_to_ctx(struct mtk_mdp_vpu *vpu) in vpu_to_ctx() argument
15 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 …]
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/mdp/
Dmtk_mdp_vpu.c13 static inline struct mtk_mdp_ctx *vpu_to_ctx(struct mtk_mdp_vpu *vpu) in vpu_to_ctx() argument
15 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 …]

12345678910>>...19