Home
last modified time | relevance | path

Searched refs:ddc_service (Results 1 – 16 of 16) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/amd/display/dc/link/protocols/
Dlink_ddc.h40 struct ddc_service *link_create_ddc_service(
43 void link_destroy_ddc_service(struct ddc_service **ddc);
46 struct ddc_service *ddc,
49 uint32_t link_get_aux_defer_delay(struct ddc_service *ddc);
51 bool link_is_in_aux_transaction_mode(struct ddc_service *ddc);
53 bool try_to_configure_aux_timeout(struct ddc_service *ddc,
57 struct ddc_service *ddc,
72 bool link_aux_transfer_with_retries_no_mutex(struct ddc_service *ddc,
76 struct ddc_service *ddc,
81 struct ddc_service *ddc,
[all …]
Dlink_ddc.c110 struct ddc_service *ddc_service, in ddc_service_construct() argument
121 ddc_service->link = init_data->link; in ddc_service_construct()
122 ddc_service->ctx = init_data->ctx; in ddc_service_construct()
126 ddc_service->ddc_pin = NULL; in ddc_service_construct()
128 DC_LOGGER_INIT(ddc_service->ctx->logger); in ddc_service_construct()
133 if (ddc_service->link != NULL) in ddc_service_construct()
138 ddc_service->ddc_pin = dal_gpio_create_ddc( in ddc_service_construct()
145 ddc_service->flags.EDID_QUERY_DONE_ONCE = false; in ddc_service_construct()
146 ddc_service->flags.FORCE_READ_REPEATED_START = false; in ddc_service_construct()
147 ddc_service->flags.EDID_STRESS_READ = false; in ddc_service_construct()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/inc/
Dlink.h169 struct ddc_service *(*create_ddc_service)(
171 void (*destroy_ddc_service)(struct ddc_service **ddc);
173 struct ddc_service *ddc,
179 int (*aux_transfer_raw)(struct ddc_service *ddc,
183 struct ddc_service *ddc,
186 bool (*aux_transfer_with_retries_no_mutex)(struct ddc_service *ddc,
188 bool (*is_in_aux_transaction_mode)(struct ddc_service *ddc);
189 uint32_t (*get_aux_defer_delay)(struct ddc_service *ddc);
Dcore_types.h291 struct ddc_service *oem_device;
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce/
Ddce_aux.h303 int dce_aux_transfer_raw(struct ddc_service *ddc,
307 int dce_aux_transfer_dmub_raw(struct ddc_service *ddc,
310 bool dce_aux_transfer_with_retries(struct ddc_service *ddc,
315 (struct ddc_service *ddc,
Ddce_i2c.h35 struct ddc_service *ddc,
Ddce_i2c.c30 struct ddc_service *ddc, in dce_i2c_oem_device_present()
Ddce_aux.c434 static uint32_t dce_aux_configure_timeout(struct ddc_service *ddc, in dce_aux_configure_timeout()
559 int dce_aux_transfer_raw(struct ddc_service *ddc, in dce_aux_transfer_raw()
616 int dce_aux_transfer_dmub_raw(struct ddc_service *ddc, in dce_aux_transfer_dmub_raw()
695 bool dce_aux_transfer_with_retries(struct ddc_service *ddc, in dce_aux_transfer_with_retries()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_mode.h511 struct ddc_service *ddc_service; member
517 struct ddc_service *ddc_service; member
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/link/
Dlink_detection.c261 static void read_scdc_caps(struct ddc_service *ddc_service, in read_scdc_caps() argument
267 link_query_ddc_data(ddc_service, slave_address, &offset, in read_scdc_caps()
273 link_query_ddc_data(ddc_service, slave_address, &offset, in read_scdc_caps()
279 struct ddc_service *ddc, in i2c_read()
315 struct ddc_service *ddc, in query_dp_dual_mode_adaptor()
446 static enum signal_type dp_passive_dongle_detection(struct ddc_service *ddc, in dp_passive_dongle_detection()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_exports.c162 struct ddc_service *ddc = link->ddc; in dc_submit_i2c()
174 struct ddc_service *ddc = dc->res_pool->oem_device; in dc_submit_i2c_oem()
278 int dc_link_aux_transfer_raw(struct ddc_service *ddc, in dc_link_aux_transfer_raw()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/
Ddc_ddc_types.h184 struct ddc_service { struct
Ddc.h1512 struct ddc_service *ddc;
1720 int dc_link_aux_transfer_raw(struct ddc_service *ddc,
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/inc/hw/
Daux_engine.h150 struct ddc_service *ddc,
/linux-6.6.21/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_mst_types.c58 struct ddc_service *ddc; in dm_dp_aux_transfer()
74 result = dc_link_aux_transfer_raw(TO_DM_AUX(aux)->ddc_service, &payload, in dm_dp_aux_transfer()
82 ddc = TO_DM_AUX(aux)->ddc_service; in dm_dp_aux_transfer()
748 aconnector->dm_dp_aux.ddc_service = aconnector->dc_link->ddc; in amdgpu_dm_initialize_dp_connector()
Damdgpu_dm.c7419 struct ddc_service *ddc_service = i2c->ddc_service; in amdgpu_dm_i2c_xfer() local
7424 if (!ddc_service->ddc_pin || !ddc_service->ddc_pin->hw_info.hw_supported) in amdgpu_dm_i2c_xfer()
7444 ddc_service->ctx->dc, in amdgpu_dm_i2c_xfer()
7445 ddc_service->link->link_index, in amdgpu_dm_i2c_xfer()
7464 create_i2c(struct ddc_service *ddc_service, in create_i2c() argument
7468 struct amdgpu_device *adev = ddc_service->ctx->driver_context; in create_i2c()
7480 i2c->ddc_service = ddc_service; in create_i2c()