| /Linux-v5.4/arch/x86/platform/intel-mid/device_libs/ |
| D | platform_tca6416.c | 21 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()
|
| D | platform_max7315.c | 22 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()
|
| D | platform_pcal9555a.c | 26 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()
|
| D | platform_mpu3050.c | 15 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()
|
| D | platform_lis331.c | 16 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()
|
| D | platform_emc1403.c | 17 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/ |
| D | sfi.c | 396 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/ |
| D | board-sffsdr.c | 87 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()
|
| D | board-dm365-evm.c | 233 static struct i2c_board_info i2c_info[] = { variable 590 i2c_register_board_info(1, i2c_info, ARRAY_SIZE(i2c_info)); in evm_init_i2c()
|
| D | board-dm644x-evm.c | 631 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()
|
| D | board-dm646x-evm.c | 437 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/ |
| D | dc_link_ddc.c | 198 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/ |
| D | instantiating-devices.rst | 136 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/ |
| 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() 455 router.i2c_info = in amdgpu_atombios_get_connector_info_from_object_table()
|
| D | amdgpu_mode.h | 494 struct amdgpu_i2c_bus_rec i2c_info; member
|
| D | amdgpu_connectors.c | 1566 amdgpu_connector->router_bus = amdgpu_i2c_lookup(adev, &router->i2c_info); in amdgpu_connector_add()
|
| /Linux-v5.4/arch/arm/mach-pxa/ |
| D | magician.c | 899 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/ |
| D | radeon_atombios.c | 140 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()
|
| D | radeon_mode.h | 514 struct radeon_i2c_bus_rec i2c_info; member
|
| D | radeon_connectors.c | 1937 radeon_connector->router_bus = radeon_i2c_lookup(rdev, &router->i2c_info); in radeon_add_atom_connector()
|