/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/core/ |
A D | dc_link_enc_cfg.c | 82 enum engine_id eng_id) in get_stream_using_link_enc() argument 90 if ((assignment.valid == true) && (assignment.eng_id == eng_id)) { in get_stream_using_link_enc() 102 enum engine_id eng_id) in remove_link_enc_assignment() argument 137 enum engine_id eng_id) in add_link_enc_assignment() argument 155 .eng_id = eng_id, in add_link_enc_assignment() 183 return eng_id; in find_first_avail_link_enc() 317 eng_id = stream->link->eng_id; in link_enc_cfg_link_encs_assign() 460 if ((assignment.valid == true) && (assignment.eng_id == eng_id)) { in link_enc_cfg_get_stream_using_link_enc() 523 encs_assigned[assignment.eng_id - ENGINE_ID_DIGA] = assignment.eng_id; in link_enc_cfg_get_next_avail_link_enc() 675 assignment_i.eng_id != assignment_j.eng_id) { in link_enc_cfg_validate() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/inc/ |
A D | link_enc_cfg.h | 84 enum engine_id eng_id); 89 enum engine_id eng_id); 113 bool link_enc_cfg_is_link_enc_avail(struct dc *dc, enum engine_id eng_id, struct dc_link *link);
|
A D | resource.h | 76 enum engine_id eng_id, struct dc_context *ctx); 79 enum engine_id eng_id, struct dc_context *ctx);
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn316/ |
A D | dcn316_resource.c | 1141 &link_enc_regs[eng_id - ENGINE_ID_DIGA], in dcn31_link_enc_create_minimal() 1142 eng_id); in dcn31_link_enc_create_minimal() 1232 enum engine_id eng_id, in dcn316_stream_encoder_create() argument 1242 if (eng_id <= ENGINE_ID_DIGF) { in dcn316_stream_encoder_create() 1243 vpg_inst = eng_id; in dcn316_stream_encoder_create() 1244 afmt_inst = eng_id; in dcn316_stream_encoder_create() 1260 eng_id, vpg, afmt, in dcn316_stream_encoder_create() 1261 &stream_enc_regs[eng_id], in dcn316_stream_encoder_create() 1269 enum engine_id eng_id, in dcn31_hpo_dp_stream_encoder_create() argument 1279 ASSERT((eng_id >= ENGINE_ID_HPO_DP_0) && (eng_id <= ENGINE_ID_HPO_DP_3)); in dcn31_hpo_dp_stream_encoder_create() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn314/ |
A D | dcn314_resource.c | 1178 &link_enc_regs[eng_id - ENGINE_ID_DIGA], in dcn31_link_enc_create_minimal() 1179 eng_id); in dcn31_link_enc_create_minimal() 1267 enum engine_id eng_id, in dcn314_stream_encoder_create() argument 1277 if (eng_id < ENGINE_ID_DIGF) { in dcn314_stream_encoder_create() 1278 vpg_inst = eng_id; in dcn314_stream_encoder_create() 1279 afmt_inst = eng_id; in dcn314_stream_encoder_create() 1295 eng_id, vpg, afmt, in dcn314_stream_encoder_create() 1296 &stream_enc_regs[eng_id], in dcn314_stream_encoder_create() 1303 enum engine_id eng_id, in dcn31_hpo_dp_stream_encoder_create() argument 1313 ASSERT((eng_id >= ENGINE_ID_HPO_DP_0) && (eng_id <= ENGINE_ID_HPO_DP_3)); in dcn31_hpo_dp_stream_encoder_create() [all …]
|
A D | dcn314_dio_stream_encoder.c | 472 enum engine_id eng_id, in dcn314_dio_stream_encoder_construct() argument 481 enc1->base.id = eng_id; in dcn314_dio_stream_encoder_construct()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn315/ |
A D | dcn315_resource.c | 1142 &link_enc_regs[eng_id - ENGINE_ID_DIGA], in dcn31_link_enc_create_minimal() 1143 eng_id); in dcn31_link_enc_create_minimal() 1231 enum engine_id eng_id, in dcn315_stream_encoder_create() argument 1243 if (eng_id <= ENGINE_ID_DIGF) { in dcn315_stream_encoder_create() 1244 vpg_inst = eng_id; in dcn315_stream_encoder_create() 1245 afmt_inst = eng_id; in dcn315_stream_encoder_create() 1261 eng_id, vpg, afmt, in dcn315_stream_encoder_create() 1262 &stream_enc_regs[eng_id], in dcn315_stream_encoder_create() 1269 enum engine_id eng_id, in dcn31_hpo_dp_stream_encoder_create() argument 1279 ASSERT((eng_id >= ENGINE_ID_HPO_DP_0) && (eng_id <= ENGINE_ID_HPO_DP_3)); in dcn31_hpo_dp_stream_encoder_create() [all …]
|
/linux-6.3-rc2/drivers/crypto/ |
A D | sa2ul.c | 728 if (ad->auth_eng.eng_id) { in sa_init_sc() 730 first_engine = ad->enc_eng.eng_id; in sa_init_sc() 732 first_engine = ad->auth_eng.eng_id; in sa_init_sc() 741 } else if (ad->enc_eng.eng_id && !ad->auth_eng.eng_id) { in sa_init_sc() 743 first_engine = ad->enc_eng.eng_id; in sa_init_sc() 897 ad->enc_eng.eng_id = SA_ENG_ID_EM1; in sa_cipher_setkey() 901 cfg.enc_eng_id = ad->enc_eng.eng_id; in sa_cipher_setkey() 929 cfg.enc_eng_id = ad->enc_eng.eng_id; in sa_cipher_setkey() 1458 ad->auth_eng.eng_id = SA_ENG_ID_AM1; in sa_sha_setup() 1464 cfg.enc_eng_id = ad->enc_eng.eng_id; in sa_sha_setup() [all …]
|
A D | sa2ul.h | 403 u8 eng_id; member
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn31/ |
A D | dcn31_resource.c | 1146 &link_enc_regs[eng_id - ENGINE_ID_DIGA], in dcn31_link_enc_create_minimal() 1147 eng_id); in dcn31_link_enc_create_minimal() 1235 enum engine_id eng_id, in dcn31_stream_encoder_create() argument 1245 if (eng_id <= ENGINE_ID_DIGF) { in dcn31_stream_encoder_create() 1246 vpg_inst = eng_id; in dcn31_stream_encoder_create() 1247 afmt_inst = eng_id; in dcn31_stream_encoder_create() 1263 eng_id, vpg, afmt, in dcn31_stream_encoder_create() 1264 &stream_enc_regs[eng_id], in dcn31_stream_encoder_create() 1271 enum engine_id eng_id, in dcn31_hpo_dp_stream_encoder_create() argument 1281 ASSERT((eng_id >= ENGINE_ID_HPO_DP_0) && (eng_id <= ENGINE_ID_HPO_DP_3)); in dcn31_hpo_dp_stream_encoder_create() [all …]
|
A D | dcn31_dio_link_encoder.c | 402 enum engine_id eng_id) in dcn31_link_encoder_construct_minimal() argument 411 enc10->base.preferred_engine = eng_id; in dcn31_link_encoder_construct_minimal()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn321/ |
A D | dcn321_resource.c | 1193 enum engine_id eng_id, in dcn321_stream_encoder_create() argument 1203 if (eng_id <= ENGINE_ID_DIGF) { in dcn321_stream_encoder_create() 1204 vpg_inst = eng_id; in dcn321_stream_encoder_create() 1205 afmt_inst = eng_id; in dcn321_stream_encoder_create() 1229 eng_id, vpg, afmt, in dcn321_stream_encoder_create() 1230 &stream_enc_regs[eng_id], in dcn321_stream_encoder_create() 1237 enum engine_id eng_id, in dcn321_hpo_dp_stream_encoder_create() argument 1247 ASSERT((eng_id >= ENGINE_ID_HPO_DP_0) && (eng_id <= ENGINE_ID_HPO_DP_3)); in dcn321_hpo_dp_stream_encoder_create() 1248 hpo_dp_inst = eng_id - ENGINE_ID_HPO_DP_0; in dcn321_hpo_dp_stream_encoder_create() 1286 hpo_dp_inst, eng_id, vpg, apg, in dcn321_hpo_dp_stream_encoder_create()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn20/ |
A D | dcn20_stream_encoder.c | 646 enum engine_id eng_id, in dcn20_stream_encoder_construct() argument 653 enc1->base.id = eng_id; in dcn20_stream_encoder_construct() 658 enc1->base.stream_enc_inst = eng_id - ENGINE_ID_DIGA; in dcn20_stream_encoder_construct()
|
A D | dcn20_resource.h | 67 enum engine_id eng_id,
|
A D | dcn20_stream_encoder.h | 94 enum engine_id eng_id,
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/link/ |
A D | link_factory.c | 127 link->dc->res_pool->link_encoders[link->eng_id - ENGINE_ID_DIGA] = NULL; in link_destruct() 373 link->eng_id = link->link_enc->preferred_engine; in dc_link_construct_phy() 374 link->dc->res_pool->link_encoders[link->eng_id - ENGINE_ID_DIGA] = link->link_enc; in dc_link_construct_phy()
|
A D | link_dpms.c | 214 enum engine_id eng_id, in get_ext_hdmi_settings() argument 233 switch (eng_id) { in get_ext_hdmi_settings() 1965 enum engine_id eng_id; in enable_link_hdmi() local 1982 eng_id = pipe_ctx->stream_res.stream_enc->id; in enable_link_hdmi() 1984 if (get_ext_hdmi_settings(pipe_ctx, eng_id, &settings)) { in enable_link_hdmi() 2278 enum engine_id eng_id = pipe_ctx->stream_res.stream_enc->id; in link_set_dpms_off() local 2289 if (get_ext_hdmi_settings(pipe_ctx, eng_id, &settings)) in link_set_dpms_off()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn32/ |
A D | dcn32_resource.c | 1207 enum engine_id eng_id, in dcn32_stream_encoder_create() argument 1217 if (eng_id <= ENGINE_ID_DIGF) { in dcn32_stream_encoder_create() 1218 vpg_inst = eng_id; in dcn32_stream_encoder_create() 1219 afmt_inst = eng_id; in dcn32_stream_encoder_create() 1243 eng_id, vpg, afmt, in dcn32_stream_encoder_create() 1244 &stream_enc_regs[eng_id], in dcn32_stream_encoder_create() 1251 enum engine_id eng_id, in dcn32_hpo_dp_stream_encoder_create() argument 1261 ASSERT((eng_id >= ENGINE_ID_HPO_DP_0) && (eng_id <= ENGINE_ID_HPO_DP_3)); in dcn32_hpo_dp_stream_encoder_create() 1262 hpo_dp_inst = eng_id - ENGINE_ID_HPO_DP_0; in dcn32_hpo_dp_stream_encoder_create() 1300 hpo_dp_inst, eng_id, vpg, apg, in dcn32_hpo_dp_stream_encoder_create()
|
A D | dcn32_dio_stream_encoder.c | 505 enum engine_id eng_id, in dcn32_dio_stream_encoder_construct() argument 514 enc1->base.id = eng_id; in dcn32_dio_stream_encoder_construct()
|
/linux-6.3-rc2/drivers/net/phy/mscc/ |
A D | mscc_ptp.c | 964 u8 eng_id = base ? 0 : 1; in vsc85xx_ts_engine_init() local 972 val &= ~(PTP_ANALYZER_MODE_EGR_ENA(BIT(eng_id)) | in vsc85xx_ts_engine_init() 973 PTP_ANALYZER_MODE_INGR_ENA(BIT(eng_id))); in vsc85xx_ts_engine_init() 1010 val &= ~PTP_ANALYZER_MODE_EGR_ENA(BIT(eng_id)); in vsc85xx_ts_engine_init() 1012 val |= PTP_ANALYZER_MODE_EGR_ENA(BIT(eng_id)); in vsc85xx_ts_engine_init() 1014 val &= ~PTP_ANALYZER_MODE_INGR_ENA(BIT(eng_id)); in vsc85xx_ts_engine_init() 1016 val |= PTP_ANALYZER_MODE_INGR_ENA(BIT(eng_id)); in vsc85xx_ts_engine_init()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn303/ |
A D | dcn303_resource.c | 375 static struct stream_encoder *dcn303_stream_encoder_create(enum engine_id eng_id, struct dc_context… in dcn303_stream_encoder_create() argument 384 if (eng_id <= ENGINE_ID_DIGB) { in dcn303_stream_encoder_create() 385 vpg_inst = eng_id; in dcn303_stream_encoder_create() 386 afmt_inst = eng_id; in dcn303_stream_encoder_create() 401 …_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, eng_id, vpg, afmt, &stream_enc_regs[eng_id], in dcn303_stream_encoder_create()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn302/ |
A D | dcn302_resource.c | 406 static struct stream_encoder *dcn302_stream_encoder_create(enum engine_id eng_id, struct dc_context… in dcn302_stream_encoder_create() argument 415 if (eng_id <= ENGINE_ID_DIGE) { in dcn302_stream_encoder_create() 416 vpg_inst = eng_id; in dcn302_stream_encoder_create() 417 afmt_inst = eng_id; in dcn302_stream_encoder_create() 432 …_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, eng_id, vpg, afmt, &stream_enc_regs[eng_id], in dcn302_stream_encoder_create()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn301/ |
A D | dcn301_resource.c | 998 static struct stream_encoder *dcn301_stream_encoder_create(enum engine_id eng_id, in dcn301_stream_encoder_create() argument 1008 if (eng_id <= ENGINE_ID_DIGF) { in dcn301_stream_encoder_create() 1009 vpg_inst = eng_id; in dcn301_stream_encoder_create() 1010 afmt_inst = eng_id; in dcn301_stream_encoder_create() 1026 eng_id, vpg, afmt, in dcn301_stream_encoder_create() 1027 &stream_enc_regs[eng_id], in dcn301_stream_encoder_create()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/inc/hw/ |
A D | link_encoder.h | 236 enum engine_id eng_id; member
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dce100/ |
A D | dce100_resource.c | 473 enum engine_id eng_id, in dce100_stream_encoder_create() argument 482 dce110_stream_encoder_construct(enc110, ctx, ctx->dc_bios, eng_id, in dce100_stream_encoder_create() 483 &stream_enc_regs[eng_id], &se_shift, &se_mask); in dce100_stream_encoder_create()
|