Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/radeon/
H A Dradeon_connectors.c273 radeon_connector->ddc_bus->has_aux) { in radeon_connector_get_edid()
275 &radeon_connector->ddc_bus->aux.ddc); in radeon_connector_get_edid()
282 radeon_connector->ddc_bus->has_aux) in radeon_connector_get_edid()
284 &radeon_connector->ddc_bus->aux.ddc); in radeon_connector_get_edid()
285 else if (radeon_connector->ddc_bus) in radeon_connector_get_edid()
287 &radeon_connector->ddc_bus->adapter); in radeon_connector_get_edid()
290 radeon_connector->ddc_bus) { in radeon_connector_get_edid()
292 &radeon_connector->ddc_bus->adapter); in radeon_connector_get_edid()
293 } else if (radeon_connector->ddc_bus) { in radeon_connector_get_edid()
295 &radeon_connector->ddc_bus->adapter); in radeon_connector_get_edid()
[all …]
H A Datombios_dp.c232 radeon_connector->ddc_bus->rec.hpd = radeon_connector->hpd.hpd; in radeon_dp_aux_init()
233 radeon_connector->ddc_bus->aux.drm_dev = radeon_connector->base.dev; in radeon_dp_aux_init()
236 radeon_connector->ddc_bus->aux.transfer = radeon_dp_aux_transfer_native; in radeon_dp_aux_init()
238 radeon_connector->ddc_bus->aux.transfer = radeon_dp_aux_transfer_atom; in radeon_dp_aux_init()
240 radeon_connector->ddc_bus->aux.transfer = radeon_dp_aux_transfer_atom; in radeon_dp_aux_init()
243 drm_dp_aux_init(&radeon_connector->ddc_bus->aux); in radeon_dp_aux_init()
244 radeon_connector->ddc_bus->has_aux = true; in radeon_dp_aux_init()
362 radeon_connector->ddc_bus->rec.i2c_id, 0); in radeon_dp_getsinktype()
373 if (drm_dp_dpcd_read(&radeon_connector->ddc_bus->aux, DP_SINK_OUI, buf, 3) == 3) in radeon_dp_probe_oui()
377 if (drm_dp_dpcd_read(&radeon_connector->ddc_bus->aux, DP_BRANCH_OUI, buf, 3) == 3) in radeon_dp_probe_oui()
[all …]
H A Dradeon_display.c784 if (radeon_connector->ddc_bus) { in radeon_print_display_setup()
786 radeon_connector->ddc_bus->rec.mask_clk_reg, in radeon_print_display_setup()
787 radeon_connector->ddc_bus->rec.mask_data_reg, in radeon_print_display_setup()
788 radeon_connector->ddc_bus->rec.a_clk_reg, in radeon_print_display_setup()
789 radeon_connector->ddc_bus->rec.a_data_reg, in radeon_print_display_setup()
790 radeon_connector->ddc_bus->rec.en_clk_reg, in radeon_print_display_setup()
791 radeon_connector->ddc_bus->rec.en_data_reg, in radeon_print_display_setup()
792 radeon_connector->ddc_bus->rec.y_clk_reg, in radeon_print_display_setup()
793 radeon_connector->ddc_bus->rec.y_data_reg); in radeon_print_display_setup()
H A Dradeon_atombios.c533 struct radeon_i2c_bus_rec ddc_bus; in radeon_get_atom_connector_info_from_object_table() local
749 ddc_bus.valid = false; in radeon_get_atom_connector_info_from_object_table()
780 ddc_bus = radeon_lookup_i2c_gpio(rdev, in radeon_get_atom_connector_info_from_object_table()
807 ddc_bus.hpd = hpd.hpd; in radeon_get_atom_connector_info_from_object_table()
813 &ddc_bus, &conn_id, &hpd)) in radeon_get_atom_connector_info_from_object_table()
820 connector_type, &ddc_bus, in radeon_get_atom_connector_info_from_object_table()
880 struct radeon_i2c_bus_rec ddc_bus; member
960 bios_connectors[i].ddc_bus.valid = false; in radeon_get_atom_connector_info_from_supported_devices_table()
963 bios_connectors[i].ddc_bus.valid = false; in radeon_get_atom_connector_info_from_supported_devices_table()
966 bios_connectors[i].ddc_bus.valid = false; in radeon_get_atom_connector_info_from_supported_devices_table()
[all …]
H A 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()
H A Dradeon_mode.h521 struct radeon_i2c_chan *ddc_bus; member
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_connectors.c270 amdgpu_connector->ddc_bus->has_aux) { in amdgpu_connector_get_edid()
272 &amdgpu_connector->ddc_bus->aux.ddc); in amdgpu_connector_get_edid()
279 amdgpu_connector->ddc_bus->has_aux) in amdgpu_connector_get_edid()
281 &amdgpu_connector->ddc_bus->aux.ddc); in amdgpu_connector_get_edid()
282 else if (amdgpu_connector->ddc_bus) in amdgpu_connector_get_edid()
284 &amdgpu_connector->ddc_bus->adapter); in amdgpu_connector_get_edid()
285 } else if (amdgpu_connector->ddc_bus) { in amdgpu_connector_get_edid()
287 &amdgpu_connector->ddc_bus->adapter); in amdgpu_connector_get_edid()
752 if (amdgpu_connector->ddc_bus && amdgpu_connector->ddc_bus->has_aux) { in amdgpu_connector_unregister()
753 drm_dp_aux_unregister(&amdgpu_connector->ddc_bus->aux); in amdgpu_connector_unregister()
[all …]
H A 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 …]
H A Damdgpu_display.c426 if (amdgpu_connector->ddc_bus) { in amdgpu_display_print_display_setup()
428 amdgpu_connector->ddc_bus->rec.mask_clk_reg, in amdgpu_display_print_display_setup()
429 amdgpu_connector->ddc_bus->rec.mask_data_reg, in amdgpu_display_print_display_setup()
430 amdgpu_connector->ddc_bus->rec.a_clk_reg, in amdgpu_display_print_display_setup()
431 amdgpu_connector->ddc_bus->rec.a_data_reg, in amdgpu_display_print_display_setup()
432 amdgpu_connector->ddc_bus->rec.en_clk_reg, in amdgpu_display_print_display_setup()
433 amdgpu_connector->ddc_bus->rec.en_data_reg, in amdgpu_display_print_display_setup()
434 amdgpu_connector->ddc_bus->rec.y_clk_reg, in amdgpu_display_print_display_setup()
435 amdgpu_connector->ddc_bus->rec.y_data_reg); in amdgpu_display_print_display_setup()
513 ret = i2c_transfer(&amdgpu_connector->ddc_bus->aux.ddc, msgs, 2); in amdgpu_display_ddc_probe()
[all …]
H A 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()
H A Damdgpu_mode.h620 struct amdgpu_i2c_chan *ddc_bus; member
/linux/drivers/gpu/drm/gma500/
H A 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()
H A 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()
H A Dpsb_intel_lvds.c520 struct gma_i2c_chan *ddc_bus = to_gma_i2c_chan(connector->ddc); in psb_intel_lvds_destroy() local
522 gma_i2c_destroy(ddc_bus); in psb_intel_lvds_destroy()
636 struct gma_i2c_chan *ddc_bus; in psb_intel_lvds_init() local
667 ddc_bus = gma_i2c_create(dev, GPIOC, "LVDSDDC_C"); in psb_intel_lvds_init()
668 if (!ddc_bus) { in psb_intel_lvds_init()
677 &ddc_bus->base); in psb_intel_lvds_init()
731 psb_intel_ddc_get_modes(connector, &ddc_bus->base); in psb_intel_lvds_init()
797 gma_i2c_destroy(ddc_bus); in psb_intel_lvds_init()
H A Dcdv_intel_lvds.c488 struct gma_i2c_chan *ddc_bus; in cdv_intel_lvds_init() local
525 ddc_bus = gma_i2c_create(dev, GPIOC, "LVDSDDC_C"); in cdv_intel_lvds_init()
526 if (!ddc_bus) { in cdv_intel_lvds_init()
535 &ddc_bus->base); in cdv_intel_lvds_init()
589 psb_intel_ddc_get_modes(connector, &ddc_bus->base); in cdv_intel_lvds_init()
660 gma_i2c_destroy(ddc_bus); in cdv_intel_lvds_init()
H A Doaktrail_lvds.c295 struct gma_i2c_chan *ddc_bus; in oaktrail_lvds_init() local
367 ddc_bus = oaktrail_lvds_i2c_init(dev); in oaktrail_lvds_init()
368 if (!IS_ERR(ddc_bus)) { in oaktrail_lvds_init()
369 i2c_adap = &ddc_bus->base; in oaktrail_lvds_init()
H A 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/drivers/gpu/drm/i915/display/
H A Dintel_sdvo.c92 u8 ddc_bus; member
632 u8 ddc_bus) in __intel_sdvo_set_control_bus_switch() argument
637 &ddc_bus, 1, false); in __intel_sdvo_set_control_bus_switch()
2552 if (sdvo->ddc[i].ddc_bus) in intel_sdvo_encoder_destroy()
2620 int ddc_bus; in intel_sdvo_select_ddc_bus() local
2628 ddc_bus = (mapping->ddc_pin & 0xf0) >> 4; in intel_sdvo_select_ddc_bus()
2630 ddc_bus = intel_sdvo_guess_ddc_bus(sdvo, connector); in intel_sdvo_select_ddc_bus()
2632 if (ddc_bus < 1 || ddc_bus > 3) in intel_sdvo_select_ddc_bus()
2635 return &sdvo->ddc[ddc_bus - 1]; in intel_sdvo_select_ddc_bus()
3295 if (!__intel_sdvo_set_control_bus_switch(sdvo, 1 << ddc->ddc_bus)) in intel_sdvo_ddc_proxy_xfer()
[all …]