Home
last modified time | relevance | path

Searched refs:i2c_info (Results 1 – 8 of 8) sorted by relevance

/drivers/gpu/drm/amd/display/dc/dce/
Ddce_i2c.c37 struct graphics_object_i2c_info i2c_info; in dce_i2c_oem_device_present() local
45 if (dcb->funcs->get_i2c_info(dcb, id, &i2c_info) != BP_RESULT_OK) in dce_i2c_oem_device_present()
48 if (i2c_info.i2c_slave_address != slave_address) in dce_i2c_oem_device_present()
/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_ddc.c189 struct graphics_object_i2c_info i2c_info; in ddc_service_construct() local
197 dcb->funcs->get_i2c_info(dcb, init_data->id, &i2c_info) != BP_RESULT_OK) { in ddc_service_construct()
201 DC_LOG_DC("BIOS object table - i2c_line: %d", i2c_info.i2c_line); in ddc_service_construct()
202 DC_LOG_DC("BIOS object table - i2c_engine_id: %d", i2c_info.i2c_engine_id); in ddc_service_construct()
204 hw_info.ddc_channel = i2c_info.i2c_line; in ddc_service_construct()
206 hw_info.hw_supported = i2c_info.i2c_hw_assist; in ddc_service_construct()
212 i2c_info.gpio_info.clk_a_register_index, in ddc_service_construct()
213 1 << i2c_info.gpio_info.clk_a_shift, in ddc_service_construct()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atombios.c96 struct _ATOM_GPIO_I2C_INFO *i2c_info; in amdgpu_atombios_lookup_i2c_gpio() local
104 i2c_info = (struct _ATOM_GPIO_I2C_INFO *)(ctx->bios + data_offset); in amdgpu_atombios_lookup_i2c_gpio()
109 gpio = &i2c_info->asGPIO_Info[0]; in amdgpu_atombios_lookup_i2c_gpio()
132 struct _ATOM_GPIO_I2C_INFO *i2c_info; in amdgpu_atombios_i2c_init() local
138 i2c_info = (struct _ATOM_GPIO_I2C_INFO *)(ctx->bios + data_offset); in amdgpu_atombios_i2c_init()
143 gpio = &i2c_info->asGPIO_Info[0]; in amdgpu_atombios_i2c_init()
439 router.i2c_info = in amdgpu_atombios_get_connector_info_from_object_table()
Damdgpu_mode.h486 struct amdgpu_i2c_bus_rec i2c_info; member
Damdgpu_connectors.c1608 amdgpu_connector->router_bus = amdgpu_i2c_lookup(adev, &router->i2c_info); in amdgpu_connector_add()
/drivers/gpu/drm/radeon/
Dradeon_atombios.c134 struct _ATOM_GPIO_I2C_INFO *i2c_info; in radeon_lookup_i2c_gpio() local
142 i2c_info = (struct _ATOM_GPIO_I2C_INFO *)(ctx->bios + data_offset); in radeon_lookup_i2c_gpio()
147 gpio = &i2c_info->asGPIO_Info[0]; in radeon_lookup_i2c_gpio()
170 struct _ATOM_GPIO_I2C_INFO *i2c_info; in radeon_atombios_i2c_init() local
176 i2c_info = (struct _ATOM_GPIO_I2C_INFO *)(ctx->bios + data_offset); in radeon_atombios_i2c_init()
181 gpio = &i2c_info->asGPIO_Info[0]; in radeon_atombios_i2c_init()
716 router.i2c_info = in radeon_get_atom_connector_info_from_object_table()
Dradeon_mode.h493 struct radeon_i2c_bus_rec i2c_info; member
Dradeon_connectors.c1912 radeon_connector->router_bus = radeon_i2c_lookup(rdev, &router->i2c_info); in radeon_add_atom_connector()