Lines Matching full:ddc
83 dal_ddc_close(engine->ddc); in release_engine()
85 engine->ddc = NULL; in release_engine()
277 EVENT_LOG_AUX_REQ(engine->ddc->pin_data->en, EVENT_LOG_AUX_ORIGIN_NATIVE, in submit_channel_request()
400 struct ddc *ddc) in acquire() argument
407 result = dal_ddc_open(ddc, GPIO_MODE_HARDWARE, in acquire()
414 engine->ddc = ddc; in acquire()
419 engine->ddc = ddc; in acquire()
434 static uint32_t dce_aux_configure_timeout(struct ddc_service *ddc, in dce_aux_configure_timeout() argument
442 struct ddc *ddc_pin = ddc->ddc_pin; in dce_aux_configure_timeout()
443 struct dce_aux *aux_engine = ddc->ctx->dc->res_pool->engines[ddc_pin->pin_data->en]; in dce_aux_configure_timeout()
516 aux_engine110->base.ddc = NULL; in dce110_aux_engine_construct()
559 int dce_aux_transfer_raw(struct ddc_service *ddc, in dce_aux_transfer_raw() argument
563 struct ddc *ddc_pin = ddc->ddc_pin; in dce_aux_transfer_raw()
577 aux_engine = ddc->ctx->dc->res_pool->engines[ddc_pin->pin_data->en]; in dce_aux_transfer_raw()
604 EVENT_LOG_AUX_REP(aux_engine->ddc->pin_data->en, in dce_aux_transfer_raw()
616 int dce_aux_transfer_dmub_raw(struct ddc_service *ddc, in dce_aux_transfer_dmub_raw() argument
620 struct ddc *ddc_pin = ddc->ddc_pin; in dce_aux_transfer_dmub_raw()
623 struct dce_aux *aux_engine = ddc->ctx->dc->res_pool->engines[ddc_pin->pin_data->en]; in dce_aux_transfer_dmub_raw()
624 /* XXX: Workaround to configure ddc channels for aux transactions */ in dce_aux_transfer_dmub_raw()
632 return dm_helper_dmub_aux_transfer_sync(ddc->ctx, ddc->link, payload, operation_result); in dce_aux_transfer_dmub_raw()
695 bool dce_aux_transfer_with_retries(struct ddc_service *ddc, in dce_aux_transfer_with_retries() argument
703 struct ddc *ddc_pin = ddc->ddc_pin; in dce_aux_transfer_with_retries()
716 aux_engine = ddc->ctx->dc->res_pool->engines[ddc_pin->pin_data->en]; in dce_aux_transfer_with_retries()
729 ddc && ddc->link ? ddc->link->link_index : UINT_MAX, in dce_aux_transfer_with_retries()
740 if (ddc->ctx->dc->debug.enable_dmub_aux_for_legacy_ddc in dce_aux_transfer_with_retries()
741 || ddc->ddc_pin == NULL) { in dce_aux_transfer_with_retries()
742 ret = dce_aux_transfer_dmub_raw(ddc, payload, &operation_result); in dce_aux_transfer_with_retries()
744 ret = dce_aux_transfer_raw(ddc, payload, &operation_result); in dce_aux_transfer_with_retries()
750 ddc && ddc->link ? ddc->link->link_index : UINT_MAX, in dce_aux_transfer_with_retries()