Home
last modified time | relevance | path

Searched refs:fw_use (Results 1 – 5 of 5) sorted by relevance

/drivers/media/platform/mediatek/vcodec/common/
Dmtk_vcodec_fw_vpu.c86 struct mtk_vcodec_fw *mtk_vcodec_fw_vpu_init(void *priv, enum mtk_vcodec_fw_use fw_use) in mtk_vcodec_fw_vpu_init() argument
93 if (fw_use == ENCODER) { in mtk_vcodec_fw_vpu_init()
98 } else if (fw_use == DECODER) { in mtk_vcodec_fw_vpu_init()
104 pr_err("Invalid fw_use %d (use a resonable fw id here)\n", fw_use); in mtk_vcodec_fw_vpu_init()
114 if (fw_use == DECODER) in mtk_vcodec_fw_vpu_init()
125 fw->fw_use = fw_use; in mtk_vcodec_fw_vpu_init()
Dmtk_vcodec_fw_priv.h16 enum mtk_vcodec_fw_use fw_use; member
33 struct mtk_vcodec_fw *mtk_vcodec_fw_vpu_init(void *priv, enum mtk_vcodec_fw_use fw_use);
36 mtk_vcodec_fw_vpu_init(void *priv, enum mtk_vcodec_fw_use fw_use) in mtk_vcodec_fw_vpu_init() argument
43 struct mtk_vcodec_fw *mtk_vcodec_fw_scp_init(void *priv, enum mtk_vcodec_fw_use fw_use);
46 mtk_vcodec_fw_scp_init(void *priv, enum mtk_vcodec_fw_use fw_use) in mtk_vcodec_fw_scp_init() argument
Dmtk_vcodec_fw.c8 enum mtk_vcodec_fw_use fw_use) in mtk_vcodec_fw_select() argument
12 if (fw_use == ENCODER) in mtk_vcodec_fw_select()
19 return mtk_vcodec_fw_vpu_init(priv, fw_use); in mtk_vcodec_fw_select()
21 return mtk_vcodec_fw_scp_init(priv, fw_use); in mtk_vcodec_fw_select()
Dmtk_vcodec_fw_scp.c56 struct mtk_vcodec_fw *mtk_vcodec_fw_scp_init(void *priv, enum mtk_vcodec_fw_use fw_use) in mtk_vcodec_fw_scp_init() argument
62 if (fw_use == ENCODER) { in mtk_vcodec_fw_scp_init()
66 } else if (fw_use == DECODER) { in mtk_vcodec_fw_scp_init()
71 pr_err("Invalid fw_use %d (use a resonable fw id here)\n", fw_use); in mtk_vcodec_fw_scp_init()
Dmtk_vcodec_fw.h30 enum mtk_vcodec_fw_use fw_use);