Searched refs:i2c_info (Results 1 – 8 of 8) sorted by relevance
/openbsd/sys/dev/pci/drm/amd/display/dc/dce/ |
H A D | dce_i2c.c | 37 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()
|
/openbsd/sys/dev/pci/drm/amd/display/dc/link/protocols/ |
H A D | link_ddc.c | 117 struct graphics_object_i2c_info i2c_info; in ddc_service_construct() local 125 dcb->funcs->get_i2c_info(dcb, init_data->id, &i2c_info) != BP_RESULT_OK) { in ddc_service_construct() 129 DC_LOG_DC("BIOS object table - i2c_line: %d", i2c_info.i2c_line); in ddc_service_construct() 130 DC_LOG_DC("BIOS object table - i2c_engine_id: %d", i2c_info.i2c_engine_id); in ddc_service_construct() 132 hw_info.ddc_channel = i2c_info.i2c_line; in ddc_service_construct() 134 hw_info.hw_supported = i2c_info.i2c_hw_assist; in ddc_service_construct() 140 i2c_info.gpio_info.clk_a_register_index, in ddc_service_construct() 141 1 << i2c_info.gpio_info.clk_a_shift, in ddc_service_construct()
|
/openbsd/sys/dev/pci/drm/amd/amdgpu/ |
H A D | amdgpu_atombios.c | 96 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()
|
H A D | amdgpu_mode.h | 488 struct amdgpu_i2c_bus_rec i2c_info; member
|
H A D | amdgpu_connectors.c | 1648 amdgpu_connector->router_bus = amdgpu_i2c_lookup(adev, &router->i2c_info); in amdgpu_connector_add()
|
/openbsd/sys/dev/pci/drm/radeon/ |
H A D | radeon_atombios.c | 134 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() 720 router.i2c_info = in radeon_get_atom_connector_info_from_object_table()
|
H A D | radeon_mode.h | 489 struct radeon_i2c_bus_rec i2c_info; member
|
H A D | radeon_connectors.c | 1909 radeon_connector->router_bus = radeon_i2c_lookup(rdev, &router->i2c_info); in radeon_add_atom_connector()
|