Home
last modified time | relevance | path

Searched refs:dec_dev (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/media/platform/mediatek/vcodec/decoder/
Dvdec_vpu_if.c75 static bool vpu_dec_check_ap_inst(struct mtk_vcodec_dec_dev *dec_dev, struct vdec_vpu_inst *vpu) in vpu_dec_check_ap_inst() argument
80 mutex_lock(&dec_dev->dev_ctx_lock); in vpu_dec_check_ap_inst()
81 list_for_each_entry(ctx, &dec_dev->ctx_list, list) { in vpu_dec_check_ap_inst()
87 mutex_unlock(&dec_dev->dev_ctx_lock); in vpu_dec_check_ap_inst()
104 struct mtk_vcodec_dec_dev *dec_dev; in vpu_dec_ipi_handler() local
108 dec_dev = (struct mtk_vcodec_dec_dev *)priv; in vpu_dec_ipi_handler()
115 if (!vpu_dec_check_ap_inst(dec_dev, vpu) || msg->msg_id < VPU_IPIMSG_DEC_INIT_ACK || in vpu_dec_ipi_handler()
/linux-6.12.1/drivers/media/platform/mediatek/vcodec/common/
Dmtk_vcodec_fw_scp.c67 struct mtk_vcodec_dec_dev *dec_dev = priv; in mtk_vcodec_fw_scp_init() local
69 plat_dev = dec_dev->plat_dev; in mtk_vcodec_fw_scp_init()
Dmtk_vcodec_fw_vpu.c99 struct mtk_vcodec_dec_dev *dec_dev = priv; in mtk_vcodec_fw_vpu_init() local
101 plat_dev = dec_dev->plat_dev; in mtk_vcodec_fw_vpu_init()