Searched refs:i2c_dev (Results 1 - 5 of 5) sorted by relevance

/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);
/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/drivers/i2c/
H A Dsh_i2c.c50 static const struct sh_i2c *i2c_dev[CONFIG_SYS_I2C_SH_NUM_CONTROLLERS] = { variable in typeref:struct:sh_i2c
241 struct sh_i2c *dev = (struct sh_i2c *)i2c_dev[adap->hwadapnr];
258 struct sh_i2c *dev = (struct sh_i2c *)i2c_dev[adap->hwadapnr];
280 struct sh_i2c *dev = (struct sh_i2c *)i2c_dev[adap->hwadapnr];
/u-boot/board/friendlyarm/nanopi2/
H A Donewire.c36 static struct udevice *i2c_dev; variable in typeref:struct:udevice
183 if (dm_i2c_write(i2c_dev, 0, tx, 2))
189 if (dm_i2c_read(i2c_dev, 0, buf, 4))
216 ONEWIRE_I2C_ADDR, 0, &i2c_dev);
/u-boot/board/compulab/imx8mm-cl-iot-gate/
H A Dimx8mm-cl-iot-gate.c166 struct udevice *i2c_bus, *i2c_dev; local
176 &i2c_dev);
183 &i2c_dev);
190 &i2c_dev);
197 &i2c_dev);

Completed in 111 milliseconds