Home
last modified time | relevance | path

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

/Linux-v5.4/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()
/Linux-v5.4/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 …]
/Linux-v5.4/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.c233 static struct i2c_board_info i2c_info[] = { variable
590 i2c_register_board_info(1, i2c_info, ARRAY_SIZE(i2c_info)); in evm_init_i2c()
Dboard-dm644x-evm.c631 static struct i2c_board_info __initdata i2c_info[] = { variable
684 i2c_register_board_info(1, i2c_info, ARRAY_SIZE(i2c_info)); in evm_init_i2c()
Dboard-dm646x-evm.c437 static struct i2c_board_info __initdata i2c_info[] = { variable
766 i2c_register_board_info(1, i2c_info, ARRAY_SIZE(i2c_info)); in evm_init_i2c()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_ddc.c198 struct graphics_object_i2c_info i2c_info; in construct() local
205 if (BP_RESULT_OK != dcb->funcs->get_i2c_info(dcb, init_data->id, &i2c_info)) { in construct()
208 hw_info.ddc_channel = i2c_info.i2c_line; in construct()
209 hw_info.hw_supported = i2c_info.i2c_hw_assist; in construct()
213 i2c_info.gpio_info.clk_a_register_index, in construct()
214 1 << i2c_info.gpio_info.clk_a_shift, in construct()
/Linux-v5.4/Documentation/i2c/
Dinstantiating-devices.rst136 struct i2c_board_info i2c_info;
140 memset(&i2c_info, 0, sizeof(struct i2c_board_info));
141 strscpy(i2c_info.type, "isp1301_nxp", sizeof(i2c_info.type));
142 isp1301_i2c_client = i2c_new_probed_device(i2c_adap, &i2c_info,
/Linux-v5.4/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()
455 router.i2c_info = in amdgpu_atombios_get_connector_info_from_object_table()
Damdgpu_mode.h494 struct amdgpu_i2c_bus_rec i2c_info; member
Damdgpu_connectors.c1566 amdgpu_connector->router_bus = amdgpu_i2c_lookup(adev, &router->i2c_info); in amdgpu_connector_add()
/Linux-v5.4/arch/arm/mach-pxa/
Dmagician.c899 static struct i2c_pxa_platform_data i2c_info = { variable
1000 pxa_set_i2c_info(&i2c_info); in magician_init()
/Linux-v5.4/drivers/gpu/drm/radeon/
Dradeon_atombios.c140 struct _ATOM_GPIO_I2C_INFO *i2c_info; in radeon_lookup_i2c_gpio() local
148 i2c_info = (struct _ATOM_GPIO_I2C_INFO *)(ctx->bios + data_offset); in radeon_lookup_i2c_gpio()
153 gpio = &i2c_info->asGPIO_Info[0]; in radeon_lookup_i2c_gpio()
176 struct _ATOM_GPIO_I2C_INFO *i2c_info; in radeon_atombios_i2c_init() local
182 i2c_info = (struct _ATOM_GPIO_I2C_INFO *)(ctx->bios + data_offset); in radeon_atombios_i2c_init()
187 gpio = &i2c_info->asGPIO_Info[0]; in radeon_atombios_i2c_init()
732 router.i2c_info = in radeon_get_atom_connector_info_from_object_table()
Dradeon_mode.h514 struct radeon_i2c_bus_rec i2c_info; member
Dradeon_connectors.c1937 radeon_connector->router_bus = radeon_i2c_lookup(rdev, &router->i2c_info); in radeon_add_atom_connector()