Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/platform/intel-mid/device_libs/
Dplatform_tca6416.c21 struct i2c_board_info *i2c_info = info; in tca6416_platform_data() local
26 strcpy(i2c_info->type, TCA6416_NAME); in tca6416_platform_data()
37 i2c_info->irq = intr + INTEL_MID_IRQ_OFFSET; in tca6416_platform_data()
40 i2c_info->irq = -1; in tca6416_platform_data()
Dplatform_max7315.c22 struct i2c_board_info *i2c_info = info; in max7315_platform_data() local
35 strcpy(i2c_info->type, "max7315"); in max7315_platform_data()
53 i2c_info->irq = intr + INTEL_MID_IRQ_OFFSET; in max7315_platform_data()
56 i2c_info->irq = -1; in max7315_platform_data()
Dplatform_pcal9555a.c26 struct i2c_board_info *i2c_info = info; in pcal9555a_platform_data() local
27 char *type = i2c_info->type; in pcal9555a_platform_data()
53 i2c_info->irq = intr + INTEL_MID_IRQ_OFFSET; in pcal9555a_platform_data()
56 i2c_info->irq = -1; in pcal9555a_platform_data()
Dplatform_mpu3050.c15 struct i2c_board_info *i2c_info = info; in mpu3050_platform_data() local
21 i2c_info->irq = intr + INTEL_MID_IRQ_OFFSET; in mpu3050_platform_data()
Dplatform_lis331.c16 struct i2c_board_info *i2c_info = info; in lis331dl_platform_data() local
25 i2c_info->irq = intr + INTEL_MID_IRQ_OFFSET; in lis331dl_platform_data()
Dplatform_emc1403.c17 struct i2c_board_info *i2c_info = info; in emc1403_platform_data() local
26 i2c_info->irq = intr + INTEL_MID_IRQ_OFFSET; in emc1403_platform_data()
/kernel/linux/linux-5.10/arch/x86/platform/intel-mid/
Dsfi.c396 struct i2c_board_info i2c_info; in sfi_handle_i2c_dev() local
399 memset(&i2c_info, 0, sizeof(i2c_info)); in sfi_handle_i2c_dev()
400 strncpy(i2c_info.type, pentry->name, SFI_NAME_LEN); in sfi_handle_i2c_dev()
401 i2c_info.irq = ((pentry->irq == (u8)0xff) ? 0 : pentry->irq); in sfi_handle_i2c_dev()
402 i2c_info.addr = pentry->addr; in sfi_handle_i2c_dev()
405 i2c_info.type, in sfi_handle_i2c_dev()
406 i2c_info.irq, in sfi_handle_i2c_dev()
407 i2c_info.addr); in sfi_handle_i2c_dev()
408 pdata = intel_mid_sfi_get_pdata(dev, &i2c_info); in sfi_handle_i2c_dev()
409 i2c_info.platform_data = pdata; in sfi_handle_i2c_dev()
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-davinci/
Dboard-sffsdr.c87 static struct i2c_board_info __initdata i2c_info[] = { variable
107 i2c_register_board_info(1, i2c_info, ARRAY_SIZE(i2c_info)); in sffsdr_init_i2c()
Dboard-dm365-evm.c235 static struct i2c_board_info i2c_info[] = { variable
605 i2c_register_board_info(1, i2c_info, ARRAY_SIZE(i2c_info)); in evm_init_i2c()
Dboard-dm644x-evm.c632 static struct i2c_board_info __initdata i2c_info[] = { variable
685 i2c_register_board_info(1, i2c_info, ARRAY_SIZE(i2c_info)); in evm_init_i2c()
Dboard-dm646x-evm.c430 static struct i2c_board_info __initdata i2c_info[] = { variable
759 i2c_register_board_info(1, i2c_info, ARRAY_SIZE(i2c_info)); in evm_init_i2c()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_ddc.c182 struct graphics_object_i2c_info i2c_info; in ddc_service_construct() local
189 if (BP_RESULT_OK != dcb->funcs->get_i2c_info(dcb, init_data->id, &i2c_info)) { in ddc_service_construct()
192 hw_info.ddc_channel = i2c_info.i2c_line; in ddc_service_construct()
194 hw_info.hw_supported = i2c_info.i2c_hw_assist; in ddc_service_construct()
200 i2c_info.gpio_info.clk_a_register_index, in ddc_service_construct()
201 1 << i2c_info.gpio_info.clk_a_shift, in ddc_service_construct()
/kernel/linux/linux-5.10/Documentation/i2c/
Dinstantiating-devices.rst147 struct i2c_board_info i2c_info;
151 memset(&i2c_info, 0, sizeof(struct i2c_board_info));
152 strscpy(i2c_info.type, "isp1301_nxp", sizeof(i2c_info.type));
153 isp1301_i2c_client = i2c_new_scanned_device(i2c_adap, &i2c_info,
/kernel/linux/linux-5.10/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.h497 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()
/kernel/linux/linux-5.10/arch/arm/mach-pxa/
Dmagician.c905 static struct i2c_pxa_platform_data i2c_info = { variable
1006 pxa_set_i2c_info(&i2c_info); in magician_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_atombios.c141 struct _ATOM_GPIO_I2C_INFO *i2c_info; in radeon_lookup_i2c_gpio() local
149 i2c_info = (struct _ATOM_GPIO_I2C_INFO *)(ctx->bios + data_offset); in radeon_lookup_i2c_gpio()
154 gpio = &i2c_info->asGPIO_Info[0]; in radeon_lookup_i2c_gpio()
177 struct _ATOM_GPIO_I2C_INFO *i2c_info; in radeon_atombios_i2c_init() local
183 i2c_info = (struct _ATOM_GPIO_I2C_INFO *)(ctx->bios + data_offset); in radeon_atombios_i2c_init()
188 gpio = &i2c_info->asGPIO_Info[0]; in radeon_atombios_i2c_init()
722 router.i2c_info = in radeon_get_atom_connector_info_from_object_table()
Dradeon_mode.h513 struct radeon_i2c_bus_rec i2c_info; member
Dradeon_connectors.c1943 radeon_connector->router_bus = radeon_i2c_lookup(rdev, &router->i2c_info); in radeon_add_atom_connector()