Searched refs:hpo_dp_link_enc_ref_cnts (Results 1 - 2 of 2) sorted by relevance

/openbsd-current/sys/dev/pci/drm/amd/display/dc/inc/
H A Dcore_types.h435 int hpo_dp_link_enc_ref_cnts[MAX_HPO_DP2_LINK_ENCODERS]; member in struct:resource_context
/openbsd-current/sys/dev/pci/drm/amd/display/dc/core/
H A Ddc_resource.c2231 if (res_ctx->hpo_dp_link_enc_ref_cnts[i] > 0 &&
2243 for (i = 0; i < ARRAY_SIZE(res_ctx->hpo_dp_link_enc_ref_cnts); i++)
2244 if (res_ctx->hpo_dp_link_enc_ref_cnts[i] == 0)
2247 return (i < ARRAY_SIZE(res_ctx->hpo_dp_link_enc_ref_cnts) &&
2257 res_ctx->hpo_dp_link_enc_ref_cnts[enc_index] = 1;
2264 res_ctx->hpo_dp_link_enc_ref_cnts[enc_index]++;
2271 ASSERT(res_ctx->hpo_dp_link_enc_ref_cnts[enc_index] > 0);
2272 res_ctx->hpo_dp_link_enc_ref_cnts[enc_index]--;

Completed in 93 milliseconds