Searched refs:mtk_vcodec_fw (Results 1 – 10 of 10) sorted by relevance
/linux/drivers/media/platform/mediatek/vcodec/common/ |
H A D | mtk_vcodec_fw_priv.h | 11 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 D | mtk_vcodec_fw.h | 24 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 D | mtk_vcodec_fw.c | 7 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 D | mtk_vcodec_fw_scp.c | 7 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 D | mtk_vcodec_fw_vpu.c | 7 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 D | Makefile | 7 mtk_vcodec_fw.o \
|
/linux/drivers/media/platform/mediatek/vcodec/encoder/ |
H A D | mtk_vcodec_enc_drv.h | 203 struct mtk_vcodec_fw *fw_handler;
|
/linux/drivers/media/platform/mediatek/vcodec/decoder/ |
H A D | mtk_vcodec_dec_drv.h | 280 struct mtk_vcodec_fw *fw_handler;
|
/linux/drivers/media/platform/mediatek/vcodec/encoder/venc/ |
H A D | venc_h264_if.c | 353 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 D | venc_vp8_if.c | 184 struct mtk_vcodec_fw *handler; in vp8_enc_alloc_work_buf()
|