Home
last modified time | relevance | path

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

/linux/drivers/media/platform/mediatek/vcodec/common/
H A Dmtk_vcodec_fw_priv.h11 struct mtk_vcodec_fw { struct
20 int (*load_firmware)(struct mtk_vcodec_fw *fw); argument
21 unsigned int (*get_vdec_capa)(struct mtk_vcodec_fw *fw);
22 unsigned int (*get_venc_capa)(struct mtk_vcodec_fw *fw);
23 void *(*map_dm_addr)(struct mtk_vcodec_fw *fw, u32 dtcm_dmem_addr);
24 int (*ipi_register)(struct mtk_vcodec_fw *fw, int id,
27 int (*ipi_send)(struct mtk_vcodec_fw *fw, int id, void *buf,
29 void (*release)(struct mtk_vcodec_fw *fw);
33 struct mtk_vcodec_fw *mtk_vcodec_fw_vpu_init(void *priv, enum mtk_vcodec_fw_use fw_use);
35 static inline struct mtk_vcodec_fw *
[all …]
H A Dmtk_vcodec_fw.h24 struct mtk_vcodec_fw;
29 struct mtk_vcodec_fw *mtk_vcodec_fw_select(void *priv, enum mtk_vcodec_fw_type type,
31 void mtk_vcodec_fw_release(struct mtk_vcodec_fw *fw);
33 int mtk_vcodec_fw_load_firmware(struct mtk_vcodec_fw *fw);
34 unsigned int mtk_vcodec_fw_get_vdec_capa(struct mtk_vcodec_fw *fw);
35 unsigned int mtk_vcodec_fw_get_venc_capa(struct mtk_vcodec_fw *fw);
36 void *mtk_vcodec_fw_map_dm_addr(struct mtk_vcodec_fw *fw, u32 mem_addr);
37 int mtk_vcodec_fw_ipi_register(struct mtk_vcodec_fw *fw, int id,
40 int mtk_vcodec_fw_ipi_send(struct mtk_vcodec_fw *fw, int id,
42 int mtk_vcodec_fw_get_type(struct mtk_vcodec_fw *fw);
H A Dmtk_vcodec_fw.c7 struct mtk_vcodec_fw *mtk_vcodec_fw_select(void *priv, enum mtk_vcodec_fw_type type, in mtk_vcodec_fw_select()
29 void mtk_vcodec_fw_release(struct mtk_vcodec_fw *fw) in mtk_vcodec_fw_release()
35 int mtk_vcodec_fw_load_firmware(struct mtk_vcodec_fw *fw) in mtk_vcodec_fw_load_firmware()
41 unsigned int mtk_vcodec_fw_get_vdec_capa(struct mtk_vcodec_fw *fw) in mtk_vcodec_fw_get_vdec_capa()
47 unsigned int mtk_vcodec_fw_get_venc_capa(struct mtk_vcodec_fw *fw) in mtk_vcodec_fw_get_venc_capa()
53 void *mtk_vcodec_fw_map_dm_addr(struct mtk_vcodec_fw *fw, u32 mem_addr) in mtk_vcodec_fw_map_dm_addr()
59 int mtk_vcodec_fw_ipi_register(struct mtk_vcodec_fw *fw, int id, in mtk_vcodec_fw_ipi_register()
67 int mtk_vcodec_fw_ipi_send(struct mtk_vcodec_fw *fw, int id, void *buf, in mtk_vcodec_fw_ipi_send()
74 int mtk_vcodec_fw_get_type(struct mtk_vcodec_fw *fw) in mtk_vcodec_fw_get_type()
H A Dmtk_vcodec_fw_scp.c7 static int mtk_vcodec_scp_load_firmware(struct mtk_vcodec_fw *fw) in mtk_vcodec_scp_load_firmware()
12 static unsigned int mtk_vcodec_scp_get_vdec_capa(struct mtk_vcodec_fw *fw) in mtk_vcodec_scp_get_vdec_capa()
17 static unsigned int mtk_vcodec_scp_get_venc_capa(struct mtk_vcodec_fw *fw) in mtk_vcodec_scp_get_venc_capa()
22 static void *mtk_vcodec_vpu_scp_dm_addr(struct mtk_vcodec_fw *fw, in mtk_vcodec_vpu_scp_dm_addr()
28 static int mtk_vcodec_scp_set_ipi_register(struct mtk_vcodec_fw *fw, int id, in mtk_vcodec_scp_set_ipi_register()
35 static int mtk_vcodec_scp_ipi_send(struct mtk_vcodec_fw *fw, int id, void *buf, in mtk_vcodec_scp_ipi_send()
41 static void mtk_vcodec_scp_release(struct mtk_vcodec_fw *fw) in mtk_vcodec_scp_release()
56 struct mtk_vcodec_fw *mtk_vcodec_fw_scp_init(void *priv, enum mtk_vcodec_fw_use fw_use) in mtk_vcodec_fw_scp_init()
58 struct mtk_vcodec_fw *fw; in mtk_vcodec_fw_scp_init()
H A Dmtk_vcodec_fw_vpu.c7 static int mtk_vcodec_vpu_load_firmware(struct mtk_vcodec_fw *fw) in mtk_vcodec_vpu_load_firmware()
12 static unsigned int mtk_vcodec_vpu_get_vdec_capa(struct mtk_vcodec_fw *fw) in mtk_vcodec_vpu_get_vdec_capa()
17 static unsigned int mtk_vcodec_vpu_get_venc_capa(struct mtk_vcodec_fw *fw) in mtk_vcodec_vpu_get_venc_capa()
22 static void *mtk_vcodec_vpu_map_dm_addr(struct mtk_vcodec_fw *fw, in mtk_vcodec_vpu_map_dm_addr()
28 static int mtk_vcodec_vpu_set_ipi_register(struct mtk_vcodec_fw *fw, int id, in mtk_vcodec_vpu_set_ipi_register()
35 static int mtk_vcodec_vpu_ipi_send(struct mtk_vcodec_fw *fw, int id, void *buf, in mtk_vcodec_vpu_ipi_send()
41 static void mtk_vcodec_vpu_release(struct mtk_vcodec_fw *fw) in mtk_vcodec_vpu_release()
86 struct mtk_vcodec_fw *mtk_vcodec_fw_vpu_init(void *priv, enum mtk_vcodec_fw_use fw_use) in mtk_vcodec_fw_vpu_init()
90 struct mtk_vcodec_fw *fw; in mtk_vcodec_fw_vpu_init()
H A DMakefile7 mtk_vcodec_fw.o \
/linux/drivers/media/platform/mediatek/vcodec/encoder/
H A Dmtk_vcodec_enc_drv.h203 struct mtk_vcodec_fw *fw_handler;
/linux/drivers/media/platform/mediatek/vcodec/decoder/
H A Dmtk_vcodec_dec_drv.h280 struct mtk_vcodec_fw *fw_handler;
/linux/drivers/media/platform/mediatek/vcodec/encoder/venc/
H A Dvenc_h264_if.c353 struct mtk_vcodec_fw *handler; in h264_enc_alloc_work_buf()
373 struct mtk_vcodec_fw *handler; in h264_enc_alloc_work_buf()
H A Dvenc_vp8_if.c184 struct mtk_vcodec_fw *handler; in vp8_enc_alloc_work_buf()