Home
last modified time | relevance | path

Searched refs:mtk_vcodec_fw (Results 1 - 19 of 19) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/platform/mtk-vcodec/
H A Dmtk_vcodec_fw_priv.h6 #include "mtk_vcodec_fw.h"
10 struct mtk_vcodec_fw { struct
18 int (*load_firmware)(struct mtk_vcodec_fw *fw);
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_ini
[all...]
H A 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,
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(struct mtk_vcodec_dev *dev) in mtk_vcodec_fw_scp_init()
58 struct mtk_vcodec_fw *fw; in mtk_vcodec_fw_scp_init()
H A Dmtk_vcodec_fw.c3 #include "mtk_vcodec_fw.h"
8 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()
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()
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()
H A DMakefile27 mtk_vcodec_fw.o \
H A Dmtk_vcodec_drv.h387 struct mtk_vcodec_fw *fw_handler;
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/common/
H A Dmtk_vcodec_fw_priv.h6 #include "mtk_vcodec_fw.h"
11 struct mtk_vcodec_fw { struct
20 int (*load_firmware)(struct mtk_vcodec_fw *fw);
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_ini
[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 *f
[all...]
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.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_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 \
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/encoder/
H A Dmtk_vcodec_enc_drv.h202 struct mtk_vcodec_fw *fw_handler;
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/decoder/
H A Dmtk_vcodec_dec_drv.h267 struct mtk_vcodec_fw *fw_handler;
/kernel/linux/linux-5.10/drivers/media/platform/mtk-vcodec/venc/
H A Dvenc_h264_if.c270 struct mtk_vcodec_fw *handler; in h264_enc_alloc_work_buf()
291 struct mtk_vcodec_fw *handler; in h264_enc_alloc_work_buf()
H A Dvenc_vp8_if.c192 struct mtk_vcodec_fw *handler; in vp8_enc_alloc_work_buf()
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/encoder/venc/
H A Dvenc_h264_if.c352 struct mtk_vcodec_fw *handler; in h264_enc_alloc_work_buf()
372 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()

Completed in 9 milliseconds