Home
last modified time | relevance | path

Searched refs:session_type (Results 1 – 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/
Dpm_helpers.c145 static u32 load_per_type(struct venus_core *core, u32 session_type) in load_per_type() argument
151 if (inst->session_type != session_type) in load_per_type()
172 if (inst->session_type == VIDC_SESSION_TYPE_ENC) { in mbs_to_bw()
175 } else if (inst->session_type == VIDC_SESSION_TYPE_DEC) { in mbs_to_bw()
302 vcodec_control_v3(struct venus_core *core, u32 session_type, bool enable) in vcodec_control_v3() argument
306 if (session_type == VIDC_SESSION_TYPE_DEC) in vcodec_control_v3()
546 if (inst->session_type == VIDC_SESSION_TYPE_DEC) in decide_core()
946 if (inst->session_type == VIDC_SESSION_TYPE_ENC) in calculate_inst_freq()
967 if (inst->session_type == VIDC_SESSION_TYPE_DEC && !filled_len) in load_scale_v4()
Dhelpers.c31 u32 session_type = inst->session_type; in venus_helper_check_codec() local
70 if (session_type == VIDC_SESSION_TYPE_ENC && core->enc_codecs & codec) in venus_helper_check_codec()
73 if (session_type == VIDC_SESSION_TYPE_DEC && core->dec_codecs & codec) in venus_helper_check_codec()
460 if (inst->session_type == VIDC_SESSION_TYPE_DEC) in session_process_buf()
465 if (inst->session_type == VIDC_SESSION_TYPE_ENC) in session_process_buf()
492 caps = venus_caps_by_codec(core, inst->hfi_codec, inst->session_type); in is_dynamic_bufmode()
1055 pixfmt = inst->session_type == VIDC_SESSION_TYPE_DEC ? in venus_helper_init_codec_freq_data()
1060 data[i].session_type == inst->session_type) { in venus_helper_init_codec_freq_data()
1123 if (inst->session_type == VIDC_SESSION_TYPE_DEC) in venus_helper_set_color_format()
1125 else if (inst->session_type == VIDC_SESSION_TYPE_ENC) in venus_helper_set_color_format()
[all …]
Dhfi_msgs.c459 u32 session_type = inst->session_type; in hfi_session_ftb_done() local
466 if (session_type == VIDC_SESSION_TYPE_ENC) { in hfi_session_ftb_done()
479 } else if (session_type == VIDC_SESSION_TYPE_DEC) { in hfi_session_ftb_done()
Dhfi_parser.c209 *domain = inst->session_type; in parser_init()
222 dom = inst->session_type; in parser_fini()
Dcore.h41 u32 session_type; member
409 u32 session_type; member
Dhfi_parser.h22 caps = venus_caps_by_codec(core, inst->hfi_codec, inst->session_type); in get_cap()
Dhfi_venus.c1118 static int venus_session_init(struct venus_inst *inst, u32 session_type, in venus_session_init() argument
1129 ret = pkt_session_init(&pkt, inst, session_type, codec); in venus_session_init()
1198 u32 session_type = inst->session_type; in venus_session_etb() local
1201 if (session_type == VIDC_SESSION_TYPE_DEC) { in venus_session_etb()
1209 } else if (session_type == VIDC_SESSION_TYPE_ENC) { in venus_session_etb()
Dhfi.h114 int (*session_init)(struct venus_inst *inst, u32 session_type,
Dhfi_cmds.h270 u32 session_type, u32 codec);
Dhfi.c207 ret = ops->session_init(inst, inst->session_type, inst->hfi_codec); in hfi_session_init()
Dcore.c180 inst->session_type = type; in venus_enumerate_codecs()
Dhfi_cmds.c153 u32 session_type, u32 codec) in pkt_session_init() argument
161 pkt->session_domain = session_type; in pkt_session_init()
Dvenc.c1062 inst->session_type = VIDC_SESSION_TYPE_ENC; in venc_open()
Dvdec.c1482 inst->session_type = VIDC_SESSION_TYPE_DEC; in vdec_open()
/kernel/linux/linux-5.10/tools/testing/selftests/tpm2/
Dtpm2.py452 def start_auth_session(self, session_type, name_alg = TPM2_ALG_SHA1): argument
463 session_type,