Searched refs:i2c_dev (Results 1 - 5 of 5) sorted by last modified time

/u-boot/drivers/i2c/
H A Dsh_i2c.c49 static const struct sh_i2c *i2c_dev[CONFIG_SYS_I2C_SH_NUM_CONTROLLERS] = { variable in typeref:struct:sh_i2c
240 struct sh_i2c *dev = (struct sh_i2c *)i2c_dev[adap->hwadapnr];
257 struct sh_i2c *dev = (struct sh_i2c *)i2c_dev[adap->hwadapnr];
279 struct sh_i2c *dev = (struct sh_i2c *)i2c_dev[adap->hwadapnr];
/u-boot/board/toradex/verdin-imx8mm/
H A Dverdin-imx8mm.c58 struct udevice *i2c_dev = NULL; local
64 ret = dm_i2c_probe(bus, 0x4b, 0, &i2c_dev);
66 ret = dm_i2c_read(i2c_dev, 0x0, &is_bd71837, 1);
/u-boot/board/friendlyarm/nanopi2/
H A Donewire.c35 static struct udevice *i2c_dev; variable in typeref:struct:udevice
182 if (dm_i2c_write(i2c_dev, 0, tx, 2))
188 if (dm_i2c_read(i2c_dev, 0, buf, 4))
215 ONEWIRE_I2C_ADDR, 0, &i2c_dev);
/u-boot/board/compulab/imx8mm-cl-iot-gate/
H A Dimx8mm-cl-iot-gate.c165 struct udevice *i2c_bus, *i2c_dev; local
175 &i2c_dev);
182 &i2c_dev);
189 &i2c_dev);
196 &i2c_dev);
/u-boot/board/siemens/common/
H A Deeprom.c13 static struct udevice *i2c_dev; variable in typeref:struct:udevice
27 ret = dm_i2c_probe(bus, SIEMENS_EE_I2C_ADDR, 0, &i2c_dev);
30 if (i2c_set_chip_offset_len(i2c_dev, 2))
48 return dm_i2c_read(i2c_dev, address, buffer, len);

Completed in 57 milliseconds