Home
last modified time | relevance | path

Searched refs:enc1 (Results 1 – 23 of 23) sorted by relevance

/linux/drivers/gpu/drm/amd/display/dc/resource/dcn303/
H A Ddcn303_resource.c383 struct dcn10_stream_encoder *enc1; in dcn303_stream_encoder_create() local
396 enc1 = kzalloc_obj(struct dcn10_stream_encoder); in dcn303_stream_encoder_create()
400 if (!enc1 || !vpg || !afmt) { in dcn303_stream_encoder_create()
401 kfree(enc1); in dcn303_stream_encoder_create()
407 …dcn30_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, eng_id, vpg, afmt, &stream_enc_regs[en… in dcn303_stream_encoder_create()
410 return &enc1->base; in dcn303_stream_encoder_create()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn302/
H A Ddcn302_resource.c396 struct dcn10_stream_encoder *enc1; in dcn302_stream_encoder_create() local
409 enc1 = kzalloc_obj(struct dcn10_stream_encoder); in dcn302_stream_encoder_create()
413 if (!enc1 || !vpg || !afmt) { in dcn302_stream_encoder_create()
414 kfree(enc1); in dcn302_stream_encoder_create()
420 …dcn30_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, eng_id, vpg, afmt, &stream_enc_regs[en… in dcn302_stream_encoder_create()
423 return &enc1->base; in dcn302_stream_encoder_create()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn301/
H A Ddcn301_resource.c986 struct dcn10_stream_encoder *enc1; in dcn301_stream_encoder_create() local
999 enc1 = kzalloc_obj(struct dcn10_stream_encoder); in dcn301_stream_encoder_create()
1003 if (!enc1 || !vpg || !afmt || eng_id >= ARRAY_SIZE(stream_enc_regs)) { in dcn301_stream_encoder_create()
1004 kfree(enc1); in dcn301_stream_encoder_create()
1010 dcn30_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, in dcn301_stream_encoder_create()
1015 return &enc1->base; in dcn301_stream_encoder_create()
/linux/drivers/gpu/drm/amd/display/dc/dio/dcn20/
H A Ddcn20_stream_encoder.h91 struct dcn10_stream_encoder *enc1,
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn201/
H A Ddcn201_resource.c859 struct dcn10_stream_encoder *enc1 = in dcn201_stream_encoder_create() local
862 if (!enc1) in dcn201_stream_encoder_create()
865 dcn20_stream_encoder_construct(enc1, ctx, ctx->dc_bios, eng_id, in dcn201_stream_encoder_create()
869 return &enc1->base; in dcn201_stream_encoder_create()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn316/
H A Ddcn316_resource.c1217 struct dcn10_stream_encoder *enc1; in dcn316_stream_encoder_create() local
1230 enc1 = kzalloc_obj(struct dcn10_stream_encoder); in dcn316_stream_encoder_create()
1234 if (!enc1 || !vpg || !afmt) { in dcn316_stream_encoder_create()
1235 kfree(enc1); in dcn316_stream_encoder_create()
1241 dcn30_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, in dcn316_stream_encoder_create()
1246 return &enc1->base; in dcn316_stream_encoder_create()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn314/
H A Ddcn314_resource.c1281 struct dcn10_stream_encoder *enc1; in dcn314_stream_encoder_create() local
1294 enc1 = kzalloc_obj(struct dcn10_stream_encoder); in dcn314_stream_encoder_create()
1298 if (!enc1 || !vpg || !afmt) { in dcn314_stream_encoder_create()
1299 kfree(enc1); in dcn314_stream_encoder_create()
1305 dcn314_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, in dcn314_stream_encoder_create()
1310 return &enc1->base; in dcn314_stream_encoder_create()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn315/
H A Ddcn315_resource.c1222 struct dcn10_stream_encoder *enc1; in dcn315_stream_encoder_create() local
1237 enc1 = kzalloc_obj(struct dcn10_stream_encoder); in dcn315_stream_encoder_create()
1241 if (!enc1 || !vpg || !afmt) { in dcn315_stream_encoder_create()
1242 kfree(enc1); in dcn315_stream_encoder_create()
1248 dcn30_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, in dcn315_stream_encoder_create()
1253 return &enc1->base; in dcn315_stream_encoder_create()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn31/
H A Ddcn31_resource.c1223 struct dcn10_stream_encoder *enc1; in dcn31_stream_encoder_create() local
1236 enc1 = kzalloc_obj(struct dcn10_stream_encoder); in dcn31_stream_encoder_create()
1240 if (!enc1 || !vpg || !afmt) { in dcn31_stream_encoder_create()
1241 kfree(enc1); in dcn31_stream_encoder_create()
1247 dcn30_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, in dcn31_stream_encoder_create()
1252 return &enc1->base; in dcn31_stream_encoder_create()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn36/
H A Ddcn36_resource.c1256 struct dcn10_stream_encoder *enc1; in dcn35_stream_encoder_create() local
1269 enc1 = kzalloc_obj(struct dcn10_stream_encoder); in dcn35_stream_encoder_create()
1273 if (!enc1 || !vpg || !afmt) { in dcn35_stream_encoder_create()
1274 kfree(enc1); in dcn35_stream_encoder_create()
1288 dcn35_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, in dcn35_stream_encoder_create()
1293 return &enc1->base; in dcn35_stream_encoder_create()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn35/
H A Ddcn35_resource.c1269 struct dcn10_stream_encoder *enc1; in dcn35_stream_encoder_create() local
1282 enc1 = kzalloc_obj(struct dcn10_stream_encoder); in dcn35_stream_encoder_create()
1286 if (!enc1 || !vpg || !afmt) { in dcn35_stream_encoder_create()
1287 kfree(enc1); in dcn35_stream_encoder_create()
1301 dcn35_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, in dcn35_stream_encoder_create()
1306 return &enc1->base; in dcn35_stream_encoder_create()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn351/
H A Ddcn351_resource.c1249 struct dcn10_stream_encoder *enc1; in dcn35_stream_encoder_create() local
1262 enc1 = kzalloc_obj(struct dcn10_stream_encoder); in dcn35_stream_encoder_create()
1266 if (!enc1 || !vpg || !afmt) { in dcn35_stream_encoder_create()
1267 kfree(enc1); in dcn35_stream_encoder_create()
1281 dcn35_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, in dcn35_stream_encoder_create()
1286 return &enc1->base; in dcn35_stream_encoder_create()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn321/
H A Ddcn321_resource.c1186 struct dcn10_stream_encoder *enc1; in dcn321_stream_encoder_create() local
1199 enc1 = kzalloc_obj(struct dcn10_stream_encoder); in dcn321_stream_encoder_create()
1203 if (!enc1 || !vpg || !afmt) { in dcn321_stream_encoder_create()
1204 kfree(enc1); in dcn321_stream_encoder_create()
1218 dcn32_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, in dcn321_stream_encoder_create()
1223 return &enc1->base; in dcn321_stream_encoder_create()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn10/
H A Ddcn10_resource.c821 struct dcn10_stream_encoder *enc1 = in dcn10_stream_encoder_create() local
824 if (!enc1) in dcn10_stream_encoder_create()
827 dcn10_stream_encoder_construct(enc1, ctx, ctx->dc_bios, eng_id, in dcn10_stream_encoder_create()
830 return &enc1->base; in dcn10_stream_encoder_create()
/linux/drivers/gpu/drm/amd/display/dc/dio/dcn10/
H A Ddcn10_stream_encoder.h629 struct dcn10_stream_encoder *enc1,
638 struct dcn10_stream_encoder *enc1,
725 struct dcn10_stream_encoder *enc1,
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn21/
H A Ddcn21_resource.c1142 struct dcn10_stream_encoder *enc1 = in dcn21_stream_encoder_create() local
1145 if (!enc1) in dcn21_stream_encoder_create()
1148 dcn20_stream_encoder_construct(enc1, ctx, ctx->dc_bios, eng_id, in dcn21_stream_encoder_create()
1152 return &enc1->base; in dcn21_stream_encoder_create()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn401/
H A Ddcn401_resource.c1211 struct dcn10_stream_encoder *enc1; in dcn401_stream_encoder_create() local
1224 enc1 = kzalloc_obj(struct dcn10_stream_encoder); in dcn401_stream_encoder_create()
1228 if (!enc1 || !vpg || !afmt || eng_id >= ARRAY_SIZE(stream_enc_regs)) { in dcn401_stream_encoder_create()
1229 kfree(enc1); in dcn401_stream_encoder_create()
1242 dcn401_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, in dcn401_stream_encoder_create()
1246 return &enc1->base; in dcn401_stream_encoder_create()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn30/
H A Ddcn30_resource.c1015 struct dcn10_stream_encoder *enc1; in dcn30_stream_encoder_create() local
1028 enc1 = kzalloc_obj(struct dcn10_stream_encoder); in dcn30_stream_encoder_create()
1032 if (!enc1 || !vpg || !afmt) { in dcn30_stream_encoder_create()
1033 kfree(enc1); in dcn30_stream_encoder_create()
1039 dcn30_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, in dcn30_stream_encoder_create()
1044 return &enc1->base; in dcn30_stream_encoder_create()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/
H A Ddcn32_resource.c1205 struct dcn10_stream_encoder *enc1; in dcn32_stream_encoder_create() local
1218 enc1 = kzalloc_obj(struct dcn10_stream_encoder); in dcn32_stream_encoder_create()
1222 if (!enc1 || !vpg || !afmt) { in dcn32_stream_encoder_create()
1223 kfree(enc1); in dcn32_stream_encoder_create()
1237 dcn32_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, in dcn32_stream_encoder_create()
1242 return &enc1->base; in dcn32_stream_encoder_create()
/linux/drivers/gpu/drm/amd/display/dc/dio/dcn32/
H A Ddcn32_dio_stream_encoder.h188 struct dcn10_stream_encoder *enc1,
/linux/drivers/gpu/drm/amd/display/dc/dio/dcn35/
H A Ddcn35_dio_stream_encoder.h276 struct dcn10_stream_encoder *enc1,
/linux/drivers/gpu/drm/amd/display/dc/dio/dcn314/
H A Ddcn314_dio_stream_encoder.h266 struct dcn10_stream_encoder *enc1,
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn20/
H A Ddcn20_resource.c1001 struct dcn10_stream_encoder *enc1 = in dcn20_stream_encoder_create() local
1004 if (!enc1) in dcn20_stream_encoder_create()
1012 dcn20_stream_encoder_construct(enc1, ctx, ctx->dc_bios, eng_id, in dcn20_stream_encoder_create()
1016 return &enc1->base; in dcn20_stream_encoder_create()