Searched refs:fw_handler (Results 1 – 7 of 7) sorted by relevance
/drivers/media/platform/mtk-vcodec/ |
D | mtk_vcodec_dec_drv.c | 135 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()
|
D | mtk_vcodec_enc_drv.c | 193 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()
|
D | vdec_vpu_if.c | 22 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()
|
D | venc_vpu_if.c | 17 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()
|
D | mtk_vcodec_drv.h | 387 struct mtk_vcodec_fw *fw_handler; member
|
/drivers/media/platform/mtk-vcodec/venc/ |
D | venc_h264_if.c | 272 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()
|
D | venc_vp8_if.c | 195 handler = inst->vpu_inst.ctx->dev->fw_handler; in vp8_enc_alloc_work_buf()
|