Searched refs:session_type (Results 1 – 15 of 15) sorted by relevance
/kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/ |
D | pm_helpers.c | 145 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()
|
D | helpers.c | 31 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 …]
|
D | hfi_msgs.c | 459 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()
|
D | hfi_parser.c | 209 *domain = inst->session_type; in parser_init() 222 dom = inst->session_type; in parser_fini()
|
D | core.h | 41 u32 session_type; member 409 u32 session_type; member
|
D | hfi_parser.h | 22 caps = venus_caps_by_codec(core, inst->hfi_codec, inst->session_type); in get_cap()
|
D | hfi_venus.c | 1118 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()
|
D | hfi.h | 114 int (*session_init)(struct venus_inst *inst, u32 session_type,
|
D | hfi_cmds.h | 270 u32 session_type, u32 codec);
|
D | hfi.c | 207 ret = ops->session_init(inst, inst->session_type, inst->hfi_codec); in hfi_session_init()
|
D | core.c | 180 inst->session_type = type; in venus_enumerate_codecs()
|
D | hfi_cmds.c | 153 u32 session_type, u32 codec) in pkt_session_init() argument 161 pkt->session_domain = session_type; in pkt_session_init()
|
D | venc.c | 1062 inst->session_type = VIDC_SESSION_TYPE_ENC; in venc_open()
|
D | vdec.c | 1482 inst->session_type = VIDC_SESSION_TYPE_DEC; in vdec_open()
|
/kernel/linux/linux-5.10/tools/testing/selftests/tpm2/ |
D | tpm2.py | 452 def start_auth_session(self, session_type, name_alg = TPM2_ALG_SHA1): argument 463 session_type,
|