Lines Matching refs:ddc_bus
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()
766 amdgpu_connector->ddc_bus->has_aux = false; in amdgpu_connector_unregister()
879 if (amdgpu_connector->ddc_bus) in amdgpu_connector_vga_detect()
1005 if (amdgpu_connector->ddc_bus) in amdgpu_connector_dvi_detect()
1048 (list_amdgpu_connector->ddc_bus->rec.i2c_id == in amdgpu_connector_dvi_detect()
1049 amdgpu_connector->ddc_bus->rec.i2c_id)) { in amdgpu_connector_dvi_detect()
1494 if (amdgpu_connector->ddc_bus->has_aux) { in amdgpu_connector_late_register()
1495 amdgpu_connector->ddc_bus->aux.dev = amdgpu_connector->base.kdev; in amdgpu_connector_late_register()
1496 r = drm_dp_aux_register(&amdgpu_connector->ddc_bus->aux); in amdgpu_connector_late_register()
1565 if (amdgpu_connector->ddc_bus && i2c_bus->valid) { in amdgpu_connector_add()
1566 if (amdgpu_connector->ddc_bus->rec.i2c_id == i2c_bus->i2c_id) { in amdgpu_connector_add()
1619 amdgpu_connector->ddc_bus = amdgpu_i2c_lookup(adev, i2c_bus); in amdgpu_connector_add()
1620 if (amdgpu_connector->ddc_bus) { in amdgpu_connector_add()
1622 ddc = &amdgpu_connector->ddc_bus->adapter; in amdgpu_connector_add()
1716 amdgpu_connector->ddc_bus = amdgpu_i2c_lookup(adev, i2c_bus); in amdgpu_connector_add()
1717 if (!amdgpu_connector->ddc_bus) in amdgpu_connector_add()
1720 ddc = &amdgpu_connector->ddc_bus->adapter; in amdgpu_connector_add()
1741 amdgpu_connector->ddc_bus = amdgpu_i2c_lookup(adev, i2c_bus); in amdgpu_connector_add()
1742 if (!amdgpu_connector->ddc_bus) in amdgpu_connector_add()
1745 ddc = &amdgpu_connector->ddc_bus->adapter; in amdgpu_connector_add()
1771 amdgpu_connector->ddc_bus = amdgpu_i2c_lookup(adev, i2c_bus); in amdgpu_connector_add()
1772 if (!amdgpu_connector->ddc_bus) in amdgpu_connector_add()
1775 ddc = &amdgpu_connector->ddc_bus->adapter; in amdgpu_connector_add()
1827 amdgpu_connector->ddc_bus = amdgpu_i2c_lookup(adev, i2c_bus); in amdgpu_connector_add()
1828 if (!amdgpu_connector->ddc_bus) in amdgpu_connector_add()
1831 ddc = &amdgpu_connector->ddc_bus->adapter; in amdgpu_connector_add()
1875 amdgpu_connector->ddc_bus = amdgpu_i2c_lookup(adev, i2c_bus); in amdgpu_connector_add()
1876 if (amdgpu_connector->ddc_bus) { in amdgpu_connector_add()
1878 ddc = &amdgpu_connector->ddc_bus->adapter; in amdgpu_connector_add()
1923 amdgpu_connector->ddc_bus = amdgpu_i2c_lookup(adev, i2c_bus); in amdgpu_connector_add()
1924 if (amdgpu_connector->ddc_bus) { in amdgpu_connector_add()
1926 ddc = &amdgpu_connector->ddc_bus->adapter; in amdgpu_connector_add()
1949 amdgpu_connector->ddc_bus = amdgpu_i2c_lookup(adev, i2c_bus); in amdgpu_connector_add()
1950 if (!amdgpu_connector->ddc_bus) in amdgpu_connector_add()
1953 ddc = &amdgpu_connector->ddc_bus->adapter; in amdgpu_connector_add()