Home
last modified time | relevance | path

Searched refs:apg (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn31/
Ddcn31_apg.h30 #define DCN31_APG_FROM_APG(apg)\ argument
31 container_of(apg, struct dcn31_apg, base)
71 struct apg { struct
80 struct apg *apg); argument
83 struct apg *apg,
88 struct apg *apg,
92 struct apg *apg);
95 struct apg *apg);
101 struct apg base;
Ddcn31_apg.c48 struct apg *apg) in apg31_enable() argument
50 struct dcn31_apg *apg31 = DCN31_APG_FROM_APG(apg); in apg31_enable()
67 struct apg *apg) in apg31_disable() argument
69 struct dcn31_apg *apg31 = DCN31_APG_FROM_APG(apg); in apg31_disable()
110 struct apg *apg, in apg31_se_audio_setup() argument
114 struct dcn31_apg *apg31 = DCN31_APG_FROM_APG(apg); in apg31_se_audio_setup()
138 apg31_enable(apg); in apg31_se_audio_setup()
142 struct apg *apg, in apg31_audio_mute_control() argument
146 apg31_disable(apg); in apg31_audio_mute_control()
148 apg31_enable(apg); in apg31_audio_mute_control()
Ddcn31_hpo_dp_stream_encoder.c607 ASSERT(enc->apg); in dcn31_hpo_dp_stream_enc_mute_control()
608 enc->apg->funcs->audio_mute_control(enc->apg, mute); in dcn31_hpo_dp_stream_enc_mute_control()
622 ASSERT(enc->apg); in dcn31_hpo_dp_stream_enc_audio_setup()
623 enc->apg->funcs->se_audio_setup(enc->apg, az_inst, info); in dcn31_hpo_dp_stream_enc_audio_setup()
644 enc->apg->funcs->enable_apg(enc->apg); in dcn31_hpo_dp_stream_enc_audio_enable()
665 enc->apg->funcs->disable_apg(enc->apg); in dcn31_hpo_dp_stream_enc_audio_disable()
744 struct apg *apg, in dcn31_hpo_dp_stream_encoder_construct() argument
755 enc3->base.apg = apg; in dcn31_hpo_dp_stream_encoder_construct()
Ddcn31_hpo_dp_stream_encoder.h239 struct apg *apg,
Ddcn31_resource.c1212 static struct apg *dcn31_apg_create( in dcn31_apg_create()
1271 struct apg *apg; in dcn31_hpo_dp_stream_encoder_create() local
1298 apg = dcn31_apg_create(ctx, apg_inst); in dcn31_hpo_dp_stream_encoder_create()
1300 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
1303 kfree(apg); in dcn31_hpo_dp_stream_encoder_create()
1308 hpo_dp_inst, eng_id, vpg, apg, in dcn31_hpo_dp_stream_encoder_create()
1394 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn31_resource_destruct()
1395 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn31_resource_destruct()
1396 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn31_resource_destruct()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/hw/
Dstream_encoder.h277 struct apg *apg; member
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn314/
Ddcn314_resource.c1238 static struct apg *dcn31_apg_create( in dcn31_apg_create()
1297 struct apg *apg; in dcn31_hpo_dp_stream_encoder_create() local
1325 apg = dcn31_apg_create(ctx, apg_inst); in dcn31_hpo_dp_stream_encoder_create()
1327 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
1330 kfree(apg); in dcn31_hpo_dp_stream_encoder_create()
1335 hpo_dp_inst, eng_id, vpg, apg, in dcn31_hpo_dp_stream_encoder_create()
1421 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn314_resource_destruct()
1422 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn314_resource_destruct()
1423 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn314_resource_destruct()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn315/
Ddcn315_resource.c1208 static struct apg *dcn31_apg_create( in dcn31_apg_create()
1269 struct apg *apg; in dcn31_hpo_dp_stream_encoder_create() local
1296 apg = dcn31_apg_create(ctx, apg_inst); in dcn31_hpo_dp_stream_encoder_create()
1298 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
1301 kfree(apg); in dcn31_hpo_dp_stream_encoder_create()
1306 hpo_dp_inst, eng_id, vpg, apg, in dcn31_hpo_dp_stream_encoder_create()
1392 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn315_resource_destruct()
1393 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn315_resource_destruct()
1394 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn315_resource_destruct()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn316/
Ddcn316_resource.c1208 static struct apg *dcn31_apg_create( in dcn31_apg_create()
1269 struct apg *apg; in dcn31_hpo_dp_stream_encoder_create() local
1296 apg = dcn31_apg_create(ctx, apg_inst); in dcn31_hpo_dp_stream_encoder_create()
1298 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
1301 kfree(apg); in dcn31_hpo_dp_stream_encoder_create()
1306 hpo_dp_inst, eng_id, vpg, apg, in dcn31_hpo_dp_stream_encoder_create()
1393 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn316_resource_destruct()
1394 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn316_resource_destruct()
1395 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn316_resource_destruct()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn321/
Ddcn321_resource.c1166 static struct apg *dcn321_apg_create( in dcn321_apg_create()
1240 struct apg *apg; in dcn321_hpo_dp_stream_encoder_create() local
1267 apg = dcn321_apg_create(ctx, apg_inst); in dcn321_hpo_dp_stream_encoder_create()
1269 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn321_hpo_dp_stream_encoder_create()
1272 kfree(apg); in dcn321_hpo_dp_stream_encoder_create()
1284 hpo_dp_inst, eng_id, vpg, apg, in dcn321_hpo_dp_stream_encoder_create()
1372 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn321_resource_destruct()
1373 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn321_resource_destruct()
1374 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn321_resource_destruct()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_resource.c1180 static struct apg *dcn31_apg_create( in dcn31_apg_create()
1254 struct apg *apg; in dcn32_hpo_dp_stream_encoder_create() local
1281 apg = dcn31_apg_create(ctx, apg_inst); in dcn32_hpo_dp_stream_encoder_create()
1283 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn32_hpo_dp_stream_encoder_create()
1286 kfree(apg); in dcn32_hpo_dp_stream_encoder_create()
1298 hpo_dp_inst, eng_id, vpg, apg, in dcn32_hpo_dp_stream_encoder_create()
1386 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn32_resource_destruct()
1387 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn32_resource_destruct()
1388 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn32_resource_destruct()