Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/radeon/
Dradeon_connectors.c288 radeon_connector->ddc_bus->has_aux) { in radeon_connector_get_edid()
290 &radeon_connector->ddc_bus->aux.ddc); in radeon_connector_get_edid()
297 radeon_connector->ddc_bus->has_aux) in radeon_connector_get_edid()
299 &radeon_connector->ddc_bus->aux.ddc); in radeon_connector_get_edid()
300 else if (radeon_connector->ddc_bus) in radeon_connector_get_edid()
302 &radeon_connector->ddc_bus->adapter); in radeon_connector_get_edid()
305 radeon_connector->ddc_bus) { in radeon_connector_get_edid()
307 &radeon_connector->ddc_bus->adapter); in radeon_connector_get_edid()
308 } else if (radeon_connector->ddc_bus) { in radeon_connector_get_edid()
310 &radeon_connector->ddc_bus->adapter); in radeon_connector_get_edid()
[all …]
Datombios_dp.c233 radeon_connector->ddc_bus->rec.hpd = radeon_connector->hpd.hpd; in radeon_dp_aux_init()
234 radeon_connector->ddc_bus->aux.dev = radeon_connector->base.kdev; in radeon_dp_aux_init()
235 radeon_connector->ddc_bus->aux.drm_dev = radeon_connector->base.dev; in radeon_dp_aux_init()
238 radeon_connector->ddc_bus->aux.transfer = radeon_dp_aux_transfer_native; in radeon_dp_aux_init()
240 radeon_connector->ddc_bus->aux.transfer = radeon_dp_aux_transfer_atom; in radeon_dp_aux_init()
242 radeon_connector->ddc_bus->aux.transfer = radeon_dp_aux_transfer_atom; in radeon_dp_aux_init()
245 ret = drm_dp_aux_register(&radeon_connector->ddc_bus->aux); in radeon_dp_aux_init()
247 radeon_connector->ddc_bus->has_aux = true; in radeon_dp_aux_init()
367 radeon_connector->ddc_bus->rec.i2c_id, 0); in radeon_dp_getsinktype()
378 if (drm_dp_dpcd_read(&radeon_connector->ddc_bus->aux, DP_SINK_OUI, buf, 3) == 3) in radeon_dp_probe_oui()
[all …]
Dradeon_display.c785 if (radeon_connector->ddc_bus) { in radeon_print_display_setup()
787 radeon_connector->ddc_bus->rec.mask_clk_reg, in radeon_print_display_setup()
788 radeon_connector->ddc_bus->rec.mask_data_reg, in radeon_print_display_setup()
789 radeon_connector->ddc_bus->rec.a_clk_reg, in radeon_print_display_setup()
790 radeon_connector->ddc_bus->rec.a_data_reg, in radeon_print_display_setup()
791 radeon_connector->ddc_bus->rec.en_clk_reg, in radeon_print_display_setup()
792 radeon_connector->ddc_bus->rec.en_data_reg, in radeon_print_display_setup()
793 radeon_connector->ddc_bus->rec.y_clk_reg, in radeon_print_display_setup()
794 radeon_connector->ddc_bus->rec.y_data_reg); in radeon_print_display_setup()
Dradeon_atombios.c532 struct radeon_i2c_bus_rec ddc_bus; in radeon_get_atom_connector_info_from_object_table() local
748 ddc_bus.valid = false; in radeon_get_atom_connector_info_from_object_table()
779 ddc_bus = radeon_lookup_i2c_gpio(rdev, in radeon_get_atom_connector_info_from_object_table()
806 ddc_bus.hpd = hpd.hpd; in radeon_get_atom_connector_info_from_object_table()
812 &ddc_bus, &conn_id, &hpd)) in radeon_get_atom_connector_info_from_object_table()
819 connector_type, &ddc_bus, in radeon_get_atom_connector_info_from_object_table()
879 struct radeon_i2c_bus_rec ddc_bus; member
955 bios_connectors[i].ddc_bus.valid = false; in radeon_get_atom_connector_info_from_supported_devices_table()
958 bios_connectors[i].ddc_bus.valid = false; in radeon_get_atom_connector_info_from_supported_devices_table()
961 bios_connectors[i].ddc_bus.valid = false; in radeon_get_atom_connector_info_from_supported_devices_table()
[all …]
Dradeon_i2c.c62 ret = i2c_transfer(&radeon_connector->ddc_bus->aux.ddc, msgs, 2); in radeon_ddc_probe()
64 ret = i2c_transfer(&radeon_connector->ddc_bus->adapter, msgs, 2); in radeon_ddc_probe()
Dradeon_mode.h518 struct radeon_i2c_chan *ddc_bus; member
/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/
Damdgpu_connectors.c296 amdgpu_connector->ddc_bus->has_aux) { in amdgpu_connector_get_edid()
298 &amdgpu_connector->ddc_bus->aux.ddc); in amdgpu_connector_get_edid()
305 amdgpu_connector->ddc_bus->has_aux) in amdgpu_connector_get_edid()
307 &amdgpu_connector->ddc_bus->aux.ddc); in amdgpu_connector_get_edid()
308 else if (amdgpu_connector->ddc_bus) in amdgpu_connector_get_edid()
310 &amdgpu_connector->ddc_bus->adapter); in amdgpu_connector_get_edid()
311 } else if (amdgpu_connector->ddc_bus) { in amdgpu_connector_get_edid()
313 &amdgpu_connector->ddc_bus->adapter); in amdgpu_connector_get_edid()
774 if (amdgpu_connector->ddc_bus && amdgpu_connector->ddc_bus->has_aux) { in amdgpu_connector_unregister()
775 drm_dp_aux_unregister(&amdgpu_connector->ddc_bus->aux); in amdgpu_connector_unregister()
[all …]
Datombios_dp.c190 amdgpu_connector->ddc_bus->rec.hpd = amdgpu_connector->hpd.hpd; in amdgpu_atombios_dp_aux_init()
191 amdgpu_connector->ddc_bus->aux.transfer = amdgpu_atombios_dp_aux_transfer; in amdgpu_atombios_dp_aux_init()
192 amdgpu_connector->ddc_bus->aux.drm_dev = amdgpu_connector->base.dev; in amdgpu_atombios_dp_aux_init()
194 drm_dp_aux_init(&amdgpu_connector->ddc_bus->aux); in amdgpu_atombios_dp_aux_init()
195 amdgpu_connector->ddc_bus->has_aux = true; in amdgpu_atombios_dp_aux_init()
314 amdgpu_connector->ddc_bus->rec.i2c_id, 0); in amdgpu_atombios_dp_get_sinktype()
325 if (drm_dp_dpcd_read(&amdgpu_connector->ddc_bus->aux, DP_SINK_OUI, buf, 3) == 3) in amdgpu_atombios_dp_probe_oui()
329 if (drm_dp_dpcd_read(&amdgpu_connector->ddc_bus->aux, DP_BRANCH_OUI, buf, 3) == 3) in amdgpu_atombios_dp_probe_oui()
340 ret = drm_dp_dpcd_read(&amdgpu_connector->ddc_bus->aux, in amdgpu_atombios_dp_ds_ports()
356 ret = drm_dp_dpcd_read(&amdgpu_connector->ddc_bus->aux, DP_DPCD_REV, in amdgpu_atombios_dp_get_dpcd()
[all …]
Damdgpu_display.c428 if (amdgpu_connector->ddc_bus) { in amdgpu_display_print_display_setup()
430 amdgpu_connector->ddc_bus->rec.mask_clk_reg, in amdgpu_display_print_display_setup()
431 amdgpu_connector->ddc_bus->rec.mask_data_reg, in amdgpu_display_print_display_setup()
432 amdgpu_connector->ddc_bus->rec.a_clk_reg, in amdgpu_display_print_display_setup()
433 amdgpu_connector->ddc_bus->rec.a_data_reg, in amdgpu_display_print_display_setup()
434 amdgpu_connector->ddc_bus->rec.en_clk_reg, in amdgpu_display_print_display_setup()
435 amdgpu_connector->ddc_bus->rec.en_data_reg, in amdgpu_display_print_display_setup()
436 amdgpu_connector->ddc_bus->rec.y_clk_reg, in amdgpu_display_print_display_setup()
437 amdgpu_connector->ddc_bus->rec.y_data_reg); in amdgpu_display_print_display_setup()
515 ret = i2c_transfer(&amdgpu_connector->ddc_bus->aux.ddc, msgs, 2); in amdgpu_display_ddc_probe()
[all …]
Damdgpu_atombios.c306 struct amdgpu_i2c_bus_rec ddc_bus; in amdgpu_atombios_get_connector_info_from_object_table() local
471 ddc_bus.valid = false; in amdgpu_atombios_get_connector_info_from_object_table()
502 ddc_bus = amdgpu_atombios_lookup_i2c_gpio(adev, in amdgpu_atombios_get_connector_info_from_object_table()
529 ddc_bus.hpd = hpd.hpd; in amdgpu_atombios_get_connector_info_from_object_table()
536 connector_type, &ddc_bus, in amdgpu_atombios_get_connector_info_from_object_table()
Damdgpu_mode.h526 struct amdgpu_i2c_chan *ddc_bus; member
/Linux-v6.6/drivers/gpu/drm/gma500/
Dcdv_intel_crt.c197 struct gma_i2c_chan *ddc_bus = to_gma_i2c_chan(connector->ddc); in cdv_intel_crt_destroy() local
199 gma_i2c_destroy(ddc_bus); in cdv_intel_crt_destroy()
248 struct gma_i2c_chan *ddc_bus; in cdv_intel_crt_init() local
262 ddc_bus = gma_i2c_create(dev, GPIOA, "CRTDDC_A"); in cdv_intel_crt_init()
263 if (!ddc_bus) { in cdv_intel_crt_init()
273 &ddc_bus->base); in cdv_intel_crt_init()
297 gma_i2c_destroy(ddc_bus); in cdv_intel_crt_init()
Dcdv_intel_hdmi.c246 struct gma_i2c_chan *ddc_bus = to_gma_i2c_chan(connector->ddc); in cdv_hdmi_destroy() local
248 gma_i2c_destroy(ddc_bus); in cdv_hdmi_destroy()
282 struct gma_i2c_chan *ddc_bus; in cdv_hdmi_init() local
317 ddc_bus = gma_i2c_create(dev, ddc_reg, in cdv_hdmi_init()
319 if (!ddc_bus) { in cdv_hdmi_init()
327 &ddc_bus->base); in cdv_hdmi_init()
359 gma_i2c_destroy(ddc_bus); in cdv_hdmi_init()
Dpsb_intel_lvds.c517 struct gma_i2c_chan *ddc_bus = to_gma_i2c_chan(connector->ddc); in psb_intel_lvds_destroy() local
519 gma_i2c_destroy(ddc_bus); in psb_intel_lvds_destroy()
633 struct gma_i2c_chan *ddc_bus; in psb_intel_lvds_init() local
664 ddc_bus = gma_i2c_create(dev, GPIOC, "LVDSDDC_C"); in psb_intel_lvds_init()
665 if (!ddc_bus) { in psb_intel_lvds_init()
674 &ddc_bus->base); in psb_intel_lvds_init()
728 psb_intel_ddc_get_modes(connector, &ddc_bus->base); in psb_intel_lvds_init()
794 gma_i2c_destroy(ddc_bus); in psb_intel_lvds_init()
Dcdv_intel_lvds.c485 struct gma_i2c_chan *ddc_bus; in cdv_intel_lvds_init() local
522 ddc_bus = gma_i2c_create(dev, GPIOC, "LVDSDDC_C"); in cdv_intel_lvds_init()
523 if (!ddc_bus) { in cdv_intel_lvds_init()
532 &ddc_bus->base); in cdv_intel_lvds_init()
586 psb_intel_ddc_get_modes(connector, &ddc_bus->base); in cdv_intel_lvds_init()
657 gma_i2c_destroy(ddc_bus); in cdv_intel_lvds_init()
Doaktrail_lvds.c297 struct gma_i2c_chan *ddc_bus; in oaktrail_lvds_init() local
369 ddc_bus = oaktrail_lvds_i2c_init(dev); in oaktrail_lvds_init()
370 if (!IS_ERR(ddc_bus)) { in oaktrail_lvds_init()
371 i2c_adap = &ddc_bus->base; in oaktrail_lvds_init()
Dpsb_intel_sdvo.c135 uint8_t ddc_bus; member
580 u8 ddc_bus) in psb_intel_sdvo_set_control_bus_switch() argument
585 &ddc_bus, 1); in psb_intel_sdvo_set_control_bus_switch()
1258 u8 ddc, saved_ddc = psb_intel_sdvo->ddc_bus; in psb_intel_sdvo_hdmi_sink_detect()
1264 for (ddc = psb_intel_sdvo->ddc_bus >> 1; ddc > 1; ddc >>= 1) { in psb_intel_sdvo_hdmi_sink_detect()
1265 psb_intel_sdvo->ddc_bus = ddc; in psb_intel_sdvo_hdmi_sink_detect()
1275 psb_intel_sdvo->ddc_bus = saved_ddc; in psb_intel_sdvo_hdmi_sink_detect()
1807 sdvo->ddc_bus = 2; in psb_intel_sdvo_guess_ddc_bus()
1840 sdvo->ddc_bus = 1 << num_bits; in psb_intel_sdvo_guess_ddc_bus()
1863 sdvo->ddc_bus = 1 << ((mapping->ddc_pin & 0xf0) >> 4); in psb_intel_sdvo_select_ddc_bus()
[all …]
/Linux-v6.6/drivers/video/fbdev/intelfb/
Dintelfb_i2c.c147 intelfb_setup_i2c_bus(dinfo, &dinfo->output[i].ddc_bus, GPIOA, in intelfb_create_i2c_busses()
162 intelfb_setup_i2c_bus(dinfo, &dinfo->output[i].ddc_bus, in intelfb_create_i2c_busses()
204 if (dinfo->output[i].ddc_bus.dinfo) { in intelfb_delete_i2c_busses()
205 i2c_del_adapter(&dinfo->output[i].ddc_bus.adapter); in intelfb_delete_i2c_busses()
206 dinfo->output[i].ddc_bus.dinfo = NULL; in intelfb_delete_i2c_busses()
Dintelfb.h263 struct intelfb_i2c_chan ddc_bus; member
/Linux-v6.6/drivers/gpu/drm/i915/display/
Dintel_hdmi.c1248 adapter = intel_gmbus_get_adapter(dev_priv, hdmi->ddc_bus); in intel_dp_dual_mode_set_tmds_output()
1262 hdmi->ddc_bus); in intel_hdmi_hdcp_read()
1291 hdmi->ddc_bus); in intel_hdmi_hdcp_write()
1325 hdmi->ddc_bus); in intel_hdmi_hdcp_write_an_aksv()
2404 intel_gmbus_get_adapter(dev_priv, hdmi->ddc_bus); in intel_hdmi_dp_dual_mode_detect()
2461 i2c = intel_gmbus_get_adapter(dev_priv, intel_hdmi->ddc_bus); in intel_hdmi_set_edid()
2562 return intel_gmbus_get_adapter(dev_priv, intel_hdmi->ddc_bus); in intel_hdmi_get_i2c_adapter()
2927 if (enc_to_dig_port(other)->hdmi.ddc_bus == ddc_pin) in get_encoder_by_ddc_pin()
3036 intel_hdmi->ddc_bus = intel_hdmi_ddc_pin(intel_encoder); in intel_hdmi_init_connector()
3037 if (!intel_hdmi->ddc_bus) in intel_hdmi_init_connector()
[all …]
Dintel_sdvo.c121 u8 ddc_bus; member
629 u8 ddc_bus) in __intel_sdvo_set_control_bus_switch() argument
634 &ddc_bus, 1, false); in __intel_sdvo_set_control_bus_switch()
2068 u8 ddc, saved_ddc = intel_sdvo->ddc_bus; in intel_sdvo_tmds_sink_detect()
2074 for (ddc = intel_sdvo->ddc_bus >> 1; ddc > 1; ddc >>= 1) { in intel_sdvo_tmds_sink_detect()
2075 intel_sdvo->ddc_bus = ddc; in intel_sdvo_tmds_sink_detect()
2085 intel_sdvo->ddc_bus = saved_ddc; in intel_sdvo_tmds_sink_detect()
2593 sdvo->ddc_bus = 1 << num_bits; in intel_sdvo_guess_ddc_bus()
2615 sdvo->ddc_bus = 1 << ((mapping->ddc_pin & 0xf0) >> 4); in intel_sdvo_select_ddc_bus()
3255 if (!__intel_sdvo_set_control_bus_switch(sdvo, sdvo->ddc_bus)) in intel_sdvo_ddc_proxy_xfer()
Dintel_display_types.h1584 int ddc_bus; member
Dintel_ddi.c4327 intel_gmbus_get_adapter(dev_priv, hdmi->ddc_bus); in intel_hdmi_reset_link()