/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_connectors.c | 295 amdgpu_connector->ddc_bus->has_aux) { in amdgpu_connector_get_edid() 297 &amdgpu_connector->ddc_bus->aux.ddc); in amdgpu_connector_get_edid() 304 amdgpu_connector->ddc_bus->has_aux) in amdgpu_connector_get_edid() 306 &amdgpu_connector->ddc_bus->aux.ddc); in amdgpu_connector_get_edid() 307 else if (amdgpu_connector->ddc_bus) in amdgpu_connector_get_edid() 309 &amdgpu_connector->ddc_bus->adapter); in amdgpu_connector_get_edid() 310 } else if (amdgpu_connector->ddc_bus) { in amdgpu_connector_get_edid() 312 &amdgpu_connector->ddc_bus->adapter); in amdgpu_connector_get_edid() 764 if (amdgpu_connector->ddc_bus && amdgpu_connector->ddc_bus->has_aux) { in amdgpu_connector_unregister() 765 drm_dp_aux_unregister(&amdgpu_connector->ddc_bus->aux); in amdgpu_connector_unregister() [all …]
|
D | atombios_dp.c | 190 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 …]
|
D | amdgpu_display.c | 388 if (amdgpu_connector->ddc_bus) { in amdgpu_display_print_display_setup() 390 amdgpu_connector->ddc_bus->rec.mask_clk_reg, in amdgpu_display_print_display_setup() 391 amdgpu_connector->ddc_bus->rec.mask_data_reg, in amdgpu_display_print_display_setup() 392 amdgpu_connector->ddc_bus->rec.a_clk_reg, in amdgpu_display_print_display_setup() 393 amdgpu_connector->ddc_bus->rec.a_data_reg, in amdgpu_display_print_display_setup() 394 amdgpu_connector->ddc_bus->rec.en_clk_reg, in amdgpu_display_print_display_setup() 395 amdgpu_connector->ddc_bus->rec.en_data_reg, in amdgpu_display_print_display_setup() 396 amdgpu_connector->ddc_bus->rec.y_clk_reg, in amdgpu_display_print_display_setup() 397 amdgpu_connector->ddc_bus->rec.y_data_reg); in amdgpu_display_print_display_setup() 475 ret = i2c_transfer(&amdgpu_connector->ddc_bus->aux.ddc, msgs, 2); in amdgpu_display_ddc_probe() [all …]
|
D | amdgpu_atombios.c | 306 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()
|
D | amdgpu_mode.h | 528 struct amdgpu_i2c_chan *ddc_bus; member
|
/linux-6.1.9/drivers/gpu/drm/radeon/ |
D | radeon_connectors.c | 289 radeon_connector->ddc_bus->has_aux) { in radeon_connector_get_edid() 291 &radeon_connector->ddc_bus->aux.ddc); in radeon_connector_get_edid() 298 radeon_connector->ddc_bus->has_aux) in radeon_connector_get_edid() 300 &radeon_connector->ddc_bus->aux.ddc); in radeon_connector_get_edid() 301 else if (radeon_connector->ddc_bus) in radeon_connector_get_edid() 303 &radeon_connector->ddc_bus->adapter); in radeon_connector_get_edid() 306 radeon_connector->ddc_bus) { in radeon_connector_get_edid() 308 &radeon_connector->ddc_bus->adapter); in radeon_connector_get_edid() 309 } else if (radeon_connector->ddc_bus) { in radeon_connector_get_edid() 311 &radeon_connector->ddc_bus->adapter); in radeon_connector_get_edid() [all …]
|
D | atombios_dp.c | 233 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 …]
|
D | radeon_display.c | 785 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()
|
D | radeon_atombios.c | 532 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 …]
|
D | radeon_i2c.c | 62 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()
|
D | radeon_mode.h | 522 struct radeon_i2c_chan *ddc_bus; member
|
/linux-6.1.9/drivers/gpu/drm/gma500/ |
D | cdv_intel_crt.c | 195 struct gma_i2c_chan *ddc_bus = to_gma_i2c_chan(connector->ddc); in cdv_intel_crt_destroy() local 197 gma_i2c_destroy(ddc_bus); in cdv_intel_crt_destroy() 246 struct gma_i2c_chan *ddc_bus; in cdv_intel_crt_init() local 260 ddc_bus = gma_i2c_create(dev, GPIOA, "CRTDDC_A"); in cdv_intel_crt_init() 261 if (!ddc_bus) { in cdv_intel_crt_init() 271 &ddc_bus->base); in cdv_intel_crt_init() 295 gma_i2c_destroy(ddc_bus); in cdv_intel_crt_init()
|
D | cdv_intel_hdmi.c | 244 struct gma_i2c_chan *ddc_bus = to_gma_i2c_chan(connector->ddc); in cdv_hdmi_destroy() local 246 gma_i2c_destroy(ddc_bus); in cdv_hdmi_destroy() 280 struct gma_i2c_chan *ddc_bus; in cdv_hdmi_init() local 315 ddc_bus = gma_i2c_create(dev, ddc_reg, in cdv_hdmi_init() 317 if (!ddc_bus) { in cdv_hdmi_init() 325 &ddc_bus->base); in cdv_hdmi_init() 357 gma_i2c_destroy(ddc_bus); in cdv_hdmi_init()
|
D | psb_intel_lvds.c | 515 struct gma_i2c_chan *ddc_bus = to_gma_i2c_chan(connector->ddc); in psb_intel_lvds_destroy() local 517 gma_i2c_destroy(ddc_bus); in psb_intel_lvds_destroy() 631 struct gma_i2c_chan *ddc_bus; in psb_intel_lvds_init() local 662 ddc_bus = gma_i2c_create(dev, GPIOC, "LVDSDDC_C"); in psb_intel_lvds_init() 663 if (!ddc_bus) { in psb_intel_lvds_init() 672 &ddc_bus->base); in psb_intel_lvds_init() 726 psb_intel_ddc_get_modes(connector, &ddc_bus->base); in psb_intel_lvds_init() 792 gma_i2c_destroy(ddc_bus); in psb_intel_lvds_init()
|
D | cdv_intel_lvds.c | 483 struct gma_i2c_chan *ddc_bus; in cdv_intel_lvds_init() local 520 ddc_bus = gma_i2c_create(dev, GPIOC, "LVDSDDC_C"); in cdv_intel_lvds_init() 521 if (!ddc_bus) { in cdv_intel_lvds_init() 530 &ddc_bus->base); in cdv_intel_lvds_init() 584 psb_intel_ddc_get_modes(connector, &ddc_bus->base); in cdv_intel_lvds_init() 655 gma_i2c_destroy(ddc_bus); in cdv_intel_lvds_init()
|
D | oaktrail_lvds.c | 296 struct gma_i2c_chan *ddc_bus; in oaktrail_lvds_init() local 368 ddc_bus = oaktrail_lvds_i2c_init(dev); in oaktrail_lvds_init() 369 if (!IS_ERR(ddc_bus)) { in oaktrail_lvds_init() 370 i2c_adap = &ddc_bus->base; in oaktrail_lvds_init()
|
D | psb_intel_sdvo.c | 133 uint8_t ddc_bus; member 578 u8 ddc_bus) in psb_intel_sdvo_set_control_bus_switch() argument 583 &ddc_bus, 1); in psb_intel_sdvo_set_control_bus_switch() 1256 u8 ddc, saved_ddc = psb_intel_sdvo->ddc_bus; in psb_intel_sdvo_hdmi_sink_detect() 1262 for (ddc = psb_intel_sdvo->ddc_bus >> 1; ddc > 1; ddc >>= 1) { in psb_intel_sdvo_hdmi_sink_detect() 1263 psb_intel_sdvo->ddc_bus = ddc; in psb_intel_sdvo_hdmi_sink_detect() 1273 psb_intel_sdvo->ddc_bus = saved_ddc; in psb_intel_sdvo_hdmi_sink_detect() 1805 sdvo->ddc_bus = 2; in psb_intel_sdvo_guess_ddc_bus() 1838 sdvo->ddc_bus = 1 << num_bits; in psb_intel_sdvo_guess_ddc_bus() 1861 sdvo->ddc_bus = 1 << ((mapping->ddc_pin & 0xf0) >> 4); in psb_intel_sdvo_select_ddc_bus() [all …]
|
/linux-6.1.9/drivers/video/fbdev/intelfb/ |
D | intelfb_i2c.c | 147 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()
|
D | intelfb.h | 263 struct intelfb_i2c_chan ddc_bus; member
|
/linux-6.1.9/drivers/gpu/drm/i915/display/ |
D | intel_hdmi.c | 1257 adapter = intel_gmbus_get_adapter(dev_priv, hdmi->ddc_bus); in intel_dp_dual_mode_set_tmds_output() 1271 hdmi->ddc_bus); in intel_hdmi_hdcp_read() 1300 hdmi->ddc_bus); in intel_hdmi_hdcp_write() 1334 hdmi->ddc_bus); in intel_hdmi_hdcp_write_an_aksv() 2364 intel_gmbus_get_adapter(dev_priv, hdmi->ddc_bus); in intel_hdmi_dp_dual_mode_detect() 2426 i2c = intel_gmbus_get_adapter(dev_priv, intel_hdmi->ddc_bus); in intel_hdmi_set_edid() 2529 return intel_gmbus_get_adapter(dev_priv, intel_hdmi->ddc_bus); in intel_hdmi_get_i2c_adapter() 2644 intel_gmbus_get_adapter(dev_priv, intel_hdmi->ddc_bus); in intel_hdmi_handle_sink_scrambling() 2950 intel_hdmi->ddc_bus = intel_hdmi_ddc_pin(intel_encoder); in intel_hdmi_init_connector() 2951 ddc = intel_gmbus_get_adapter(dev_priv, intel_hdmi->ddc_bus); in intel_hdmi_init_connector()
|
D | intel_sdvo.c | 122 u8 ddc_bus; member 630 u8 ddc_bus) in __intel_sdvo_set_control_bus_switch() argument 635 &ddc_bus, 1, false); in __intel_sdvo_set_control_bus_switch() 2034 u8 ddc, saved_ddc = intel_sdvo->ddc_bus; in intel_sdvo_tmds_sink_detect() 2040 for (ddc = intel_sdvo->ddc_bus >> 1; ddc > 1; ddc >>= 1) { in intel_sdvo_tmds_sink_detect() 2041 intel_sdvo->ddc_bus = ddc; in intel_sdvo_tmds_sink_detect() 2051 intel_sdvo->ddc_bus = saved_ddc; in intel_sdvo_tmds_sink_detect() 2567 sdvo->ddc_bus = 1 << num_bits; in intel_sdvo_guess_ddc_bus() 2589 sdvo->ddc_bus = 1 << ((mapping->ddc_pin & 0xf0) >> 4); in intel_sdvo_select_ddc_bus() 3241 if (!__intel_sdvo_set_control_bus_switch(sdvo, sdvo->ddc_bus)) in intel_sdvo_ddc_proxy_xfer()
|
D | intel_display_types.h | 1509 int ddc_bus; member
|
D | intel_ddi.c | 3878 intel_gmbus_get_adapter(dev_priv, hdmi->ddc_bus); in intel_hdmi_reset_link()
|