/drivers/gpu/drm/tegra/ |
D | output.c | 32 else if (output->ddc) in tegra_output_connector_get_modes() 33 edid = drm_get_edid(connector, output->ddc); in tegra_output_connector_get_modes() 104 struct device_node *ddc, *panel; in tegra_output_probe() local 121 ddc = of_parse_phandle(output->of_node, "nvidia,ddc-i2c-bus", 0); in tegra_output_probe() 122 if (ddc) { in tegra_output_probe() 123 output->ddc = of_find_i2c_adapter_by_node(ddc); in tegra_output_probe() 124 if (!output->ddc) { in tegra_output_probe() 126 of_node_put(ddc); in tegra_output_probe() 130 of_node_put(ddc); in tegra_output_probe() 187 if (output->ddc) in tegra_output_remove() [all …]
|
D | drm.h | 208 struct i2c_adapter *ddc; member
|
/drivers/gpu/drm/ |
D | drm_dp_helper.c | 766 aux->ddc.algo = &drm_dp_i2c_algo; in drm_dp_aux_register() 767 aux->ddc.algo_data = aux; in drm_dp_aux_register() 768 aux->ddc.retries = 3; in drm_dp_aux_register() 770 aux->ddc.class = I2C_CLASS_DDC; in drm_dp_aux_register() 771 aux->ddc.owner = THIS_MODULE; in drm_dp_aux_register() 772 aux->ddc.dev.parent = aux->dev; in drm_dp_aux_register() 773 aux->ddc.dev.of_node = aux->dev->of_node; in drm_dp_aux_register() 775 strlcpy(aux->ddc.name, aux->name ? aux->name : dev_name(aux->dev), in drm_dp_aux_register() 776 sizeof(aux->ddc.name)); in drm_dp_aux_register() 778 return i2c_add_adapter(&aux->ddc); in drm_dp_aux_register() [all …]
|
D | drm_dp_mst_topology.c | 1172 port->cached_edid = drm_get_edid(port->connector, &port->aux.ddc); in drm_dp_add_port() 2437 port->cached_edid = drm_get_edid(connector, &port->aux.ddc); in drm_dp_mst_detect_port() 2473 edid = drm_get_edid(connector, &port->aux.ddc); in drm_dp_mst_get_edid() 3099 aux->ddc.algo = &drm_dp_mst_i2c_algo; in drm_dp_mst_register_i2c_bus() 3100 aux->ddc.algo_data = aux; in drm_dp_mst_register_i2c_bus() 3101 aux->ddc.retries = 3; in drm_dp_mst_register_i2c_bus() 3103 aux->ddc.class = I2C_CLASS_DDC; in drm_dp_mst_register_i2c_bus() 3104 aux->ddc.owner = THIS_MODULE; in drm_dp_mst_register_i2c_bus() 3105 aux->ddc.dev.parent = aux->dev; in drm_dp_mst_register_i2c_bus() 3106 aux->ddc.dev.of_node = aux->dev->of_node; in drm_dp_mst_register_i2c_bus() [all …]
|
/drivers/gpu/drm/panel/ |
D | panel-simple.c | 82 struct i2c_adapter *ddc; member 238 if (p->ddc) { in panel_simple_get_modes() 239 struct edid *edid = drm_get_edid(panel->connector, p->ddc); in panel_simple_get_modes() 281 struct device_node *backlight, *ddc; in panel_simple_probe() local 314 ddc = of_parse_phandle(dev->of_node, "ddc-i2c-bus", 0); in panel_simple_probe() 315 if (ddc) { in panel_simple_probe() 316 panel->ddc = of_find_i2c_adapter_by_node(ddc); in panel_simple_probe() 317 of_node_put(ddc); in panel_simple_probe() 319 if (!panel->ddc) { in panel_simple_probe() 338 if (panel->ddc) in panel_simple_probe() [all …]
|
/drivers/gpu/drm/vc4/ |
D | vc4_hdmi.c | 46 struct i2c_adapter *ddc; member 197 edid = drm_get_edid(connector, vc4->hdmi->ddc); in vc4_hdmi_connector_get_modes() 482 hdmi->ddc = of_find_i2c_adapter_by_node(ddc_node); in vc4_hdmi_bind() 483 if (!hdmi->ddc) { in vc4_hdmi_bind() 540 put_device(&vc4->hdmi->ddc->dev); in vc4_hdmi_bind() 557 put_device(&hdmi->ddc->dev); in vc4_hdmi_unbind()
|
/drivers/gpu/drm/i915/ |
D | intel_sdvo.c | 74 struct i2c_adapter ddc; member 1621 return drm_get_edid(connector, &sdvo->ddc); in intel_sdvo_get_edid() 1645 u8 ddc, saved_ddc = intel_sdvo->ddc_bus; in intel_sdvo_tmds_sink_detect() local 1651 for (ddc = intel_sdvo->ddc_bus >> 1; ddc > 1; ddc >>= 1) { in intel_sdvo_tmds_sink_detect() 1652 intel_sdvo->ddc_bus = ddc; in intel_sdvo_tmds_sink_detect() 1937 intel_ddc_get_modes(connector, &intel_sdvo->ddc); in intel_sdvo_get_lvds_modes() 2197 i2c_del_adapter(&intel_sdvo->ddc); in intel_sdvo_enc_destroy() 2351 sdvo_encoder->ddc.dev.kobj.name); in intel_sdvo_connector_unregister() 2385 &encoder->ddc.dev.kobj, in intel_sdvo_connector_init() 2386 encoder->ddc.dev.kobj.name); in intel_sdvo_connector_init() [all …]
|
D | intel_dp.c | 1092 &intel_dp->aux.ddc.dev.kobj, in intel_dp_aux_init() 1093 intel_dp->aux.ddc.dev.kobj.name); in intel_dp_aux_init() 1107 intel_dp->aux.ddc.dev.kobj.name); in intel_dp_connector_unregister() 4484 if (drm_probe_ddc(&intel_dp->aux.ddc)) in intel_dp_detect_dpcd() 4715 &intel_dp->aux.ddc); in intel_dp_get_edid() 5902 edid = drm_get_edid(connector, &intel_dp->aux.ddc); in intel_edp_init_connector()
|
/drivers/gpu/drm/gma500/ |
D | psb_intel_sdvo.c | 73 struct i2c_adapter ddc; member 1304 return drm_get_edid(connector, &sdvo->ddc); in psb_intel_sdvo_get_edid() 1327 u8 ddc, saved_ddc = psb_intel_sdvo->ddc_bus; in psb_intel_sdvo_hdmi_sink_detect() local 1333 for (ddc = psb_intel_sdvo->ddc_bus >> 1; ddc > 1; ddc >>= 1) { in psb_intel_sdvo_hdmi_sink_detect() 1334 psb_intel_sdvo->ddc_bus = ddc; in psb_intel_sdvo_hdmi_sink_detect() 1862 i2c_del_adapter(&psb_intel_sdvo->ddc); in psb_intel_sdvo_enc_destroy() 2496 sdvo->ddc.owner = THIS_MODULE; in psb_intel_sdvo_init_ddc_proxy() 2497 sdvo->ddc.class = I2C_CLASS_DDC; in psb_intel_sdvo_init_ddc_proxy() 2498 snprintf(sdvo->ddc.name, I2C_NAME_SIZE, "SDVO DDC proxy"); in psb_intel_sdvo_init_ddc_proxy() 2499 sdvo->ddc.dev.parent = &dev->pdev->dev; in psb_intel_sdvo_init_ddc_proxy() [all …]
|
/drivers/gpu/drm/sti/ |
D | sti_hdmi.c | 785 struct device_node *ddc; in sti_hdmi_probe() local 794 ddc = of_parse_phandle(pdev->dev.of_node, "ddc", 0); in sti_hdmi_probe() 795 if (ddc) { in sti_hdmi_probe() 796 hdmi->ddc_adapt = of_get_i2c_adapter_by_node(ddc); in sti_hdmi_probe() 797 of_node_put(ddc); in sti_hdmi_probe()
|
/drivers/gpu/drm/imx/ |
D | imx-tve.c | 118 struct i2c_adapter *ddc; member 235 if (!tve->ddc) in imx_tve_connector_get_modes() 238 edid = drm_get_edid(connector, tve->ddc); in imx_tve_connector_get_modes() 584 tve->ddc = of_find_i2c_adapter_by_node(ddc_node); in imx_tve_bind()
|
/drivers/gpu/drm/bridge/ |
D | dw_hdmi.c | 125 struct i2c_adapter *ddc; member 1450 if (!hdmi->ddc) in dw_hdmi_connector_get_modes() 1453 edid = drm_get_edid(connector, hdmi->ddc); in dw_hdmi_connector_get_modes() 1709 hdmi->ddc = of_find_i2c_adapter_by_node(ddc_node); in dw_hdmi_bind() 1711 if (!hdmi->ddc) { in dw_hdmi_bind() 1840 i2c_put_adapter(hdmi->ddc); in dw_hdmi_unbind()
|
/drivers/gpu/drm/radeon/ |
D | radeon_combios.c | 416 enum radeon_combios_ddc ddc, in combios_setup_i2c_bus() argument 445 switch (ddc) { in combios_setup_i2c_bus() 470 ddc = DDC_DVI; in combios_setup_i2c_bus() 479 ddc = DDC_DVI; in combios_setup_i2c_bus() 486 ddc = DDC_MONID; in combios_setup_i2c_bus() 632 i2c.i2c_id = ddc; in combios_setup_i2c_bus()
|
D | radeon_i2c.c | 67 ret = i2c_transfer(&radeon_connector->ddc_bus->aux.ddc, msgs, 2); in radeon_ddc_probe()
|
D | radeon_connectors.c | 327 &radeon_connector->ddc_bus->aux.ddc); in radeon_connector_get_edid() 336 &radeon_connector->ddc_bus->aux.ddc); in radeon_connector_get_edid()
|
/drivers/gpu/drm/nouveau/ |
D | nv50_display.c | 2277 struct i2c_adapter *ddc; in nv50_pior_create() local 2285 ddc = bus ? &bus->i2c : NULL; in nv50_pior_create() 2290 ddc = aux ? &aux->i2c : NULL; in nv50_pior_create() 2302 nv_encoder->i2c = ddc; in nv50_pior_create()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_display.c | 485 ret = i2c_transfer(&amdgpu_connector->ddc_bus->aux.ddc, msgs, 2); in amdgpu_ddc_probe()
|
D | amdgpu_connectors.c | 312 &amdgpu_connector->ddc_bus->aux.ddc); in amdgpu_connector_get_edid() 321 &amdgpu_connector->ddc_bus->aux.ddc); in amdgpu_connector_get_edid()
|
/drivers/pinctrl/ |
D | pinctrl-tegra20.c | 2064 MUX_PG(ddc, I2C2, RSVD2, RSVD3, RSVD4, 0x18, 31, 0x88, 0, 0xb0, 28), 2206 DRV_PG(ddc, 0x8f0),
|
D | pinctrl-tegra114.c | 1817 DRV_PINGROUP(ddc, 0x8fc, 2, 3, -1, 12, 5, 20, 5, 28, 2, 30, 2, N),
|
D | pinctrl-tegra124.c | 2024 DRV_PINGROUP(ddc, 0x8fc, 2, 3, 4, 12, 5, 20, 5, 28, 2, 30, 2, N),
|
D | pinctrl-tegra30.c | 2445 DRV_PINGROUP(ddc, 0x8fc, 2, 3, 4, 12, 5, 20, 5, 28, 2, 30, 2),
|
/drivers/gpu/drm/msm/edp/ |
D | edp_ctrl.c | 1251 ctrl->edid = drm_get_edid(connector, &ctrl->drm_aux->ddc); in msm_edp_ctrl_get_panel_info()
|