Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/media/platform/mediatek/vcodec/
Dmtk_vcodec_fw_priv.h10 struct mtk_vcodec_fw { struct
18 int (*load_firmware)(struct mtk_vcodec_fw *fw); argument
19 unsigned int (*get_vdec_capa)(struct mtk_vcodec_fw *fw);
20 unsigned int (*get_venc_capa)(struct mtk_vcodec_fw *fw);
21 void *(*map_dm_addr)(struct mtk_vcodec_fw *fw, u32 dtcm_dmem_addr);
22 int (*ipi_register)(struct mtk_vcodec_fw *fw, int id,
25 int (*ipi_send)(struct mtk_vcodec_fw *fw, int id, void *buf,
27 void (*release)(struct mtk_vcodec_fw *fw);
31 struct mtk_vcodec_fw *mtk_vcodec_fw_vpu_init(struct mtk_vcodec_dev *dev,
34 static inline struct mtk_vcodec_fw *
[all …]
Dmtk_vcodec_fw.h23 struct mtk_vcodec_fw;
28 struct mtk_vcodec_fw *mtk_vcodec_fw_select(struct mtk_vcodec_dev *dev,
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);
Dmtk_vcodec_fw.c8 struct mtk_vcodec_fw *mtk_vcodec_fw_select(struct mtk_vcodec_dev *dev, in mtk_vcodec_fw_select()
24 void mtk_vcodec_fw_release(struct mtk_vcodec_fw *fw) in mtk_vcodec_fw_release()
30 int mtk_vcodec_fw_load_firmware(struct mtk_vcodec_fw *fw) in mtk_vcodec_fw_load_firmware()
36 unsigned int mtk_vcodec_fw_get_vdec_capa(struct mtk_vcodec_fw *fw) in mtk_vcodec_fw_get_vdec_capa()
42 unsigned int mtk_vcodec_fw_get_venc_capa(struct mtk_vcodec_fw *fw) in mtk_vcodec_fw_get_venc_capa()
48 void *mtk_vcodec_fw_map_dm_addr(struct mtk_vcodec_fw *fw, u32 mem_addr) in mtk_vcodec_fw_map_dm_addr()
54 int mtk_vcodec_fw_ipi_register(struct mtk_vcodec_fw *fw, int id, in mtk_vcodec_fw_ipi_register()
62 int mtk_vcodec_fw_ipi_send(struct mtk_vcodec_fw *fw, int id, void *buf, in mtk_vcodec_fw_ipi_send()
69 int mtk_vcodec_fw_get_type(struct mtk_vcodec_fw *fw) in mtk_vcodec_fw_get_type()
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(struct mtk_vcodec_dev *dev) in mtk_vcodec_fw_scp_init()
58 struct mtk_vcodec_fw *fw; in mtk_vcodec_fw_scp_init()
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()
43 static int mtk_vcodec_vpu_ipi_send(struct mtk_vcodec_fw *fw, int id, void *buf, in mtk_vcodec_vpu_ipi_send()
49 static void mtk_vcodec_vpu_release(struct mtk_vcodec_fw *fw) in mtk_vcodec_vpu_release()
80 struct mtk_vcodec_fw *mtk_vcodec_fw_vpu_init(struct mtk_vcodec_dev *dev, in mtk_vcodec_fw_vpu_init()
84 struct mtk_vcodec_fw *fw; in mtk_vcodec_fw_vpu_init()
DMakefile38 mtk_vcodec_fw.o \
Dmtk_vcodec_drv.h490 struct mtk_vcodec_fw *fw_handler;
/linux-6.1.9/drivers/media/platform/mediatek/vcodec/venc/
Dvenc_h264_if.c359 struct mtk_vcodec_fw *handler; in h264_enc_alloc_work_buf()
380 struct mtk_vcodec_fw *handler; in h264_enc_alloc_work_buf()
Dvenc_vp8_if.c192 struct mtk_vcodec_fw *handler; in vp8_enc_alloc_work_buf()