Home
last modified time | relevance | path

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

/linux/drivers/media/platform/mediatek/vcodec/encoder/
H A Dmtk_vcodec_enc_drv.c162 ret = mtk_vcodec_fw_load_firmware(dev->fw_handler); in fops_vcodec_open()
173 mtk_vcodec_fw_get_venc_capa(dev->fw_handler); in fops_vcodec_open()
261 dev->fw_handler = mtk_vcodec_fw_select(dev, fw_type, ENCODER); in mtk_vcodec_probe()
262 if (IS_ERR(dev->fw_handler)) in mtk_vcodec_probe()
263 return PTR_ERR(dev->fw_handler); in mtk_vcodec_probe()
375 mtk_vcodec_fw_release(dev->fw_handler); in mtk_vcodec_probe()
471 mtk_vcodec_fw_release(dev->fw_handler); in mtk_vcodec_enc_remove()
H A Dvenc_vpu_if.c16 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()
114 if (!vpu->ctx->dev->fw_handler) { in vpu_enc_send_msg()
119 status = mtk_vcodec_fw_ipi_send(vpu->ctx->dev->fw_handler, vpu->id, msg, in vpu_enc_send_msg()
142 status = mtk_vcodec_fw_ipi_register(vpu->ctx->dev->fw_handler, vpu->id, in vpu_enc_init()
H A Dmtk_vcodec_enc_drv.h203 struct mtk_vcodec_fw *fw_handler; member
/linux/drivers/media/platform/mediatek/vcodec/decoder/
H A Dvdec_vpu_if.c21 vpu->vsi = mtk_vcodec_fw_map_dm_addr(vpu->ctx->dev->fw_handler, in handle_init_ack_msg()
36 if (mtk_vcodec_fw_get_type(vpu->ctx->dev->fw_handler) == VPU) in handle_init_ack_msg()
171 err = mtk_vcodec_fw_ipi_send(vpu->ctx->dev->fw_handler, id, msg, in vcodec_vpu_send_msg()
211 err = mtk_vcodec_fw_ipi_register(vpu->ctx->dev->fw_handler, vpu->id, in vpu_dec_init()
219 err = mtk_vcodec_fw_ipi_register(vpu->ctx->dev->fw_handler, in vpu_dec_init()
H A Dmtk_vcodec_dec_drv.c253 ret = mtk_vcodec_fw_load_firmware(dev->fw_handler); in fops_vcodec_open()
264 mtk_vcodec_fw_get_vdec_capa(dev->fw_handler); in fops_vcodec_open()
387 dev->fw_handler = mtk_vcodec_fw_select(dev, fw_type, DECODER); in mtk_vcodec_probe()
388 if (IS_ERR(dev->fw_handler)) in mtk_vcodec_probe()
389 return PTR_ERR(dev->fw_handler); in mtk_vcodec_probe()
533 mtk_vcodec_fw_release(dev->fw_handler); in mtk_vcodec_probe()
589 mtk_vcodec_fw_release(dev->fw_handler); in mtk_vcodec_dec_remove()
H A Dmtk_vcodec_dec_drv.h280 struct mtk_vcodec_fw *fw_handler; member
/linux/drivers/media/platform/mediatek/vcodec/encoder/venc/
H A Dvenc_h264_if.c355 handler = inst->vpu_inst.ctx->dev->fw_handler; in h264_enc_alloc_work_buf()
376 handler = inst->vpu_inst.ctx->dev->fw_handler; in h264_enc_alloc_work_buf()
H A Dvenc_vp8_if.c187 handler = inst->vpu_inst.ctx->dev->fw_handler; in vp8_enc_alloc_work_buf()
/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_av1_req_lat_if.c777 remote_cdf_table = mtk_vcodec_fw_map_dm_addr(ctx->dev->fw_handler, in vdec_av1_slice_init_cdf_table()
808 remote_iq_table = mtk_vcodec_fw_map_dm_addr(ctx->dev->fw_handler, in vdec_av1_slice_init_iq_table()
1908 instance->core_vsi = mtk_vcodec_fw_map_dm_addr(ctx->dev->fw_handler, (u32)vsi->core_vsi); in vdec_av1_slice_init()
H A Dvdec_vp9_req_lat_if.c516 remote_frame_ctx = mtk_vcodec_fw_map_dm_addr(ctx->dev->fw_handler, in vdec_vp9_slice_init_default_frame_ctx()
1877 instance->core_vsi = mtk_vcodec_fw_map_dm_addr(ctx->dev->fw_handler, in vdec_vp9_slice_init()