Home
last modified time | relevance | path

Searched refs:fw_handler (Results 1 – 7 of 7) sorted by relevance

/drivers/media/platform/mtk-vcodec/
Dmtk_vcodec_dec_drv.c135 ret = mtk_vcodec_fw_load_firmware(dev->fw_handler); in fops_vcodec_open()
146 mtk_vcodec_fw_get_vdec_capa(dev->fw_handler); in fops_vcodec_open()
246 dev->fw_handler = mtk_vcodec_fw_select(dev, fw_type, DECODER); in mtk_vcodec_probe()
247 if (IS_ERR(dev->fw_handler)) in mtk_vcodec_probe()
248 return PTR_ERR(dev->fw_handler); in mtk_vcodec_probe()
357 mtk_vcodec_fw_release(dev->fw_handler); in mtk_vcodec_probe()
382 mtk_vcodec_fw_release(dev->fw_handler); in mtk_vcodec_dec_remove()
Dmtk_vcodec_enc_drv.c193 ret = mtk_vcodec_fw_load_firmware(dev->fw_handler); in fops_vcodec_open()
204 mtk_vcodec_fw_get_venc_capa(dev->fw_handler); in fops_vcodec_open()
296 dev->fw_handler = mtk_vcodec_fw_select(dev, fw_type, ENCODER); in mtk_vcodec_probe()
297 if (IS_ERR(dev->fw_handler)) in mtk_vcodec_probe()
298 return PTR_ERR(dev->fw_handler); in mtk_vcodec_probe()
435 mtk_vcodec_fw_release(dev->fw_handler); in mtk_vcodec_probe()
485 mtk_vcodec_fw_release(dev->fw_handler); in mtk_vcodec_enc_remove()
Dvdec_vpu_if.c22 vpu->vsi = mtk_vcodec_fw_map_dm_addr(vpu->ctx->dev->fw_handler, in handle_init_ack_msg()
79 err = mtk_vcodec_fw_ipi_send(vpu->ctx->dev->fw_handler, vpu->id, msg, in vcodec_vpu_send_msg()
116 err = mtk_vcodec_fw_ipi_register(vpu->ctx->dev->fw_handler, vpu->id, in vpu_dec_init()
Dvenc_vpu_if.c17 vpu->vsi = mtk_vcodec_fw_map_dm_addr(vpu->ctx->dev->fw_handler, in handle_enc_init_msg()
88 if (!vpu->ctx->dev->fw_handler) { in vpu_enc_send_msg()
93 status = mtk_vcodec_fw_ipi_send(vpu->ctx->dev->fw_handler, vpu->id, msg, in vpu_enc_send_msg()
119 status = mtk_vcodec_fw_ipi_register(vpu->ctx->dev->fw_handler, vpu->id, in vpu_enc_init()
Dmtk_vcodec_drv.h387 struct mtk_vcodec_fw *fw_handler; member
/drivers/media/platform/mtk-vcodec/venc/
Dvenc_h264_if.c272 handler = inst->vpu_inst.ctx->dev->fw_handler; in h264_enc_alloc_work_buf()
294 handler = inst->vpu_inst.ctx->dev->fw_handler; in h264_enc_alloc_work_buf()
Dvenc_vp8_if.c195 handler = inst->vpu_inst.ctx->dev->fw_handler; in vp8_enc_alloc_work_buf()