/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/ |
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 107 if (eng_id != ENGINE_ID_UNKNOWN) { in remove_link_enc_assignment() 108 eng_idx = eng_id - ENGINE_ID_DIGA; in remove_link_enc_assignment() 121 if (get_stream_using_link_enc(state, eng_id) == NULL) in remove_link_enc_assignment() 122 state->res_ctx.link_enc_cfg_ctx.link_enc_avail[eng_idx] = eng_id; in remove_link_enc_assignment() 125 state->res_ctx.link_enc_cfg_ctx.link_enc_assignments[i].eng_id = ENGINE_ID_UNKNOWN; in remove_link_enc_assignment() 137 enum engine_id eng_id) in add_link_enc_assignment() argument 142 if (eng_id != ENGINE_ID_UNKNOWN) { in add_link_enc_assignment() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/ |
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);
|
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.1.9/drivers/gpu/drm/amd/display/dc/dcn314/ |
D | dcn314_resource.c | 1152 struct dc_context *ctx, enum engine_id eng_id) in dcn31_link_enc_create_minimal() argument 1156 if ((eng_id - ENGINE_ID_DIGA) > ctx->dc->res_pool->res_cap->num_dig_link_enc) in dcn31_link_enc_create_minimal() 1167 &link_enc_regs[eng_id - ENGINE_ID_DIGA], in dcn31_link_enc_create_minimal() 1168 eng_id); in dcn31_link_enc_create_minimal() 1256 enum engine_id eng_id, in dcn314_stream_encoder_create() argument 1266 if (eng_id < ENGINE_ID_DIGF) { in dcn314_stream_encoder_create() 1267 vpg_inst = eng_id; in dcn314_stream_encoder_create() 1268 afmt_inst = eng_id; in dcn314_stream_encoder_create() 1284 eng_id, vpg, afmt, in dcn314_stream_encoder_create() 1285 &stream_enc_regs[eng_id], in dcn314_stream_encoder_create() [all …]
|
D | dcn314_dio_stream_encoder.c | 469 enum engine_id eng_id, in dcn314_dio_stream_encoder_construct() argument 478 enc1->base.id = eng_id; in dcn314_dio_stream_encoder_construct()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn315/ |
D | dcn315_resource.c | 1122 struct dc_context *ctx, enum engine_id eng_id) in dcn31_link_enc_create_minimal() argument 1126 if ((eng_id - ENGINE_ID_DIGA) > ctx->dc->res_pool->res_cap->num_dig_link_enc) in dcn31_link_enc_create_minimal() 1137 &link_enc_regs[eng_id - ENGINE_ID_DIGA], in dcn31_link_enc_create_minimal() 1138 eng_id); in dcn31_link_enc_create_minimal() 1226 enum engine_id eng_id, in dcn315_stream_encoder_create() argument 1238 if (eng_id <= ENGINE_ID_DIGF) { in dcn315_stream_encoder_create() 1239 vpg_inst = eng_id; in dcn315_stream_encoder_create() 1240 afmt_inst = eng_id; in dcn315_stream_encoder_create() 1256 eng_id, vpg, afmt, in dcn315_stream_encoder_create() 1257 &stream_enc_regs[eng_id], in dcn315_stream_encoder_create() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn316/ |
D | dcn316_resource.c | 1121 struct dc_context *ctx, enum engine_id eng_id) in dcn31_link_enc_create_minimal() argument 1125 if ((eng_id - ENGINE_ID_DIGA) > ctx->dc->res_pool->res_cap->num_dig_link_enc) in dcn31_link_enc_create_minimal() 1136 &link_enc_regs[eng_id - ENGINE_ID_DIGA], in dcn31_link_enc_create_minimal() 1137 eng_id); in dcn31_link_enc_create_minimal() 1227 enum engine_id eng_id, in dcn316_stream_encoder_create() argument 1237 if (eng_id <= ENGINE_ID_DIGF) { in dcn316_stream_encoder_create() 1238 vpg_inst = eng_id; in dcn316_stream_encoder_create() 1239 afmt_inst = eng_id; in dcn316_stream_encoder_create() 1255 eng_id, vpg, afmt, in dcn316_stream_encoder_create() 1256 &stream_enc_regs[eng_id], in dcn316_stream_encoder_create() [all …]
|
/linux-6.1.9/drivers/crypto/ |
D | sa2ul.c | 687 void sa_set_swinfo(u8 eng_id, u16 sc_id, dma_addr_t sc_phys, in sa_set_swinfo() argument 696 swinfo[0] |= FIELD_PREP(SA_SW0_ENG_ID_MASK, eng_id); in sa_set_swinfo() 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() [all …]
|
D | sa2ul.h | 403 u8 eng_id; member
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn31/ |
D | dcn31_resource.c | 1126 struct dc_context *ctx, enum engine_id eng_id) in dcn31_link_enc_create_minimal() argument 1130 if ((eng_id - ENGINE_ID_DIGA) > ctx->dc->res_pool->res_cap->num_dig_link_enc) in dcn31_link_enc_create_minimal() 1141 &link_enc_regs[eng_id - ENGINE_ID_DIGA], in dcn31_link_enc_create_minimal() 1142 eng_id); in dcn31_link_enc_create_minimal() 1230 enum engine_id eng_id, in dcn31_stream_encoder_create() argument 1240 if (eng_id <= ENGINE_ID_DIGF) { in dcn31_stream_encoder_create() 1241 vpg_inst = eng_id; in dcn31_stream_encoder_create() 1242 afmt_inst = eng_id; in dcn31_stream_encoder_create() 1258 eng_id, vpg, afmt, in dcn31_stream_encoder_create() 1259 &stream_enc_regs[eng_id], in dcn31_stream_encoder_create() [all …]
|
D | dcn31_hpo_dp_stream_encoder.c | 742 enum engine_id eng_id, in dcn31_hpo_dp_stream_encoder_construct() argument 752 enc3->base.id = eng_id; in dcn31_hpo_dp_stream_encoder_construct()
|
D | dcn31_dio_link_encoder.c | 403 enum engine_id eng_id) in dcn31_link_encoder_construct_minimal() argument 412 enc10->base.preferred_engine = eng_id; in dcn31_link_encoder_construct_minimal()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_stream_encoder.c | 628 enum engine_id eng_id, in dcn20_stream_encoder_construct() argument 635 enc1->base.id = eng_id; in dcn20_stream_encoder_construct() 640 enc1->base.stream_enc_inst = eng_id - ENGINE_ID_DIGA; in dcn20_stream_encoder_construct()
|
D | dcn20_resource.h | 67 enum engine_id eng_id,
|
D | dcn20_stream_encoder.h | 94 enum engine_id eng_id,
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn321/ |
D | dcn321_resource.c | 1191 enum engine_id eng_id, in dcn321_stream_encoder_create() argument 1201 if (eng_id <= ENGINE_ID_DIGF) { in dcn321_stream_encoder_create() 1202 vpg_inst = eng_id; in dcn321_stream_encoder_create() 1203 afmt_inst = eng_id; in dcn321_stream_encoder_create() 1227 eng_id, vpg, afmt, in dcn321_stream_encoder_create() 1228 &stream_enc_regs[eng_id], in dcn321_stream_encoder_create() 1235 enum engine_id eng_id, in dcn321_hpo_dp_stream_encoder_create() argument 1245 ASSERT((eng_id >= ENGINE_ID_HPO_DP_0) && (eng_id <= ENGINE_ID_HPO_DP_3)); in dcn321_hpo_dp_stream_encoder_create() 1246 hpo_dp_inst = eng_id - ENGINE_ID_HPO_DP_0; in dcn321_hpo_dp_stream_encoder_create() 1284 hpo_dp_inst, eng_id, vpg, apg, in dcn321_hpo_dp_stream_encoder_create()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn32/ |
D | dcn32_dio_stream_encoder.c | 475 enum engine_id eng_id, in dcn32_dio_stream_encoder_construct() argument 484 enc1->base.id = eng_id; in dcn32_dio_stream_encoder_construct()
|
D | dcn32_resource.c | 1205 enum engine_id eng_id, in dcn32_stream_encoder_create() argument 1215 if (eng_id <= ENGINE_ID_DIGF) { in dcn32_stream_encoder_create() 1216 vpg_inst = eng_id; in dcn32_stream_encoder_create() 1217 afmt_inst = eng_id; in dcn32_stream_encoder_create() 1241 eng_id, vpg, afmt, in dcn32_stream_encoder_create() 1242 &stream_enc_regs[eng_id], in dcn32_stream_encoder_create() 1249 enum engine_id eng_id, in dcn32_hpo_dp_stream_encoder_create() argument 1259 ASSERT((eng_id >= ENGINE_ID_HPO_DP_0) && (eng_id <= ENGINE_ID_HPO_DP_3)); in dcn32_hpo_dp_stream_encoder_create() 1260 hpo_dp_inst = eng_id - ENGINE_ID_HPO_DP_0; in dcn32_hpo_dp_stream_encoder_create() 1298 hpo_dp_inst, eng_id, vpg, apg, in dcn32_hpo_dp_stream_encoder_create()
|
/linux-6.1.9/drivers/net/phy/mscc/ |
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.1.9/drivers/gpu/drm/amd/display/dc/dcn302/ |
D | dcn302_resource.c | 397 static struct stream_encoder *dcn302_stream_encoder_create(enum engine_id eng_id, struct dc_context… in dcn302_stream_encoder_create() argument 406 if (eng_id <= ENGINE_ID_DIGE) { in dcn302_stream_encoder_create() 407 vpg_inst = eng_id; in dcn302_stream_encoder_create() 408 afmt_inst = eng_id; in dcn302_stream_encoder_create() 423 …_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.1.9/drivers/gpu/drm/amd/display/dc/dcn303/ |
D | dcn303_resource.c | 367 static struct stream_encoder *dcn303_stream_encoder_create(enum engine_id eng_id, struct dc_context… in dcn303_stream_encoder_create() argument 376 if (eng_id <= ENGINE_ID_DIGB) { in dcn303_stream_encoder_create() 377 vpg_inst = eng_id; in dcn303_stream_encoder_create() 378 afmt_inst = eng_id; in dcn303_stream_encoder_create() 393 …_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.1.9/drivers/gpu/drm/amd/display/dc/dcn301/ |
D | dcn301_resource.c | 997 static struct stream_encoder *dcn301_stream_encoder_create(enum engine_id eng_id, in dcn301_stream_encoder_create() argument 1007 if (eng_id <= ENGINE_ID_DIGF) { in dcn301_stream_encoder_create() 1008 vpg_inst = eng_id; in dcn301_stream_encoder_create() 1009 afmt_inst = eng_id; in dcn301_stream_encoder_create() 1025 eng_id, vpg, afmt, in dcn301_stream_encoder_create() 1026 &stream_enc_regs[eng_id], in dcn301_stream_encoder_create()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | link_encoder.h | 236 enum engine_id eng_id; member
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce100/ |
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()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_dio_stream_encoder.c | 842 enum engine_id eng_id, in dcn30_dio_stream_encoder_construct() argument 851 enc1->base.id = eng_id; in dcn30_dio_stream_encoder_construct()
|