Home
last modified time | relevance | path

Searched refs:session_type (Results 1 - 25 of 36) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/media/platform/qcom/venus/
H A Dhfi_platform.h43 u32 session_type; member
50 unsigned long (*codec_vpp_freq)(u32 session_type, u32 codec);
51 unsigned long (*codec_vsp_freq)(u32 session_type, u32 codec);
52 unsigned long (*codec_lp_freq)(u32 session_type, u32 codec);
55 int (*bufreq)(struct hfi_plat_buffers_params *params, u32 session_type,
64 u32 session_type);
66 u32 session_type);
68 u32 session_type);
H A Dhfi_platform.c24 hfi_platform_get_codec_vpp_freq(enum hfi_version version, u32 codec, u32 session_type) in hfi_platform_get_codec_vpp_freq() argument
34 freq = plat->codec_vpp_freq(session_type, codec); in hfi_platform_get_codec_vpp_freq()
40 hfi_platform_get_codec_vsp_freq(enum hfi_version version, u32 codec, u32 session_type) in hfi_platform_get_codec_vsp_freq() argument
50 freq = plat->codec_vsp_freq(session_type, codec); in hfi_platform_get_codec_vsp_freq()
56 hfi_platform_get_codec_lp_freq(enum hfi_version version, u32 codec, u32 session_type) in hfi_platform_get_codec_lp_freq() argument
66 freq = plat->codec_lp_freq(session_type, codec); in hfi_platform_get_codec_lp_freq()
H A Dhfi_platform_v6.c276 get_codec_freq_data(u32 session_type, u32 pixfmt) in get_codec_freq_data() argument
283 if (data[i].pixfmt == pixfmt && data[i].session_type == session_type) { in get_codec_freq_data()
292 static unsigned long codec_vpp_freq(u32 session_type, u32 codec) in codec_vpp_freq() argument
296 data = get_codec_freq_data(session_type, codec); in codec_vpp_freq()
303 static unsigned long codec_vsp_freq(u32 session_type, u32 codec) in codec_vsp_freq() argument
307 data = get_codec_freq_data(session_type, codec); in codec_vsp_freq()
314 static unsigned long codec_lp_freq(u32 session_type, u32 codec) in codec_lp_freq() argument
318 data = get_codec_freq_data(session_type, codec); in codec_lp_freq()
H A Dhfi_platform_v4.c276 get_codec_freq_data(u32 session_type, u32 pixfmt) in get_codec_freq_data() argument
283 if (data[i].pixfmt == pixfmt && data[i].session_type == session_type) { in get_codec_freq_data()
292 static unsigned long codec_vpp_freq(u32 session_type, u32 codec) in codec_vpp_freq() argument
296 data = get_codec_freq_data(session_type, codec); in codec_vpp_freq()
303 static unsigned long codec_vsp_freq(u32 session_type, u32 codec) in codec_vsp_freq() argument
307 data = get_codec_freq_data(session_type, codec); in codec_vsp_freq()
314 static unsigned long codec_lp_freq(u32 session_type, u32 codec) in codec_lp_freq() argument
318 data = get_codec_freq_data(session_type, codec); in codec_lp_freq()
H A Dhelpers.c44 u32 session_type = inst->session_type; in venus_helper_check_codec() local
83 if (session_type == VIDC_SESSION_TYPE_ENC && core->enc_codecs & codec) in venus_helper_check_codec()
86 if (session_type == VIDC_SESSION_TYPE_DEC && core->dec_codecs & codec) in venus_helper_check_codec()
522 if (inst->session_type == VIDC_SESSION_TYPE_DEC) in session_process_buf()
527 if (inst->session_type == VIDC_SESSION_TYPE_ENC) in session_process_buf()
550 caps = venus_caps_by_codec(core, inst->hfi_codec, inst->session_type); in is_dynamic_bufmode()
625 bool is_dec = inst->session_type == VIDC_SESSION_TYPE_DEC; in platform_get_bufreq()
664 return hfi_plat->bufreq(&params, inst->session_type, buftype, req); in platform_get_bufreq()
1158 if (inst->session_type in venus_helper_get_work_mode()
1707 u32 session_type = inst->session_type; venus_helper_session_init() local
[all...]
H A Dpm_helpers.c161 static u32 load_per_type(struct venus_core *core, u32 session_type) in load_per_type() argument
167 if (inst->session_type != session_type) in load_per_type()
188 if (inst->session_type == VIDC_SESSION_TYPE_ENC) { in mbs_to_bw()
191 } else if (inst->session_type == VIDC_SESSION_TYPE_DEC) { in mbs_to_bw()
333 vcodec_control_v3(struct venus_core *core, u32 session_type, bool enable) in vcodec_control_v3() argument
337 if (session_type == VIDC_SESSION_TYPE_DEC) in vcodec_control_v3()
533 if (inst->session_type != VIDC_SESSION_TYPE_ENC) in power_save_mode_enable()
560 inst->session_type == VIDC_SESSION_TYPE_ENC) in move_core_to_power_save_mode()
586 if (inst->session_type in min_loaded_core()
[all...]
H A Dhfi_plat_bufs.h38 int hfi_plat_bufreq_v6(struct hfi_plat_buffers_params *params, u32 session_type,
H A Dhfi_parser.c224 *domain = inst->session_type; in parser_init()
237 dom = inst->session_type; in parser_fini()
H A Dhfi_parser.h22 caps = venus_caps_by_codec(core, inst->hfi_codec, inst->session_type); in get_cap()
H A Dhfi_msgs.c506 u32 session_type = inst->session_type; in hfi_session_ftb_done() local
513 if (session_type == VIDC_SESSION_TYPE_ENC) { in hfi_session_ftb_done()
526 } else if (session_type == VIDC_SESSION_TYPE_DEC) { in hfi_session_ftb_done()
H A Dhfi.h114 int (*session_init)(struct venus_inst *inst, u32 session_type,
H A Dhfi_plat_bufs_v6.c1156 static int output_buffer_count(u32 session_type, u32 codec) in output_buffer_count() argument
1160 if (session_type == VIDC_SESSION_TYPE_DEC) { in output_buffer_count()
1327 int hfi_plat_bufreq_v6(struct hfi_plat_buffers_params *params, u32 session_type, in hfi_plat_bufreq_v6() argument
1330 if (session_type == VIDC_SESSION_TYPE_DEC) in hfi_plat_bufreq_v6()
H A Dhfi_venus.c1204 static int venus_session_init(struct venus_inst *inst, u32 session_type, in venus_session_init() argument
1215 ret = pkt_session_init(&pkt, inst, session_type, codec); in venus_session_init()
1284 u32 session_type = inst->session_type; in venus_session_etb() local
1287 if (session_type == VIDC_SESSION_TYPE_DEC) { in venus_session_etb()
1295 } else if (session_type == VIDC_SESSION_TYPE_ENC) { in venus_session_etb()
H A Dhfi_cmds.h271 u32 session_type, u32 codec);
/kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/
H A 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 in load_scale_v4()
[all...]
H A 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()
[all...]
H A 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()
H A Dhfi_parser.c224 *domain = inst->session_type; in parser_init()
237 dom = inst->session_type; in parser_fini()
H A Dcore.h41 u32 session_type; member
358 * @session_type: the type of the session (decoder or encoder)
418 u32 session_type; member
H A Dhfi_venus.c1138 static int venus_session_init(struct venus_inst *inst, u32 session_type, in venus_session_init() argument
1149 ret = pkt_session_init(&pkt, inst, session_type, codec); in venus_session_init()
1218 u32 session_type = inst->session_type; in venus_session_etb() local
1221 if (session_type == VIDC_SESSION_TYPE_DEC) { in venus_session_etb()
1229 } else if (session_type == VIDC_SESSION_TYPE_ENC) { in venus_session_etb()
H A Dhfi_parser.h22 caps = venus_caps_by_codec(core, inst->hfi_codec, inst->session_type); in get_cap()
H A Dhfi.h114 int (*session_init)(struct venus_inst *inst, u32 session_type,
H A Dhfi_cmds.h270 u32 session_type, u32 codec);
/kernel/linux/linux-5.10/tools/testing/selftests/tpm2/
H A Dtpm2.py456 def start_auth_session(self, session_type, name_alg = TPM2_ALG_SHA1):
467 session_type,
/kernel/linux/linux-6.6/tools/testing/selftests/tpm2/
H A Dtpm2.py457 def start_auth_session(self, session_type, name_alg = TPM2_ALG_SHA1):
468 session_type,

Completed in 24 milliseconds

12